Knowledge Base

Unable to Retrieve Realms for Exchange Online or SharePoint Online OAuth

  • 28 March 2023
  • 0 replies

Badge +1


When running through the registration wizard for SharePoint Online or the feature activation for Exchange online, the OAuth redirect to set up relying parties in K2 Trust gets stuck trying to retrieve the realms for your environment. This page never redirects the user for a successful authentication.


This issue is caused by bad Environment Library values. Review the values in your default environment to make sure all values are valid. Examples of some issues to look out for: - The incorrect slash being used in URLS (i.e. \ instead of /) - Ports being included when they should not (i.e.

0 replies

Be the first to reply!