Bulk Token Retrieval Failed (AADSTS90092)
Learn how to fix the AADSTS90092 error when attempting to bulk retrieve tokens from Azure Active Directory.
In rare circumstances your tenant may be missing important components to enable token creation when creating a package file for use in PowerSyncPro Migration Agent.
You will likely be changing the join state of your Windows devices when using Windows Imaging and Configuration Designer (WICD).
The errors can be
“Bulk Token Retrieval Failed”
"AADSTS90092: Non-retryable error has occurred"
To fix this, you may need to create a Service Principal called Microsoft.Azure.SyncFabric.
Check to see if it exists:-
Get-AzureADServicePrincipal | Where-Object {$_.AppId -eq "00000014-0000-0000-c000-000000000000"}
Use this cmdlet to create it:
New-AzureADServicePrincipal -AccountEnabled $true -AppId 00000014-0000-0000-c000-000000000000 -AppRoleAssignmentRequired $False -DisplayName Microsoft.Azure.SyncFabric -Tags {WindowsAzureActiveDirectoryIntegratedApp}
In some rare circumstances you may need to delete and re-create the service principal, so try that too.