A cloud-based identity and access management service for securing user authentication and resource access
Conditional Access and Online Device registration error
We're using the Get-WindowsAutopilotInfo.ps1 script with the -Online switch to register our Entra Joined Devices, and the process is being blocked by Conditional Access.
The sign-in logs point to Microsoft Graph Command Line Tools (App ID: 14d82eec-204b-4c2f-b7e8-296a70dab67e) as the blocker. Microsoft Support suggested whitelisting several apps, but unfortunately, that hasn’t resolved the issue—likely because the device doesn’t have the compliant state during online registration.
We’re currently evaluating whether a dedicated service account with scoped permissions for Autopilot enrollment might be a solution.
Would be great to hear if anyone else has found a reliable solution to manage Device registration with Conditional Access.