Introduction
It may happen that you are unable to log into Workspace 365 due to an issue with the Redirect URI. In this article, we explain how to resolve this issue.
Error Message
When logging into Workspace, you may receive the error message: "Sorry, but we're having trouble signing you in."
This error indicates that the reply URL (Redirect URI) and the URL present in the Workspace SSO App registration in Microsoft Entra ID (formerly Azure AD) do not match.
This error can occur when, for example, a change has been made to the domain name or when a custom URL has been requested for your Workspace environment.
Solution
To resolve the issue, ensure that the Redirect URI (Reply URL) registered with the Workspace SSO App registration matches the one in the authentication request:
Log in to the Azure portal with the Global Administrator account.
Go to 'App Registrations' and select the relevant Workspace SSO App registration.
Click 'Authentication' on the left-hand side.
Click 'Add URI' and add the correct URL. For example: 'https://customname.domainname.net/environmentname/OAuth2/HandleAuthorityResponse'
Click 'Save.'
Log back into your Workspace environment.