microsoftgraph / powershell-intune-samples

This repository of PowerShell sample scripts show how to access Intune service resources. They demonstrate this by making HTTPS RESTful API requests to the Microsoft Graph API from PowerShell.
MIT License
1.37k stars 658 forks source link

DeviceConfiguration_Export.ps1 doen't export anything at all #191

Open diegopozzi1 opened 3 years ago

diegopozzi1 commented 3 years ago

Hi, I'm trying to export my MEM policy, unfortunately it doesn't export anything at all. What I'm doing wrong? when grants where asked for the first time I've flagged "consent on behalf ..."

How I could check the grant and verify that are fine? someone else has the same problem I'm having?

diegopozzi1 commented 3 years ago

Using the script found in comments here https://deviceadvice.io/2019/07/12/export-import-your-intune-tenant-settings/ I can at least download the UpdateRings but with the latest version it doesn't export anything at all

intune export