Azure SAML AWS Cognito 404

Sam 1 Reputation point

I am integrating AWS Cognito and Azure enterprise application with saml single sign-on using the instructions in this link:

The problem I am having is when I navigate from the Cognito hosted ui to Azure, if I am not logged in on the Azure side, I get a 404 on this page:

As a comparison, if I am already logged in on the Azure side, it works fine and I get authenticated. Why would it return a 404?

This stackoverflow points to the same issue, but there is no solution apart from switching to OIDC which is not an option for us:

Anyone have any suggestions?


Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,418 questions
{count} votes

1 answer

Sort by: Most helpful
  1. James Hamil 21,546 Reputation points Microsoft Employee

    Hi Sam! It would be your account domain address for Azure. It would be helpful to know all of your domains in use (for example, Personal account for AWS, AAD account for Azure, etc)

    Microsoft Account - would be like @microsoft
    Personal - would be like @réalisations .com
    AAD - would be like

    Hope this helps!

    0 comments No comments