Skip to content

Commit 98628d3

Browse files
authored
Merge pull request #206514 from FaithOmbongi/patch-3
Format Microsoft Graph HRD bits
2 parents 143bbd5 + 75942b2 commit 98628d3

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

articles/active-directory/manage-apps/configure-authentication-for-federated-users-portal.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ New-AzureADPolicy -Definition @("{`"HomeRealmDiscoveryPolicy`":{`"AccelerateToFe
9494

9595
```json
9696
"HomeRealmDiscoveryPolicy": {
97-
"AccelerateToFederatedDomain": true
97+
"AccelerateToFederatedDomain": true
9898
}
9999
```
100100
::: zone-end
@@ -112,8 +112,10 @@ New-AzureADPolicy -Definition @("{`"HomeRealmDiscoveryPolicy`":{`"AccelerateToFe
112112

113113
```json
114114
"HomeRealmDiscoveryPolicy": {
115-
"AccelerateToFederatedDomain": true
116-
"PreferredDomain": ["federated.example.edu"]
115+
"AccelerateToFederatedDomain": true,
116+
"PreferredDomain": [
117+
"federated.example.edu"
118+
]
117119
}
118120
```
119121
::: zone-end
@@ -126,7 +128,7 @@ The following policy enables username/password authentication for federated user
126128
```json
127129

128130
"EnableDirectAuthPolicy": {
129-
"AllowCloudPasswordValidation": true
131+
"AllowCloudPasswordValidation": true
130132
}
131133

132134
```
@@ -222,9 +224,9 @@ Set the HRD policy using Microsoft Graph. See [homeRealmDiscoveryPolicy](/graph/
222224
223225
From the Microsoft Graph explorer window:
224226
225-
1. Grant the Policy.ReadWrite.ApplicationConfiguration permission under the **Modify permissions** tab.
227+
1. Grant consent to the *Policy.ReadWrite.ApplicationConfiguration* permission.
226228
1. Use the URL https://graph.microsoft.com/v1.0/policies/homeRealmDiscoveryPolicies
227-
1. POST the new policy to this URL, or PATCH to /policies/homerealmdiscoveryPolicies/{policyID} if overwriting an existing one.
229+
1. POST the new policy to this URL, or PATCH to https://graph.microsoft.com/v1.0/policies/homeRealmDiscoveryPolicies/{policyID} if overwriting an existing one.
228230
1. POST or PATCH contents:
229231
230232
```json
@@ -242,15 +244,15 @@ From the Microsoft Graph explorer window:
242244
1. To see your new policy and get its ObjectID, run the following query:
243245
244246
```http
245-
GET policies/homeRealmDiscoveryPolicies
247+
GET https://graph.microsoft.com/v1.0/policies/homeRealmDiscoveryPolicies
246248
```
247249
1. To delete the HRD policy you created, run the query:
248250
249251
```http
250-
DELETE /policies/homeRealmDiscoveryPolicies/{policy objectID}
252+
DELETE https://graph.microsoft.com/v1.0/policies/homeRealmDiscoveryPolicies/{policy objectID}
251253
```
252254
::: zone-end
253255
254256
## Next steps
255257
256-
[Prevent sign-in auto-acceleration](prevent-domain-hints-with-home-realm-discovery.md).
258+
[Prevent sign-in auto-acceleration](prevent-domain-hints-with-home-realm-discovery.md).

0 commit comments

Comments
 (0)