integrate desktop app with SAML SSO

Paul R 1 Reputation point

Hi, I am working to add Azure SSO (SAML) to our desktop application. is there any documentation on how to do this? I have a lot of code put together already, that I thought would work, but the SAML assertion to always returns a 400 error with AADSTS750054: SAMLRequest or SAMLResponse must be present as query string parameters in HTTP request for SAML Redirect binding.

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,966 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,147 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Shweta Mathur 28,846 Reputation points Microsoft Employee

    Hi @Paul R ,

    Thanks for reaching out and apologies for delayed response.

    In this case Azure AD 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 Azure AD.

    The application needs to send the SAML request encoded into the location header using HTTP redirect binding. You need to make sure that the properties mapping is correct.




    Please remember to "Accept Answer" if answer helped you.