Skip to content

Commit 22ffe24

Browse files
authored
Merge pull request #107302 from yoelhor/patch-20
Update user-flow-disable-email-verification.md
2 parents 3215241 + 7ef7bb1 commit 22ffe24

File tree

4 files changed

+81
-7
lines changed

4 files changed

+81
-7
lines changed

articles/active-directory-b2c/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,8 @@
187187
- name: Custom email
188188
href: custom-email.md
189189
displayName: verification
190+
- name: Disable email verification
191+
href: custom-policy-disable-email-verification.md
190192
- name: Enable JavaScript
191193
href: javascript-samples.md
192194
- name: Password complexity
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
---
2+
title: Disable email verification during customer sign-up with a custom policy
3+
titleSuffix: Azure AD B2C
4+
description: Learn how to disable email verification during customer sign-up in Azure Active Directory B2C.
5+
services: active-directory-b2c
6+
author: msmimart
7+
manager: celestedg
8+
9+
ms.service: active-directory
10+
ms.workload: identity
11+
ms.topic: conceptual
12+
ms.date: 03/11/2020
13+
ms.author: mimart
14+
ms.subservice: B2C
15+
---
16+
17+
# Disable email verification during customer sign-up using a custom policy in Azure Active Directory B2C
18+
19+
[!INCLUDE [disable email verification intro](../../includes/active-directory-b2c-disable-email-verification.md)]
20+
21+
## Prerequisites
22+
23+
Complete the steps in [Get started with custom policies](custom-policy-get-started.md). You should have a working custom policy for sign-up and sign-in with social and local accounts.
24+
25+
## Add the metadata to the self-asserted technical profile
26+
27+
The **LocalAccountSignUpWithLogonEmail** technical profile is a [self-asserted](self-asserted-technical-profile.md), which is invoked during the sign-up flow. To disable the email verification, set the `EnforceEmailVerification` metadata to false. Override the LocalAccountSignUpWithLogonEmail technical profiles in the extension file. Find the `ClaimsProviders` element. Add the following claims provider to the `ClaimsProviders` element:
28+
29+
30+
```XML
31+
<ClaimsProvider>
32+
<DisplayName>Local Account</DisplayName>
33+
<TechnicalProfiles>
34+
<TechnicalProfile Id="SelfAsserted-LocalAccountSignin-Email">
35+
<Metadata>
36+
<Item Key="EnforceEmailVerification">false</Item>
37+
</Metadata>
38+
</TechnicalProfile>
39+
</TechnicalProfiles>
40+
</ClaimsProvider>
41+
```
42+
43+
## Test the custom policy
44+
45+
1. Sign in to the [Azure portal](https://portal.azure.com).
46+
2. Make sure you're using the directory that contains your Azure AD tenant by selecting the **Directory + subscription** filter in the top menu and choosing the directory that contains your Azure AD tenant.
47+
3. Choose **All services** in the top-left corner of the Azure portal, and then search for and select **App registrations**.
48+
4. Select **Identity Experience Framework**.
49+
5. Select **Upload Custom Policy**, and then upload the two policy files that you changed.
50+
2. Select the sign-up or sign-in policy that you uploaded, and click the **Run now** button.
51+
3. You should be able to sign up using an email address without the validation.
52+
53+
54+
## Next steps
55+
56+
- Learn more about the [self-asserted technical profile](self-asserted-technical-profile.md) in the IEF reference.

articles/active-directory-b2c/user-flow-disable-email-verification.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,14 @@ manager: celestedg
99
ms.service: active-directory
1010
ms.workload: identity
1111
ms.topic: conceptual
12-
ms.date: 09/25/2018
12+
ms.date: 03/11/2020
1313
ms.author: mimart
1414
ms.subservice: B2C
1515
---
1616

1717
# Disable email verification during customer sign-up in Azure Active Directory B2C
1818

19-
By default, Azure Active Directory B2C (Azure AD B2C) verifies your customer's email address for local accounts (accounts for users who sign up with email address or username). Azure AD B2C ensures valid email addresses by requiring customers to verify them during the sign-up process. It also prevents a malicious actors from using automated processes to generate fraudulent accounts in your applications.
20-
21-
Some application developers prefer to skip email verification during the sign-up process and instead have customers verify their email address later. To support this, Azure AD B2C can be configured to disable email verification. Doing so creates a smoother sign-up process and gives developers the flexibility to differentiate customers that have verified their email address from customers that have not.
19+
[!INCLUDE [disable email verification intro](../../includes/active-directory-b2c-disable-email-verification.md)]
2220

2321
Follow these steps to disable email verification:
2422

@@ -30,8 +28,10 @@ Follow these steps to disable email verification:
3028
1. Select **Page layouts**.
3129
1. Select **Local account sign-up page**.
3230
1. Under **User attributes**, select **Email Address**.
33-
1. In the **REQUIRES VERIFICATION** drop down, select **No**.
31+
1. In the **REQUIRES VERIFICATION** drop-down, select **No**.
3432
1. Select **Save**. Email verification is now disabled for this user flow.
3533

36-
> [!WARNING]
37-
> Disabling email verification in the sign-up process may lead to spam. If you disable the default Azure AD B2C-provided email verification, we recommend that you implement a replacement verification system.
34+
## Next steps
35+
36+
- Learn how to [customize the user interface in Azure Active Directory B2C](customize-ui-overview.md)
37+
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
author: msmimart
3+
ms.service: active-directory-b2c
4+
ms.subservice: B2C
5+
ms.topic: include
6+
ms.date: 03/11/2020
7+
ms.author: mimart
8+
---
9+
## Disable email verification
10+
11+
By default, Azure Active Directory B2C (Azure AD B2C) verifies your customer's email address for local accounts (accounts for users who sign up with email address or username). Azure AD B2C ensures valid email addresses by requiring customers to verify them during the sign-up process. It also prevents malicious actors from using automated processes to generate fraudulent accounts in your applications.
12+
13+
Some application developers prefer to skip email verification during the sign-up process and instead have customers verify their email address later. To support this, Azure AD B2C can be configured to disable email verification. Doing so creates a smoother sign-up process and gives developers the flexibility to differentiate customers that have verified their email address from customers that have not.
14+
15+
> [!WARNING]
16+
> Disabling email verification in the sign-up process may lead to spam. If you disable the default Azure AD B2C-provided email verification, we recommend that you implement a replacement verification system.

0 commit comments

Comments
 (0)