Failed to register in SAML ToolKit for Azure AD

Ben L 5 Reputation points
2024-08-12T16:36:41.8533333+00:00

I try to register a new user account in SAML toolkit for Azure AD (https://samltoolkit.azurewebsites.net/Account/Register) for learning purpose. Website always respond 'An error occurred while processing your request' Do anyone have any idea ?

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,365 questions
{count} vote

2 answers

Sort by: Most helpful
  1. James Hamil 24,311 Reputation points Microsoft Employee
    2024-08-12T20:18:11.2433333+00:00

    Hi @Ben L , have you seen this thread? The solutions there may help you!

    Please let me know if you have any questions and I can help you further.

    Best,

    James


  2. Raja Pothuraju 5,255 Reputation points Microsoft Vendor
    2024-08-27T12:56:09.0566667+00:00

    Hello @Ben L,

    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.


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.