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/enterprise-users/domains-verify-custom-subdomain.md
+12-4Lines changed: 12 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ ms.service: active-directory
10
10
ms.subservice: enterprise-users
11
11
ms.workload: identity
12
12
ms.topic: how-to
13
-
ms.date: 11/05/2021
13
+
ms.date: 04/05/2022
14
14
ms.author: curtand
15
15
ms.reviewer: sumitp
16
16
@@ -40,7 +40,7 @@ Because subdomains inherit the authentication type of the root domain by default
40
40
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:
41
41
42
42
```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/
44
44
45
45
Return:
46
46
{
@@ -66,9 +66,17 @@ Because subdomains inherit the authentication type of the root domain by default
66
66
Use the following command to promote the subdomain:
67
67
68
68
```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
70
70
```
71
71
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
+
72
80
### Change the subdomain authentication type
73
81
74
82
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
80
88
1. Verify via GET in Microsoft Graph API that subdomain authentication type is now managed:
81
89
82
90
```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/
0 commit comments