|
| 1 | +--- |
| 2 | +title: Create & delete Azure AD B2C consumer user accounts in the Azure portal |
| 3 | +description: Learn how to use the Azure portal to create and delete consumer users in your Azure AD B2C directory. |
| 4 | +services: active-directory-b2c |
| 5 | +author: mmacy |
| 6 | +manager: celestedg |
| 7 | + |
| 8 | +ms.service: active-directory |
| 9 | +ms.workload: identity |
| 10 | +ms.topic: conceptual |
| 11 | +ms.date: 11/09/2019 |
| 12 | +ms.author: marsma |
| 13 | +ms.subservice: B2C |
| 14 | +--- |
| 15 | + |
| 16 | +# Use the Azure portal to create and delete consumer users in Azure AD B2C |
| 17 | + |
| 18 | +There might be scenarios in which you want to manually create consumer accounts in your Azure Active Directory B2C (Azure AD B2C) directory. Although consumer accounts in an Azure AD B2C directory are most commonly created when users sign up to use one of your applications, you can create them programmatically and by using the Azure portal. This article focuses on the Azure portal method of user creation and deletion. |
| 19 | + |
| 20 | +To add or delete users, your account must be assigned the *User administrator* or *Global administrator* role. |
| 21 | + |
| 22 | +[!INCLUDE [active-directory-b2c-public-preview](../../includes/active-directory-b2c-public-preview.md)] |
| 23 | + |
| 24 | +## Types of user accounts |
| 25 | + |
| 26 | +As described in [Overview of user accounts in Azure AD B2C](user-overview.md), there are three types of user accounts that can be created in an Azure AD B2C directory: |
| 27 | + |
| 28 | +* Work |
| 29 | +* Guest |
| 30 | +* Consumer |
| 31 | + |
| 32 | +This article focuses on working with **consumer accounts** in the Azure portal. For information about creating and deleting Work and Guest accounts, see [Add or delete users using Azure Active Directory](../active-directory/fundamentals/add-users-azure-active-directory.md). |
| 33 | + |
| 34 | +## Create a consumer user |
| 35 | + |
| 36 | +1. Sign in to the [Azure portal](https://portal.azure.com). |
| 37 | +1. Select the **Directory + subscription** filter in the top menu, and then select the directory that contains your Azure AD B2C tenant. |
| 38 | +1. In the left menu, select **Azure AD B2C**. Or, select **All services** and search for and select **Azure AD B2C**. |
| 39 | +1. Under **Manage**, select **Users**. |
| 40 | +1. Select **New user**. |
| 41 | +1. Select **Create Azure AD B2C user**. |
| 42 | +1. Choose a **Sign in method** and enter either an **Email** address or a **Username** for the new user. The sign in method you select here must match the setting you've specified for your Azure AD B2C tenant's *Local account* identity provider (see **Manage** > **Identity providers** in your Azure AD B2C tenant). |
| 43 | +1. Enter a **Name** for the user. This is typically the full name (given and surname) of the user. |
| 44 | +1. (Optional) You can **Block sign in** if you wish to delay the ability for the user to sign in. You can enable sign in later by editing the user's **Profile** in the Azure portal. |
| 45 | +1. Choose **Auto-generate password** or **Let me create password**. |
| 46 | +1. Specify the user's **First name** and **Last name**. |
| 47 | +1. Select **Create**. |
| 48 | + |
| 49 | +Unless you've selected **Block sign in**, the user can now sign in using the sign in method (email or username) that you specified. |
| 50 | + |
| 51 | +## Delete a consumer user |
| 52 | + |
| 53 | +1. In your Azure AD B2C directory, select **Users**, and then select the user you want to delete. |
| 54 | +1. Select **Delete**, and then **Yes** to confirm the deletion. |
| 55 | + |
| 56 | +For details about restoring a user within the first 30 days after deletion, or for permanently deleting a user, see [Restore or remove a recently deleted user using Azure Active Directory](../active-directory/fundamentals/active-directory-users-restore.md). |
| 57 | + |
| 58 | +## Next steps |
| 59 | + |
| 60 | +For automated user management scenarios, for example migrating users from another identity provider to your Azure AD B2C directory, see [Azure AD B2C: User migration](active-directory-b2c-user-migration.md). |
0 commit comments