I am trying to configure a SAML Integration with Azure AD B2C. I get AuthRequest has no assertion consumer service URL specified in metadata

Srinivas Mukund Chavali 6 Reputation points
2022-09-12T16:26:28.127+00:00

AADB2C99049: Application registered corresponding to IssuerUri "redacted*" in AuthRequest has no assertion consumer service URL specified in its metadata.
Any help, On which end configuration is needed . SP or IDP

Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,853 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,469 questions
{count} vote

1 answer

Sort by: Most helpful
  1. Akshay-MSFT 17,781 Reputation points Microsoft Employee
    2022-09-15T05:59:59.783+00:00

    Hello @Srinivas Mukund Chavali ,

    Thanks for posting your query on Q&A platform. I was able to review the error "AuthRequest has no assertion consumer service URL specified in metadata". Since the Auth request is missing the consumer service URL, we must define the Service provider/application meta data:

    • In the application manifest please ensure that SAML metadata URL is defined :

    241334-image.png

    • Once validated please ensure that ACS URL is defined in the metadata:

    241341-image.png

    -But if we don't have metadata URL then we need to Override or set the assertion consumer URL https://learn.microsoft.com/en-us/azure/active-directory-b2c/saml-service-provider?tabs=windows&pivots=b2c-custom-policy#override-or-set-the-assertion-consumer-url-optional

    Within SAML Application Manifest, you'd set the url property of replyUrlsWithType to the ASC URL as shown in the following JSON Example:

    "replyUrlsWithType":[
    {
    "url":"https://samltestapp2.azurewebsites.net/SP/AssertionConsumer",
    "type":"Web"
    }
    ],

    Thanks,
    Akshay Kaushik

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.


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.