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/app-service/configure-authentication-provider-aad.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,9 +26,9 @@ Follow these best practices when setting up your app and authentication:
26
26
27
27
## <aname="express"> </a>Configure with express settings
28
28
29
-
1. In the [Azure portal], go to your App Service app.
30
-
1.Select **Settings**>**Authentication / Authorization** in the left pane, and make sure that **App Service Authentication** is **On**.
31
-
1. Select **Azure Active Directory**, and then select**Express**under**Management Mode**.
29
+
1. In the [Azure portal], search for and select **App Services**, and then select your app.
30
+
1.In the left pane, under **Settings**select**Authentication / Authorization** and make sure that **App Service Authentication** is **On**.
31
+
1. Select **Azure Active Directory**, and then under**Management Mode**select**Express**.
32
32
1. Select **OK** to register the App Service app in Azure Active Directory. A new app registration is created.
33
33
34
34
If you want to choose an existing app registration instead:
@@ -62,7 +62,7 @@ You'll need the following information when you configure your App Service app:
62
62
63
63
Perform the following steps:
64
64
65
-
1. Sign in to the [Azure portal] and go to your App Service app. Note your app's **URL**. You'll use it to configure your Azure Active Directory app registration.
65
+
1. Sign in to the [Azure portal], search for and select **App Services**, and then select your app. Note your app's **URL**. You'll use it to configure your Azure Active Directory app registration.
1. In the **Register an application** page, enter a **Name** for your app registration.
68
68
1. In **Redirect URI**, select **Web** and enter the URL of your App Service app and append the path `/.auth/login/aad/callback`. For example, `https://contoso.azurewebsites.net/.auth/login/aad/callback`.
@@ -83,8 +83,8 @@ Perform the following steps:
83
83
84
84
### <aname="secrets"> </a>Add Azure Active Directory information to your App Service app
85
85
86
-
1. In the [Azure portal], go to your App Service app.
87
-
1.Select **Settings > Authentication / Authorization** in the left pane, and make sure that **App Service Authentication** is **On**.
86
+
1. In the [Azure portal], search for and select **App Services**, and then select your app.
87
+
1.In the left pane, under **Settings**, select **Authentication / Authorization** and make sure that **App Service Authentication** is **On**.
88
88
1. (Optional) By default, App Service authentication allows unauthenticated access to your app. To enforce user authentication, set **Action to take when request is not authenticated** to **Log in with Azure Active Directory**.
89
89
1. Under Authentication Providers, select **Azure Active Directory**.
90
90
1. In **Management mode**, select **Advanced** and configure App Service authentication according to the following table:
Copy file name to clipboardExpand all lines: articles/app-service/configure-common.md
+11-7Lines changed: 11 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,11 @@ This topic explains how to configure common settings for web apps, mobile back e
16
16
17
17
In App Service, app settings are variables passed as environment variables to the application code. For Linux apps and custom containers, App Service passes app settings to the container using the `--env` flag to set the environment variable in the container.
18
18
19
-
In the [Azure portal], navigate to your app's management page. In the app's left menu, click **Configuration** > **Application settings**.
19
+
In the [Azure portal], search for and select **App Services**, and then select your app.
20
+
21
+

22
+
23
+
In the app's left menu, select **Configuration** > **Application settings**.
@@ -77,7 +81,7 @@ App settings have the following JSON formatting:
77
81
78
82
## Configure connection strings
79
83
80
-
In the [Azure portal], navigate to the app's management page. In the app's left menu, click**Configuration** > **Application settings**.
84
+
In the [Azure portal], search for and select **App Services**, and then select your app. In the app's left menu, select**Configuration** > **Application settings**.
@@ -148,7 +152,7 @@ Connection strings have the following JSON formatting:
148
152
149
153
## Configure general settings
150
154
151
-
In the [Azure portal], navigate to the app's management page. In the app's left menu, click**Configuration** > **Application settings**.
155
+
In the [Azure portal], search for and select **App Services**, and then select your app. In the app's left menu, select**Configuration** > **General settings**.
@@ -171,19 +175,19 @@ Here, you can configure some common settings for the app. Some settings require
171
175
172
176
This setting is only for Windows apps.
173
177
174
-
In the [Azure portal], navigate to the app's management page. In the app's left menu, click**Configuration** > **Default documents**.
178
+
In the [Azure portal], search for and select **App Services**, and then select your app. In the app's left menu, select**Configuration** > **Default documents**.
The default document is the web page that's displayed at the root URL for a website. The first matching file in the list is used. To add a new default document, click **New document**. Don't forget to click **Save**.
179
183
180
184
If the app uses modules that route based on URL instead of serving static content, there is no need for default documents.
181
185
182
186
## Configure path mappings
183
187
184
-
In the [Azure portal], navigate to the app's management page. In the app's left menu, click**Configuration** > **Path mappings**.
188
+
In the [Azure portal], search for and select **App Services**, and then select your app. In the app's left menu, select**Configuration** > **Path mappings**.
Copy file name to clipboardExpand all lines: articles/app-service/deploy-staging-slots.md
+12-8Lines changed: 12 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,11 @@ To scale your app to a different tier, make sure that the target tier supports t
28
28
## Add a slot
29
29
The app must be running in the **Standard**, **Premium**, or **Isolated** tier in order for you to enable multiple deployment slots.
30
30
31
-
1. In the [Azure portal](https://portal.azure.com/), open your app's [resource page](../azure-resource-manager/management/manage-resources-portal.md#manage-resources).
31
+
32
+
1. in the [Azure portal](https://portal.azure.com/), search for and select **App Services** and select your app.
33
+
34
+

35
+
32
36
33
37
2. In the left pane, select **Deployment slots** > **Add Slot**.
34
38
@@ -237,7 +241,7 @@ After the setting is saved, the specified percentage of clients is randomly rout
237
241
After a client is automatically routed to a specific slot, it's "pinned" to that slot for the life of that client session. On the client browser, you can see which slot your session is pinned to by looking at the `x-ms-routing-name` cookie in your HTTP headers. A request that's routed to the "staging" slot has the cookie `x-ms-routing-name=staging`. A request that's routed to the production slot has the cookie `x-ms-routing-name=self`.
238
242
239
243
> [!NOTE]
240
-
> Next to the Azure Portal, you can also use the [`az webapp traffic-routing set`](/cli/azure/webapp/traffic-routing#az-webapp-traffic-routing-set) command in the Azure CLI to set the routing percentages from CI/CD tools like DevOps pipelines or other automation systems.
244
+
> Next to the Azure portal, you can also use the [`az webapp traffic-routing set`](/cli/azure/webapp/traffic-routing#az-webapp-traffic-routing-set) command in the Azure CLI to set the routing percentages from CI/CD tools like DevOps pipelines or other automation systems.
241
245
>
242
246
243
247
### Route production traffic manually
@@ -264,7 +268,7 @@ By default, new slots are given a routing rule of `0%`, shown in grey. When you
264
268
265
269
## Delete a slot
266
270
267
-
Go to your app's resource page. Select **Deployment slots** > *\<slot to delete>* > **Overview**. Select **Delete** on the command bar.
271
+
Search for and select your app. Select **Deployment slots** > *\<slot to delete>* > **Overview**. Select **Delete** on the command bar.
268
272
269
273

[ARM Templates](https://docs.microsoft.com/azure/azure-resource-manager/template-deployment-overview) are declarative JSON files used to automate the deployment and configuration of Azure resources. To swap slots using ARM templates, you will set two properties on the *Microsoft.Web/sites/slots* and *Microsoft.Web/sites* resources:
332
+
[Azure Resource Manager templates](https://docs.microsoft.com/azure/azure-resource-manager/template-deployment-overview) are declarative JSON files used to automate the deployment and configuration of Azure resources. To swap slots by using Resource Manager templates, you will set two properties on the *Microsoft.Web/sites/slots* and *Microsoft.Web/sites* resources:
329
333
330
334
-`buildVersion`: this is a string property which represents the current version of the app deployed in the slot. For example: "v1", "1.0.0.1", or "2019-09-20T11:53:25.2887393-07:00".
331
335
-`targetBuildVersion`: this is a string property that specifies what `buildVersion` the slot should have. If the targetBuildVersion does not equal the current `buildVersion`, then this will trigger the swap operation by finding the slot which has the specified `buildVersion`.
332
336
333
-
### Example ARM Template
337
+
### Example Resource Manager template
334
338
335
-
The following ARM template will update the `buildVersion` of the staging slot and set the `targetBuildVersion` on the production slot. This will swap the two slots. The template assumes you already have a webapp created with a slot named "staging".
339
+
The following Resource Manager template will update the `buildVersion` of the staging slot and set the `targetBuildVersion` on the production slot. This will swap the two slots. The template assumes you already have a webapp created with a slot named "staging".
336
340
337
341
```json
338
342
{
@@ -376,7 +380,7 @@ The following ARM template will update the `buildVersion` of the staging slot an
376
380
}
377
381
```
378
382
379
-
This ARM template is idempotent, meaning that it can be executed repeatedly and produce the same state of the slots. After the first execution, `targetBuildVersion` will match the current `buildVersion`, so a swap will not be triggered.
383
+
This Resource Manager template is idempotent, meaning that it can be executed repeatedly and produce the same state of the slots. After the first execution, `targetBuildVersion` will match the current `buildVersion`, so a swap will not be triggered.
0 commit comments