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 Security | Microsoft Entra | Microsoft Entra External ID
0 comments No comments
{count} votes

Answer accepted by question author
  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' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.