Share via

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 Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments

1 answer

Sort by: Most helpful
  1. Shweta Mathur 30,456 Reputation points Microsoft Employee Moderator
    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

    Was this answer helpful?

    0 comments No comments

Your answer

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