integrate desktop app with SAML SSO

Paul R 1 Reputation point
2022-11-04T18:36:55.09+00:00

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 login.microsoftonline.com 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
    2022-11-09T03:21:56.387+00:00

    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.

    Reference: https://learn.microsoft.com/en-us/troubleshoot/azure/active-directory/error-code-aadsts750054-saml-request-not-present

    Thanks,
    Shweta

    ----------------------------------------

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