'Store "mobilePhone" in contact info during registration - Azure AD B2C Custom policy + MFA
How to store mobile Phone Number during SignUp/Registration with MFA in Azure AD B2C Custom Policies. What is the claim name that we can use to refer to mobile Phone
Solution 1:[1]
You can access and store a mobile phone by using the "mobile" attribute here.
To actually implement this you would need to follow the steps in this document. For example, the linked code adds a "city" claim, you would need to replace "city" with "mobile"
<!--
<BuildingBlocks>
<ClaimsSchema> -->
<ClaimType Id="mobile">
<DisplayName>Mobile Phone</DisplayName>
<DataType>string</DataType>
<UserInputType>TextBox</UserInputType>
</ClaimType>
<!--
</ClaimsSchema>
</BuildingBlocks>-->
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | James_Hamil-MSFT |
