How to export Intune Data via powershell

Question

Hi how would you export all devices in a CSV file for devices in Intune?

I’m looking to automate a export report.

SCCM we could use their cmdlets but Intune does’nt seem to have any.

Has anyone created any scripts for exporting devices and their info using graph api?

in progress 0
BobbyM 4 days 2022-01-14T22:43:08+05:30 1 Answer 3 views Beginner 0

Answer ( 1 )

  1. You have better options with Intune like Graph API to export all these records?

    https://graph.microsoft.com/beta/deviceManagement/reports/exportJobs

    When making the request, you must provide a reportName parameter as part of the request body based on the report that you would like to export. Below is an example of an export request for the Devices report. You must use the POST HTTP method on your request. The POST method is used to create a new resource or perform an action.

    You can also try to analyze https://howtomanagedevices.com/intune/1330/take-backup-intune-settings/

Leave an answer

Sorry, you do not have a permission to answer to this question .