Client doesn’t use InTune, so not using the DEM account method which needs InTune and a license. Just want to connect the PC to Azure so they can login with their 365 accounts like we do manually on their new PCs. Seems to be unclear documentation. Trying the oauth method with a GA account (we’re just trialing atm), give consent successfully, but this error happens:
Join AzureAD
Action: Enforce
Reason: Non-CompliantResult: Non-CompliantResult Message: Global script ‘Configure AzureAD’ had a terminating error when run in Set mode While processing Unable to retrieve BPRT Exception: Line | 237 | throw ($bulkaadjtokenresponsedata | fl * | Out-String) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | error : unauthorized_client error_description : AADSTS650051: Invalid version. Trace ID: 4021ef1a-5ce4-4913-866a-892bfd5c2100 Correlation ID: 9212e888-4def-49e0-8014-23954bac0413 Timestamp: 2025-04-09 04:14:18Z error_codes : {650051} timestamp : 2025-04-09 04:14:18Z trace_id : 4021ef1a-5ce4-4913-866a-892bfd5c2100 correlation_id : 9212e888-4def-49e0-8014-23954bac0413 Invoke-RestMethod: Line | 50 | … obContent = Invoke-RestMethod -Uri $SasUri -Headers @{'x-ms-blob-type … | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | BlobNotFoundThe specified blob does not exist. RequestId:6628f4cb-b01e-0054-1505-a90d24000000 Time:2025-04-09T04:14:16.4779282Z Unable to retrieve BPRT Exception: Line | 237 | throw ($bulkaadjtokenresponsedata | fl * | Out-String) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | error : unauthorized_client error_description : AADSTS650051: Invalid version. Trace ID: 4021ef1a-5ce4-4913-866a-892bfd5c2100 Correlation ID: 9212e888-4def-49e0-8014-23954bac0413 Timestamp: 2025-04-09 04:14:18Z error_codes : {650051} timestamp : 2025-04-09 04:14:18Z trace_id : 4021ef1a-5ce4-4913-866a-892bfd5c2100 correlation_id : 9212e888-4def-49e0-8014-23954bac0413 Invoke-RestMethod: Line | 50 | … obContent = Invoke-RestMethod -Uri $SasUri -Headers @{'x-ms-blob-type … | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | BlobNotFoundThe specified blob does not exist. RequestId:6628f4cb-b01e-0054-1505-a90d24000000 Time:2025-04-09T04:14:16.4779282Z
any ideas?