Skip to content

Commit 6847f0d

Browse files
Merge pull request #213604 from kengaderdus/default-tenat-size
[Azure AD B2C] Directory size for B2C Tenants
2 parents 53b4b51 + c3b6f59 commit 6847f0d

File tree

8 files changed

+61
-21
lines changed

8 files changed

+61
-21
lines changed

articles/active-directory-b2c/best-practices.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ Define your application and service architecture, inventory current systems, and
3939
| Usability vs. security | Your solution must strike the right balance between application usability and your organization's acceptable level of risk. |
4040
| Move on-premises dependencies to the cloud | To help ensure a resilient solution, consider moving existing application dependencies to the cloud. |
4141
| Migrate existing apps to b2clogin.com | The deprecation of login.microsoftonline.com will go into effect for all Azure AD B2C tenants on 04 December 2020. [Learn more](b2clogin.md). |
42+
| Use Identity Protection and Conditional Access | Use these capabilities for significantly greater control over risky authentications and access policies. Azure AD B2C Premium P2 is required. [Learn more](conditional-access-identity-protection-overview.md). |
43+
|Tenant size | You need to plan with Azure AD B2C tenant size in mind. By default, Azure AD B2C tenant can accommodate 1.25 million objects (user accounts and applications). You can increase this limit to 5.25 million objects by adding a custom domain to your tenant, and verifying it. If you need a bigger tenant size, you need to contact [Support](find-help-open-support-ticket.md).|
4244
| Use Identity Protection and Conditional Access | Use these capabilities for greater control over risky authentications and access policies. Azure AD B2C Premium P2 is required. [Learn more](conditional-access-identity-protection-overview.md). |
4345

4446
## Implementation
@@ -86,5 +88,6 @@ Stay up to date with the state of the service and find support options.
8688
| Best practice | Description |
8789
|--|--|
8890
| [Service updates](https://azure.microsoft.com/updates/?product=active-directory-b2c) | Stay up to date with Azure AD B2C product updates and announcements. |
89-
| [Microsoft Support](support-options.md) | File a support request for Azure AD B2C technical issues. Billing and subscription management support is provided at no cost. |
91+
| [Microsoft Support](find-help-open-support-ticket.md) | File a support request for Azure AD B2C technical issues. Billing and subscription management support is provided at no cost. |
9092
| [Azure status](https://azure.status.microsoft/status) | View the current health status of all Azure services. |
93+

articles/active-directory-b2c/custom-domain.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ manager: CelesteDG
99
ms.service: active-directory
1010
ms.workload: identity
1111
ms.topic: how-to
12-
ms.date: 07/26/2022
12+
ms.date: 11/3/2022
1313
ms.author: kengaderdus
1414
ms.subservice: B2C
1515
ms.custom: "b2c-support"
@@ -20,7 +20,11 @@ zone_pivot_groups: b2c-policy-type
2020

2121
[!INCLUDE [active-directory-b2c-choose-user-flow-or-custom-policy](../../includes/active-directory-b2c-choose-user-flow-or-custom-policy.md)]
2222

23-
This article describes how to enable custom domains in your redirect URLs for Azure Active Directory B2C (Azure AD B2C). Using a custom domain with your application provides a more seamless user experience. From the user's perspective, they remain in your domain during the sign in process rather than redirecting to the Azure AD B2C default domain *<tenant-name>.b2clogin.com*.
23+
This article describes how to enable custom domains in your redirect URLs for Azure Active Directory B2C (Azure AD B2C). By using a verified custom domain, you've benefits such as:
24+
25+
- It provides a more seamless user experience. From the user's perspective, they remain in your domain during the sign in process rather than redirecting to the Azure AD B2C default domain *<tenant-name>.b2clogin.com*.
26+
27+
- You increase the number of objects (user accounts and applications) you can create in your Azure AD B2C tenant from the default 1.25 million to 5.25 million.
2428

2529
![Screenshot demonstrates an Azure AD B2C custom domain user experience.](./media/custom-domain/custom-domain-user-experience.png)
2630

articles/active-directory-b2c/faq.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,10 @@ sections:
4343
In an Azure AD B2C tenant, most apps want the user to sign-in with any arbitrary email address (for example, [email protected], [email protected], [email protected], or [email protected]). This type of account is a local account. We also support arbitrary user names as local accounts (for example, joe, bob, sarah, or jim). You can choose one of these two local account types when configuring identity providers for Azure AD B2C in the Azure portal. In your Azure AD B2C tenant, select **Identity providers**, select **Local account**, and then select **Username**.
4444
4545
User accounts for applications can be created through a sign-up user flow, sign-up or sign-in user flow, the Microsoft Graph API, or in the Azure portal.
46-
46+
- question: |
47+
How many users can an Azure AD B2C tenant accommodate?
48+
answer: |
49+
- By default, each tenant can accommodate a total of **1.25 million** objects (user accounts and applications), but you can increase this limit to **5.25 million** objects when you [add and verify a custom domain](custom-domain.md). If you want to increase this limit, please contact [Microsoft Support](find-help-open-support-ticket.md). However, if you created your tenant before **September 2022**, this limit doesn't affect you, and your tenant will retain the size allocated to it at creation, that's, **50 million** objects.
4750
- question: |
4851
Which social identity providers do you support now? Which ones do you plan to support in the future?
4952
answer: |

articles/active-directory-b2c/microsoft-graph-operations.md

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ manager: CelesteDG
88
ms.service: active-directory
99
ms.workload: identity
1010
ms.topic: how-to
11-
ms.date: 03/03/2022
11+
ms.date: 11/3/2022
1212
ms.custom: "project-no-code, ignite-fall-2021, b2c-support"
1313
ms.author: kengaderdus
1414
ms.subservice: B2C
@@ -26,7 +26,7 @@ Watch this video to learn about Azure AD B2C user migration using Microsoft Grap
2626
2727
## Prerequisites
2828

29-
To use MS Graph API, and interact with resources in your Azure AD B2C tenant, you need an application registration that grants the permissions to do so. Follow the steps in the [Manage Azure AD B2C with Microsoft Graph](microsoft-graph-get-started.md) article to create an application registration that your management application can use.
29+
- To use MS Graph API, and interact with resources in your Azure AD B2C tenant, you need an application registration that grants the permissions to do so. Follow the steps in the [Register a Microsoft Graph application](microsoft-graph-get-started.md) article to create an application registration that your management application can use.
3030

3131
## User management
3232
> [!NOTE]
@@ -162,6 +162,25 @@ For user flows, these extension properties are [managed by using the Azure porta
162162
> [!NOTE]
163163
> In Azure AD, directory extensions are managed through the [extensionProperty resource type](/graph/api/resources/extensionproperty) and its associated methods. However, because they are used in B2C through the `b2c-extensions-app` app which should not be updated, they are managed in Azure AD B2C using the [identityUserFlowAttribute resource type](/graph/api/resources/identityuserflowattribute) and its associated methods.
164164
165+
## Tenant usage
166+
167+
Use the [Get organization details](/graph/api/organization-get) API to get your directory size quota. You need to add the `$select` query parameter as shown in the following HTTP request:
168+
169+
```http
170+
GET https://graph.microsoft.com/v1.0/organization/organization-id?$select=directorySizeQuota
171+
```
172+
Replace `organization-id` with your organization or tenant ID.
173+
174+
The response to the above request looks similar to the following JSON snippet:
175+
176+
```json
177+
{
178+
"directorySizeQuota": {
179+
"used": 156,
180+
"total": 1250000
181+
}
182+
}
183+
```
165184
## Audit logs
166185

167186
- [List audit logs](/graph/api/directoryaudit-list)

articles/active-directory-b2c/service-limits.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ manager: CelesteDG
88
ms.service: active-directory
99
ms.workload: identity
1010
ms.topic: reference
11-
ms.date: 12/01/2022
11+
ms.date: 12/29/2022
1212
ms.subservice: B2C
1313
zone_pivot_groups: b2c-policy-type
1414
---
@@ -164,6 +164,8 @@ The following table lists the administrative configuration limits in the Azure A
164164
|Number of sign-out URLs per application  |1 |
165165
|String Limit per Attribute |250 Chars |
166166
|Number of B2C tenants per subscription |20 |
167+
|Total number of objects (user accounts and applications) per tenant (default limit)|1.25 million |
168+
|Total number of objects (user accounts and applications) per tenant (using a verified custom domain)|5.25 million |
167169
|Levels of [inheritance](custom-policy-overview.md#inheritance-model) in custom policies |10 |
168170
|Number of policies per Azure AD B2C tenant (user flows + custom policies) |200 |
169171
|Maximum policy file size |1024 KB |

articles/active-directory-b2c/tenant-management.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ manager: CelesteDG
99
ms.service: active-directory
1010
ms.workload: identity
1111
ms.topic: tutorial
12-
ms.date: 11/24/2022
12+
ms.date: 12/29/2022
1313
ms.custom: project-no-code
1414
ms.author: kengaderdus
1515
ms.subservice: B2C
@@ -238,7 +238,11 @@ To get your Azure AD B2C tenant ID, follow these steps:
238238
1. In the Azure portal, search for and select **Azure Active Directory**.
239239
1. In the **Overview**, copy the **Tenant ID**.
240240

241-
![Screenshot demonstrates how to get the Azure AD B2C tenant ID.](./media/tenant-management/get-azure-ad-b2c-tenant-id.png)
241+
![Screenshot demonstrates how to get the Azure AD B2C tenant ID.](./media/tenant-management/get-azure-ad-b2c-tenant-id.png)
242+
243+
## Get your tenant usage
244+
245+
You can read your Azure AD B2C's total directory size, and how much of it is in use. To do so, follow the steps in [Get tenant usage by using Microsoft Graph API](microsoft-graph-operations.md#tenant-usage).
242246

243247
## Next steps
244248

articles/active-directory-b2c/tutorial-create-tenant.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ manager: CelesteDG
88
ms.service: active-directory
99
ms.workload: identity
1010
ms.topic: tutorial
11-
ms.date: 07/12/2022
11+
ms.date: 11/3/2022
1212
ms.author: kengaderdus
1313
ms.subservice: B2C
1414
ms.custom: "b2c-support"
@@ -18,11 +18,6 @@ ms.custom: "b2c-support"
1818

1919
Before your applications can interact with Azure Active Directory B2C (Azure AD B2C), they must be registered in a tenant that you manage.
2020

21-
> [!NOTE]
22-
> You can create up to 20 tenants per subscription. This limit helps protect against threats to your resources, such as denial-of-service attacks, and is enforced in both the Azure portal and the underlying tenant creation API. If you need to create more than 20 tenants, please contact [Microsoft Support](support-options.md).
23-
>
24-
> If you want to reuse a tenant name that you previously tried to delete, but you see the error "Already in use by another directory" when you enter the domain name, you'll need to [follow these steps to fully delete the tenant first](./faq.yml?tabs=app-reg-ga#how-do-i-delete-my-azure-ad-b2c-tenant-). A role of at least Subscription Administrator is required. After deleting the tenant, you might also need to sign out and sign back in before you can reuse the domain name.
25-
2621
In this article, you learn how to:
2722

2823
> [!div class="checklist"]
@@ -31,7 +26,13 @@ In this article, you learn how to:
3126
> * Switch to the directory containing your Azure AD B2C tenant
3227
> * Add the Azure AD B2C resource as a **Favorite** in the Azure portal
3328
34-
You learn how to register an application in the next tutorial.
29+
Before you create you Azure AD B2C, you need to take the following considerations into account:
30+
31+
- You can create up to **20** tenants per subscription. This limit help protect against threats to your resources, such as denial-of-service attacks, and is enforced in both the Azure portal and the underlying tenant creation API. If you want to increase this limit, please contact [Microsoft Support](find-help-open-support-ticket.md).
32+
33+
- By default, each tenant can accommodate a total of **1.25 million** objects (user accounts and applications), but you can increase this limit to **5.25 million** objects when you add and verify a custom domain. If you want to increase this limit, please contact [Microsoft Support](find-help-open-support-ticket.md). However, if you created your tenant before **September 2022**, this limit doesn't affect you, and your tenant will retain the size allocated to it at creation, that's, **50 million** objects.
34+
35+
- If you want to reuse a tenant name that you previously tried to delete, but you see the error "Already in use by another directory" when you enter the domain name, you'll need to [follow these steps to fully delete the tenant first](./faq.yml?tabs=app-reg-ga#how-do-i-delete-my-azure-ad-b2c-tenant-). A role of at least *Subscription Administrator* is required. After deleting the tenant, you might also need to sign out and sign back in before you can reuse the domain name.
3536

3637
## Prerequisites
3738

@@ -66,7 +67,8 @@ You learn how to register an application in the next tutorial.
6667
![Select the Create a resource button](media/tutorial-create-tenant/create-a-resource.png)
6768

6869
1. Search for **Azure Active Directory B2C**, and then select **Create**.
69-
2. Select **Create a new Azure AD B2C Tenant**.
70+
71+
1. Select **Create a new Azure AD B2C Tenant**.
7072

7173
![Create a new Azure AD B2C tenant selected in Azure portal](media/tutorial-create-tenant/portal-02-create-tenant.png)
7274

articles/active-directory-b2c/user-migration.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,13 @@ title: User migration approaches
33
titleSuffix: Azure AD B2C
44
description: Migrate user accounts from another identity provider to Azure AD B2C by using the pre migration or seamless migration methods.
55
services: active-directory-b2c
6-
author: garrodonnell
6+
author: kengaderdus
77
manager: CelesteDG
8-
98
ms.service: active-directory
109
ms.workload: identity
1110
ms.topic: how-to
12-
ms.date: 10/24/2022
13-
ms.author: godonnell
11+
ms.date: 12/29/2022
12+
ms.author: kengaderdus
1413
ms.custom: engagement-fy23
1514
ms.subservice: B2C
1615
---
@@ -22,6 +21,10 @@ Watch this video to learn about Azure AD B2C user migration strategies and steps
2221

2322
>[!Video https://www.youtube.com/embed/lCWR6PGUgz0]
2423
24+
25+
> [!NOTE]
26+
> Before you start the migration, make sure your Azure AD B2C tenant's unused quota can accommodate all the users you expect to migrate. Learn how to [Get your tenant usage](microsoft-graph-operations.md#tenant-usage). If you need to increase your tenant's quota limit, contact [Microsoft Support](find-help-open-support-ticket.md).
27+
2528
## Pre migration
2629

2730
In the pre migration flow, your migration application performs these steps for each user account:

0 commit comments

Comments
 (0)