Auth0 Home Blog Docs

O365 SSO with Google - Getting AADSTS50107 error


#1

My problem refers to:

After debugging the rules, now I have it working except that only the function connectWithUser() cannot work, which actually redirects the user to the login page of Office 365 at:
https://login.microsoftonline.com/login.srf
with error message like:
“AADSTS50107: Requested federation realm object ‘urn:XXXXX’ does not exist.”

having conducted some searches on the web, it seems that, to login with “wsfed” protocol, the Office 365 domain has to be “federated”, which must be configured with Azure AD Connect, and some configurations are to be set up by using PowerShell.

any workaround if there is no on-premises AD synced with Azure AD?


O365 SSO with Google - Getting AADSTS20001 error