SSO with AWS Cognito Not Working

Matt 0 Reputation points
2024-08-22T20:40:02.2933333+00:00

We are trying to set up SSO with Microsoft on our AWS with Amplify and it is not letting any account sign in. We have it set up to accept any account type (personal and organizational). We are getting the following error code: "Selected user account does not exist in tenant ‘…’ and cannot access the application ‘…’ in that tenant. The account needs to be added as an external user in the tenant first. Please use a different account."

We have it set up as a singled page application set up with a client ID and secret and it is being redirected back to Cognito hosted UI. For Cognito we have it connected to the Microsoft SSO added as an identity provider.

Microsoft Security | Microsoft Entra | Microsoft Entra ID
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.