Open dominiquestabile opened 3 months ago
Hello,
I can't find any restriction on the API. The application permissions should be supported.
Anything else in the logs? Can you see that you have DeviceManagementServiceConfig.ReadWrite.All in the list of permissions?
Cheers!
Hello Micke, Thanks for your reply. Nothing else in the logs. And yes the permission is there:
Thanks for your help.
Hello Micke,
Thank again for your wonderfull tool :)
I'm getting the following error when I run an import with 'Enrollment Restrictions objects' in any import mode (skipIfExist, alwaysImport, update or replace) With a service principal and secret.
If I login interactively through the GUI, it works perfectly. I compared the API permissions and I have only three differences 'openid, profile, email ' which are only available as delegated permissions and not as application permissions. Besides the API permissions, I also compared the permissions bewteen my global admin user and the service principal, they have the same roles: global reader, global administrator, security administrator, exchange administrator and intune administrator. Any idea or suggestions ? Thanks a lot for your help.
BR
Dominique