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

Code Bit 86 Reputation points
2021-08-21T01:56:48.853+00:00

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 jwt.ms 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,947 questions
0 comments No comments
{count} votes

Accepted answer
  1. Hazem Elshabini 86 Reputation points
    2021-09-27T14:03:31.977+00:00

    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

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.