How to retrieve Authentication Method Reference (amr claim) from IDP using B2C custom policy?

Aditya Gour (NAV India) 80 Reputation points
2024-08-02T12:58:47.75+00:00

I am using SAML authentication to connect to Azure Entra ID from Azure B2C with a custom policy. I receive authnmethodsreferences as an output from Entra, but I'm unable to obtain it in the ID token I receive from B2C.

User's image

Can someone please guide me on how to retrieve this additional claim from the B2C token?

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

1 answer

Sort by: Most helpful
  1. Shweta Mathur 30,261 Reputation points Microsoft Employee
    2024-08-05T08:36:30.13+00:00

    Hi Aditya Gour (NAV India)

    Azure AD B2C doesn’t issue an amr claim like Azure AD does. You need to output this claim at the relevant technical profiles based on your orchestration step and then in the relying party section using a custom policy to get this claim in ID token.

    Hope this will help.

    Thanks,

    Shweta

    0 comments No comments

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.