Skip to content

Commit d799e56

Browse files
authored
Merge pull request #194080 from curtand/domain0405
[Azure AD domains] verify subdomain Graph update
2 parents 5e6f160 + e094c42 commit d799e56

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

articles/active-directory/enterprise-users/domains-verify-custom-subdomain.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ms.service: active-directory
1010
ms.subservice: enterprise-users
1111
ms.workload: identity
1212
ms.topic: how-to
13-
ms.date: 11/05/2021
13+
ms.date: 04/05/2022
1414
ms.author: curtand
1515
ms.reviewer: sumitp
1616

@@ -40,7 +40,7 @@ Because subdomains inherit the authentication type of the root domain by default
4040
1. Use the following example to GET the domain. Because the domain isn't a root domain, it inherits the root domain authentication type. Your command and results might look as follows, using your own tenant ID:
4141

4242
```http
43-
GET https://graph.windows.net/{tenant_id}/domains?api-version=1.6
43+
GET https://graph.microsoft.com/v1.0/domains/foo.contoso.com/
4444
4545
Return:
4646
{
@@ -66,9 +66,17 @@ Because subdomains inherit the authentication type of the root domain by default
6666
Use the following command to promote the subdomain:
6767

6868
```http
69-
POST https://graph.windows.net/{tenant_id}/domains/child.mydomain.com/promote?api-version=1.6
69+
POST https://graph.microsoft.com/v1.0/domains/foo.contoso.com/promote
7070
```
7171

72+
#### Promote command error conditions
73+
74+
Scenario | Method | Code | Message
75+
-------- | ------ | ---- | -------
76+
Invoking API with a subdomain whose parent domain is unverified | POST | 400 | Unverified domains cannot be promoted. Please verify the domain before promotion.
77+
Invoking API with a federated verified subdomain with user references | POST | 400 | Promoting a subdomain with user references is not allowed. Please migrate the users to the current root domain before promotion of the subdomain.
78+
79+
7280
### Change the subdomain authentication type
7381

7482
1. Use the following command to change the subdomain authentication type:
@@ -80,7 +88,7 @@ POST https://graph.windows.net/{tenant_id}/domains/child.mydomain.com/promote?ap
8088
1. Verify via GET in Microsoft Graph API that subdomain authentication type is now managed:
8189

8290
```http
83-
GET https://graph.windows.net/{{tenant_id} }/domains?api-version=1.6
91+
GET https://graph.microsoft.com/v1.0/domains/foo.contoso.com/
8492
8593
Return:
8694
{

0 commit comments

Comments
 (0)