MFA phone number does not appears in token claims after sign up

Code Bit 81 Reputation points

i have applied the MFA on sign up using custom policies following this MFA using custom policy,
MFA working fine,

i have added following claim in relying party

<OutputClaim ClaimTypeReferenceId="strongAuthenticationPhoneNumber" />
<OutputClaim ClaimTypeReferenceId="strongAuthenticationPhoneNumber" PartnerClaimType="phone_number" />

but i am not getting strongAuthenticationPhoneNumber as claim after sign up, but when i sign in with this created account it shows in the claims.
i want to have strongAuthenticationPhoneNumber in claims immediately after sign up.
i am using for quick viewing of claims

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,685 questions
0 comments No comments
{count} votes

Accepted answer
  1. Hazem Elshabini 86 Reputation points

    During signup, the phone number can be found in the claims reference "Verified.stringAuthenticationPhoneNumber".

    Therefore you can also add this output claim in addition to the one you already have:

    <OutputClaim ClaimTypeReferenceId="Verified.strongAuthenticationPhoneNumber" />
    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful