MSEndpointMgr/Intune

Upload-WindowsAutoPilotInfo - There is still a login prompt when using App ID and Secret

Opened this issue · 0 comments

I have set up an App Registration and have added the following permissions:
Group.ReadWrite.All
Device.ReadWrite.All
DeviceManagementManagedDevices.ReadWrite.All
DeviceManagementServiceConfig.ReadWrite.All
GroupMember.ReadWrite.All

When I use this app with the script, it still prompts for me to sign in before the hash is uploaded. Is there a way around this?
Thanks