Error message
This is caused when admin consent is not granted on API permissions for the SSO app registration.
Solution
Go to Azure and grant admin consent on all API permissions of the SSO app registration. Click here for detailed steps.
Log in to the Azure portal with your Global Administrator account.
Navigate to 'App Registrations' and select the corresponding Workspace SSO App registration.
Click on 'API permissions' on the left side.
Ensure that all required API permissions are added.
Click the 'Grant admin consent for [Your Organization]' button at the top of the page.
Confirm the action.
Log back into your Workspace environment to check if the issue is resolved.