I am trying to integrate Azure AD with local SharePoint 2013 on premise server. I have followed steps given in below URL.

Tutorial: Azure Active Directory integration with SharePoint on-premises

After completing all steps when I visit my local SharePoint site URL it redirects me on login.microsoftonline.com but gives shown error:

enter image description here

Error text:

Sign in

Sorry, but we’re having trouble signing you in.

AADSTS750054: SAMLRequest or SAMLResponse must be present as query string parameters in HTTP request for SAML Redirect binding.

Please let me know if any other steps needs to be followed along with this tutorial.


Azure AD wasn’t able to identify the SAML request within the URL parameters in the HTTP request.

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 https://docs.oasis-open.org/security/saml/v2.0/saml-bindings-2.0-os.pdf (page 15)

| improve this answer | |

We experienced the same issue, we changed our ProviderUri on the SharePoint to:


We also had to add the SSO certificate into the trusted root of the app and front end server.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.