Join AzureAD Task randomly stopped working

Has anyone got a soultion for the below, We are using OAUTH and can’t use a DEM user due to the MFA and CA requirmenets within the tenant.

Already tired reconsenting and removing the immybot enterprise app and readding it.

Global script ‘Configure AzureAD’ had a terminating error when run in Set mode

Unable to retrieve BPRT
Exception:
Line |
261 | throw ($bulkaadjtokenresponsedata | fl * | Out-String)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
error : invalid_grant
error_description : AADSTS90093: {“odata.error”:{“code”:“Authorization_RequestDenied”,“message”:{“lang”:“en”,“value”:“Insufficient privileges to complete the operation.”},“requestId”:“47f535d1-cc9d-4b39-92ac-6b855c6xxxxx”,“date”:“2026-02-06T02:46:30”}} Trace ID: 5b77ff0e-a84e-4efd-a82b-0ac9d8b31900 Correlation ID: d7fc36df-7a93-4270-b8e1-94753e2008c3 Timestamp: 2026-02-06 02:46:30Z
error_codes : {90093}
timestamp : 2026-02-06 02:46:30Z
trace_id : 5b77ff0e-a84e-4efd-a82b-0ac9d8b31900
correlation_id : d7fc36df-7a93-4270-b8e1-94753e2008c3
tenant_id : c9c74fb8-81a8-4844-83c3-xxxxxxxxxxxx

1 Like