HTTP 500 on MS Entra SAML Toolkit Sample Application

Arthur Galdino 20 Reputation points
2024-09-22T20:34:41.7666667+00:00

Hello! I'm following a course on Coursera about Identity and Access Solutions using Azure AD. In a given moment they show how to setup and test Single Sing On through Azure AD SAML Toolkit (now Microsoft Entra SAML Toolkit). I followed the steps, created an user, added it to the Enterprise Application MS Entra SAML Toolkit, but when trying to register with its email to the sample application (https://samltoolkit.azurewebsites.net)I receive an HTTP 500:

User's image

Is it a general issue or is there something I can possibly be doing wrong to cause this?

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,904 questions
0 comments No comments
{count} votes

Accepted answer
  1. Raja Pothuraju 6,825 Reputation points Microsoft Vendor
    2024-09-25T10:22:32.7966667+00:00

    Hello @Arthur Galdino,

    Thank you for posting your query on Microsoft Q&A.

    It appears you are trying to configure the SAML Toolkit tutorial application in your tenant to test the SP-initiated sign-on flow by following the document below:

    Microsoft Entra SAML Toolkit SSO Configuration

    When attempting to register a new user, you encountered an error message: "An error occurred while processing your request." I've attached a screenshot for reference.

    User's image

    I attempted to create the same application in my tenant to determine whether the issue lies with the application or the configuration. I found that the problem is with the application itself. The SAML configuration option, which should be available on the registration page, is missing.

    Configure Microsoft Entra SSOMicrosoft Entra SAML Toolkit SAML Configuration

    As per the document, we need to configure SAML on the registration page by pasting the Entra URLs on the application side. However, since the SAML configuration option is currently unavailable, the error occurs.

    I've informed my internal team to investigate this issue, but it may take a few days to resolve. In the meantime, to test SAML SSO with SP-initiated sign-on, I recommend using another sample test application.

    Here are the steps to configure an alternative test application while the SAML Toolkit issue is being addressed:

    Create a non-gallery application in Enterprise applications and give it a name.

    User's image

    Once the application is created, go to Single Sign-On, select SAML, and enter the following URLs in the Entity ID and Reply URL fields:

    User's image

    After saving, download the Federation Metadata XML from the SAML certificates section and save it to your local device. This XML file will need to be uploaded on the application side.

    Once the above steps are completed, open a new tab and access https://sptest.iamshowcase.com/. Click on "Instructions" and select "SP Initiated SSO."

    User's image

    Upload the XML metadata file by clicking on "Choose File" and submit it.

    User's image

    Next, go back to your Enterprise applications, select the application, and click on "Test this application." You should now be able to authenticate with the application and receive the decoded SAML response after authentication is complete.

    This is how you can be able to test the SP initiated sign on flow.

    Note: This is a third-party test application.

    Hope this includes all the information that you were looking for.

    Thanks,
    Raja Pothuraju.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.