Forum Discussion
BH_PTR
May 16, 2023Copper Contributor
Windows 365 Administrator built-in role getting 401 unauthorized when enrolling devices
I'm trying to enroll new devices using the get-windowsautopilotinfo script. For this task, I'm trying to use a user assigned with the built-in role "Windows 365 Administrator", which is a new role. ...
BH_PTR
Jun 05, 2023Copper Contributor
Managed to get an official answer from intune support..
get-windowsautopilotonline calls on other Intune workflows in the backend, which is not broken down into specific role actions. Only intune admin and global admin can access said workflows.
"microsoft.directory/devices/create - Create devices (enroll in Azure AD)" is not the same as enrolling devices in autopilot.
get-windowsautopilotonline calls on other Intune workflows in the backend, which is not broken down into specific role actions. Only intune admin and global admin can access said workflows.
"microsoft.directory/devices/create - Create devices (enroll in Azure AD)" is not the same as enrolling devices in autopilot.