Skip to content

Commit 900f98a

Browse files
authored
Merge pull request #183498 from cephalin/issue#83541
https://github.com/MicrosoftDocs/azure-docs/issues/83541
2 parents ffe30e1 + 0cab8dc commit 900f98a

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

articles/app-service/configure-authentication-customize-sign-in-out.md

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -125,13 +125,22 @@ az webapp config appsettings set --name <app_name> --resource-group <group_name>
125125

126126
Both Microsoft Account and Azure Active Directory lets you sign in from multiple domains. For example, Microsoft Account allows _outlook.com_, _live.com_, and _hotmail.com_ accounts. Azure AD allows any number of custom domains for the sign-in accounts. However, you may want to accelerate your users straight to your own branded Azure AD sign-in page (such as `contoso.com`). To suggest the domain name of the sign-in accounts, follow these steps.
127127

128-
In [https://resources.azure.com](https://resources.azure.com), navigate to **subscriptions** > **_\<subscription\_name_** > **resourceGroups** > **_\<resource\_group\_name>_** > **providers** > **Microsoft.Web** > **sites** > **_\<app\_name>_** > **config** > **authsettings**.
129-
130-
Click **Edit**, modify the following property, and then click **Put**. Be sure to replace _\<domain\_name>_ with the domain you want.
128+
1. In [https://resources.azure.com](https://resources.azure.com), At the top of the page, select **Read/Write**.
129+
2. In the left browser, navigate to **subscriptions** > **_\<subscription-name_** > **resourceGroups** > **_\<resource-group-name>_** > **providers** > **Microsoft.Web** > **sites** > **_\<app-name>_** > **config** > **authsettingsV2**.
130+
3. Click **Edit**.
131+
4. Add a `loginParameters` array with a `domain_hint` item.
132+
133+
```json
134+
"identityProviders": {
135+
"azureActiveDirectory": {
136+
"login": {
137+
"loginParameters": ["domain_hint=<domain-name>"],
138+
}
139+
}
140+
}
141+
```
131142

132-
```json
133-
"additionalLoginParams": ["domain_hint=<domain_name>"]
134-
```
143+
5. Click **Put**.
135144

136145
This setting appends the `domain_hint` query string parameter to the login redirect URL.
137146

0 commit comments

Comments
 (0)