Error AADSTS750054 - SAMLRequest or SAMLResponse must be present as query string parameters in HTTP request for SAML Redirect binding
This article describes a problem in which you receive the error message "Error AADSTS750054 - SAMLRequest or SAMLResponse must be present as query string parameters in HTTP request for SAML Redirect binding." when trying to sign into a SAML-based single sign-on (SSO) configured app that has been integrated with Microsoft Entra ID.
Symptoms
You receive error AADSTS750054
when trying to sign into an application that has been setup to use Microsoft Entra ID for identity management using SAML-based SSO.
Cause
Microsoft Entra ID wasn't able to identify the SAML request within the URL parameters in the HTTP request. This can happen if the application is not using HTTP redirect binding when sending the SAML request to Microsoft Entra ID.
Resolution
The application needs to send the SAML request encoded into the location header using HTTP redirect binding. For more information about how to implement it, read the section HTTP Redirect Binding in the SAML protocol specification document.
Most often, the error is due to one of the following issues:
- Ensure that single-sign on is enabled on the application side.
- The application must support service provider-initiated single sign-on (sometimes known as SP-initiated SSO). When entering a sign-in URL for an application that only supports identity provider-initiated single sign-on can lead to a bounce back from the application without a SAML response.
- Verify that the sign-on URL is correctly configured.
Using the Test SSO Function in the Microsoft Entra admin center
The Microsoft Entra admin center can help you troubleshoot SAML configuration errors.
- In the Microsoft Entra admin center, go to Enterprise Applications and click on the application needing troubleshooting.
- Navigate to the Single sign-on page using the left-hand navigation menu
- Click on Test this application to use the Test SSO functionality.
- Copy and paste the error received into the Resolving Errors section and click Get resolution guidance
- Follow the steps to troubleshoot error
AADSTS750054
More Information
For a full list of Active Directory Authentication and authorization error codes see Microsoft Entra authentication and authorization error codes
Contact us for help
If you have questions or need help, create a support request, or ask Azure community support. You can also submit product feedback to Azure feedback community.