You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/active-directory-b2c/phone-factor-technical-profile.md
+11-16Lines changed: 11 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,14 +45,11 @@ The following example shows a phone factor technical profile for enrollment and
45
45
46
46
The InputClaims element must contain following claims. You can also map the name of your claim to the name defined in the phone factor technical profile.
47
47
48
-
```XML
49
-
<InputClaims>
50
-
<!--A unique identifier of the user. The partner claim type must be set to `UserId`. -->
<!--A claim that contains the phone number. If the claim is empty, Azure AD B2C asks the user to enroll a new phone number. Otherwise, it asks the user to verify the phone number. -->
| string| Yes | A unique identifier of the user. The claim name, or PartnerClaimType must be set to `UserId`.|
51
+
| string| Yes | List of claim types that store a phone number. If the input claims' value are empty, Azure AD B2C asks the user to type and verify a phone number. Otherwise, Azure AD B2C presents the phone number, asking the user to verify it. In case of multiple input claims, the user is asked to choose and verify one of them. |
52
+
56
53
57
54
The following example demonstrates using multiple phone numbers. For more information, see [sample policy](https://github.com/azure-ad-b2c/samples/tree/master/policies/mfa-add-secondarymfa).
58
55
@@ -70,14 +67,10 @@ The InputClaimsTransformations element may contain a collection of InputClaimsTr
70
67
71
68
The OutputClaims element contains a list of claims returned by the phone factor technical profile.
72
69
73
-
```xml
74
-
<OutputClaims>
75
-
<!-- The verified phone number. The partner claim type must be set to `Verified.OfficePhone`. -->
| boolean | Yes | Indicates whether the new phone number has been entered by the user. The claim name, or PartnerClaimType must be set to `newPhoneNumberEntered`|
73
+
| string| Yes | The verified phone number. The claim name, or PartnerClaimType must be set to `Verified.OfficePhone`.|
81
74
82
75
The OutputClaimsTransformations element may contain a collection of OutputClaimsTransformation elements that are used to modify the output claims or generate new ones.
83
76
@@ -92,6 +85,8 @@ The **CryptographicKeys** element is not used.
92
85
| --------- | -------- | ----------- |
93
86
| ContentDefinitionReferenceId | Yes | The identifier of the [content definition](contentdefinitions.md) associated with this technical profile. |
94
87
| ManualPhoneNumberEntryAllowed| No | Specify whether or not a user is allowed to manually enter a phone number. Possible values: `true` or `false` (default).|
88
+
| setting.authenticationMode | No | The method to validate the phone number. Possible values: `sms`, `phone` or `mixed` (default).|
89
+
| setting.autodial| No| Specify whether the technical profile should auto dial or auto send an SMS. Possible values: `true` or `false` (default). Auto dial requires the `setting.authenticationMode` metadata be set to `sms`, or `phone`. The input claims collection must have a single phone number. |
0 commit comments