Skip to content

Commit f43df8c

Browse files
authored
Merge pull request #287777 from MicrosoftDocs/main
10/2/2024 PM Publish
2 parents f769fbf + db709f8 commit f43df8c

File tree

54 files changed

+651
-123
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+651
-123
lines changed

articles/app-service/deploy-staging-slots.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -547,6 +547,13 @@ Here are some common swap errors:
547547

548548
- Local cache initialization might fail when the app content exceeds the local disk quota specified for the local cache. For more information, see [Local cache overview](overview-local-cache.md).
549549

550+
- During a site update operation, the following error may occur "_The slot cannot be changed because its configuration settings have been prepared for swap_". This can occur if either [swap with preview (multi-phase swap)](#swap-with-preview-multi-phase-swap) phase 1 has been completed but phase 2 has not yet been performed, or a swap has failed. There are two ways resolve the issue:
551+
552+
1. Cancel the swap operation which will reset the site back to the old state
553+
1. Complete the swap operation which will update site to the desired new state
554+
555+
Refer to [swap with preview (multi-phase swap)](#swap-with-preview-multi-phase-swap) to learn how to cancel or complete the swap operation.
556+
550557
- During [custom warm-up](#Warm-up), the HTTP requests are made internally (without going through the external URL). They can fail with certain URL rewrite rules in *Web.config*. For example, rules for redirecting domain names or enforcing HTTPS can prevent warm-up requests from reaching the app code. To work around this issue, modify your rewrite rules by adding the following two conditions:
551558

552559
```xml

articles/app-service/includes/deploy-intelligent-apps/deploy-intelligent-apps-linux-node-pivot.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ You can use Azure App Service to create applications using Azure OpenAI and Open
1212

1313
#### Prerequisites
1414

15-
- An [Azure OpenAI resource](/azure/ai-services/openai/quickstart?pivots=programming-language-csharp&tabs=command-line%2Cpython#set-up) or an [OpenAI account](https://platform.openai.com/overview).
15+
- An [Azure OpenAI resource](/azure/ai-services/openai/quickstart?pivots=programming-language-csharp&tabs=command-line%2Cpython#set-up) or an [OpenAI account](https://platform.openai.com/overview).
1616
- A Node.js Express application. Create the sample app using our [quickstart](/azure/app-service/quickstart-nodejs?tabs=linux&pivots=development-environment-vscode).
1717

1818
### Set up web app
1919

20-
For this application, were building off the [quickstart](/azure/app-service/quickstart-nodejs?tabs=linux&pivots=development-environment-vscode) Express app and adding an extra feature to make a request to an Azure OpenAI or OpenAI service.
20+
For this application, we're building off the [quickstart](/azure/app-service/quickstart-nodejs?tabs=linux&pivots=development-environment-vscode) Express app and adding an extra feature to make a request to an Azure OpenAI or OpenAI service.
2121

2222
First, copy and replace the `index.ejs` file with the following code:
2323

@@ -48,7 +48,7 @@ The previous code will add an input box to our index page to submit requests to
4848

4949
First, you need to grab the keys and endpoint values from Azure OpenAI, or OpenAI and add them as secrets for use in your application. Retrieve and save the values for later use to build the client.
5050

51-
For Azure OpenAI, see [this documentation](/azure/ai-services/openai/quickstart?pivots=programming-language-csharp&tabs=command-line%2Cpython#retrieve-key-and-endpoint) to retrieve the key and endpoint values. If youre planning to use managed identity to secure your app youll only need the `deploymentName` and `apiVersion` values.
51+
For Azure OpenAI, see [this documentation](/azure/ai-services/openai/quickstart?pivots=programming-language-csharp&tabs=command-line%2Cpython#retrieve-key-and-endpoint) to retrieve the key and endpoint values. If you're planning to use managed identity to secure your app you'll only need the `deploymentName` and `apiVersion` values.
5252

5353
Otherwise, you need each of the following:
5454

@@ -63,9 +63,9 @@ For OpenAI, see this documentation to retrieve the API keys. For our application
6363

6464
- `apiKey`
6565

66-
Since we're deploying to App Service, we can secure these secrets in **Azure Key Vault** for protection. Follow the [Quickstart](/azure/key-vault/secrets/quick-create-cli#create-a-key-vault) to set up your Key Vault and add the secrets you saved from earlier.
66+
Since we're deploying to App Service, we can secure these secrets in **Azure Key Vault** for protection. Follow the [Quickstart](/azure/key-vault/secrets/quick-create-cli#create-a-key-vault) to set up your Key Vault and add the secrets you saved from earlier.
6767

68-
Next, we can use Key Vault references as app settings in our App Service resource to reference in our application. Follow the instructions in the [documentation](../../app-service-key-vault-references.md?source=recommendations&tabs=azure-cli) to grant your app access to your Key Vault and to set up Key Vault references.
68+
Next, we can use Key Vault references as app settings in our App Service resource to reference in our application. Follow the instructions in the [documentation](../../app-service-key-vault-references.md?source=recommendations&tabs=azure-cli) to grant your app access to your Key Vault and to set up Key Vault references.
6969

7070
Then, go to the portal Environment Variables page in your resource and add the following app settings:
7171

@@ -149,7 +149,7 @@ import OpenAI from 'openai';
149149

150150
### Secure your app with managed identity
151151

152-
Although optional, it's highly recommended to secure your application using [managed identity](../../overview-managed-identity.md) to authenticate your app to your Azure OpenAI resource. Skip this step if you are not using Azure OpenAI. This enables your application to access the Azure OpenAI resource without needing to manage API keys.
152+
Although optional, it's highly recommended to secure your application using [managed identity](../../overview-managed-identity.md) to authenticate your app to your Azure OpenAI resource. Skip this step if you are not using Azure OpenAI. This enables your application to access the Azure OpenAI resource without needing to manage API keys.
153153

154154
Follow the steps below to secure your application:
155155

@@ -177,14 +177,14 @@ Create the Azure OpenAI client with the token provider.
177177

178178
Once the credentials are added to the application, enable managed identity in your application and grant access to the resource:
179179

180-
1. In your web app resource, navigate to the **Identity** blade and turn on **System assigned** and select **Save**.
180+
1. In your web app resource, navigate to the **Identity** blade and turn on **System assigned** and select **Save**.
181181
2. Once System assigned identity is turned on, it will register the web app with Microsoft Entra ID and the web app can be granted permissions to access protected resources.
182-
3. Go to your Azure OpenAI resource and navigate to the **Access control (IAM)** page on the left pane.
183-
4. Find the **Grant access to this resource** card and select **Add role assignment**.
184-
5. Search for the **Cognitive Services OpenAI User** role and select **Next**.
185-
6. On the **Members** tab, find **Assign access to** and choose the **Managed identity** option.
186-
7. Next, select **+Select Members** and find your web app.
187-
8. Select **Review + assign**.
182+
3. Go to your Azure OpenAI resource and navigate to the **Access control (IAM)** page on the left pane.
183+
4. Find the **Grant access to this resource** card and select **Add role assignment**.
184+
5. Search for the **Cognitive Services OpenAI User** role and select **Next**.
185+
6. On the **Members** tab, find **Assign access to** and choose the **Managed identity** option.
186+
7. Next, select **+Select Members** and find your web app.
187+
8. Select **Review + assign**.
188188

189189
Your web app is now added as a cognitive service OpenAI user and can communicate to your Azure OpenAI resource.
190190

@@ -236,7 +236,7 @@ app.post("/api/completions", async (req, res) => {
236236
237237
This post function will create the OpenAI client and add the message being sent to OpenAI with a returned response.
238238
239-
Heres the example in its complete form. In this example, use the Azure OpenAI chat completion service OR the OpenAI chat completion service, not both.
239+
Here's the example in it's complete form. In this example, use the Azure OpenAI chat completion service OR the OpenAI chat completion service, not both.
240240
241241
```jsx
242242
var createError = require('http-errors');
@@ -339,6 +339,6 @@ Once the app is deployed, you can visit your site URL and see the text that cont
339339
340340
### Authentication
341341
342-
Although optional, it's highly recommended that you also add authentication to your web app when using an Azure OpenAI or OpenAI service. This can add a level of security with no other code. Learn how to enable authentication for your web app [here](../../scenario-secure-app-authentication-app-service.md).
342+
Although optional, it's highly recommended that you also add authentication to your web app when using an Azure OpenAI or OpenAI service. This can add a level of security with no other code. Learn how to enable authentication for your web app [here](../../scenario-secure-app-authentication-app-service.md).
343343
344-
Once deployed, browse to the web app and navigate to the OpenAI tab. Enter a query to the service and you should see a populated response from the server. The tutorial is now complete and you now know how to use OpenAI services to create intelligent applications.
344+
Once deployed, browse to the web app and navigate to the OpenAI tab. Enter a query to the service and you should see a populated response from the server. The tutorial is now complete and you now know how to use OpenAI services to create intelligent applications.

articles/application-gateway/classic-to-resource-manager.md

Lines changed: 37 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
---
2-
title: Application Gateway classic to Resource Manager
3-
description: Learn about moving Application Gateway resources from the classic deployment model to the Resource Manager deployment model.
2+
title: Azure Application Gateway classic to Resource Manager
3+
description: Learn about moving Azure Application Gateway resources from the classic deployment model to the Resource Manager deployment model.
44
services: application-gateway
55
author: greg-lindsay
66
ms.service: azure-application-gateway
77
ms.topic: how-to
8-
ms.date: 06/27/2024
8+
ms.date: 10/02/2024
99
ms.author: greglin
1010
---
1111

12-
# Application Gateway classic to Resource Manager migration
12+
# Application gateway classic to Resource Manager migration
1313

1414
Resource Manager enables deploying complex applications through templates, configures virtual machines by using VM extensions, and incorporates access management and tagging. Azure Resource Manager includes scalable, parallel deployment for virtual machines into availability sets. The new deployment model also provides lifecycle management of compute, network, and storage independently.
1515
You can read more about Azure Resource Manager [features and benefits](../azure-resource-manager/management/overview.md).
1616

17-
Application Gateway resources will **not** be migrated automatically as part of VNet migration from classic to Resource Manager.
18-
As part of VNet migration process as documented at [IaaS resources migration page](/azure/virtual-machines/migration-classic-resource-manager-ps), if you have an Application Gateway resource present on the VNet that you're trying to migrate to Resource Manager deployment model, the automatic migration wouldn't be successful.
17+
Application gateway resources are **not** migrated automatically as part of VNet migration from classic to Resource Manager.
18+
As part of VNet migration process as documented at [IaaS resources migration page](/azure/virtual-machines/migration-classic-resource-manager-ps), if you have an application gateway resource present on the VNet that you're trying to migrate to Resource Manager deployment model, the automatic migration wouldn't be successful.
1919

20-
In order to migrate your Application Gateway resource to Resource Manager deployment model, you'll have to remove the Application Resource from the VNet before beginning migration and then recreate the Application Gateway resource once migration is complete.
20+
To migrate your application gateway resource to Resource Manager deployment model, you'll have to remove the Application Resource from the VNet before beginning migration and then recreate the application gateway resource once migration is complete.
2121

22-
## Creating a new Application Gateway resource
22+
## Creating a new application gateway resource
2323

24-
For more information on how to set up an Application Gateway resource after VNet migration, you can refer:
24+
For more information on how to set up an application gateway resource after VNet migration, you can refer:
2525

2626
* [Deployment via portal](quick-create-portal.md)
2727
* [Deployment via PowerShell](quick-create-powershell.md)
@@ -43,13 +43,38 @@ Azure Resource Manager is the latest control plane of Azure responsible for crea
4343

4444
### Where can I find more information regarding classic to Azure Resource Manager migration?
4545

46-
Please refer to [Frequently asked questions about classic to Azure Resource Manager migration](/azure/virtual-machines/migration-classic-resource-manager-faq)
46+
Refer to [Frequently asked questions about classic to Azure Resource Manager migration](/azure/virtual-machines/migration-classic-resource-manager-faq)
47+
48+
### How can I clean up my classic application gateway deployment?
49+
50+
Step 1: Install the old PowerShell version for managing legacy resources.
51+
52+
[Installing the Azure PowerShell Service Management module](/powershell/azure/servicemanagement/install-azure-ps)
53+
54+
> [!NOTE]
55+
> The cmdlets referenced in this documentation are for managing legacy Azure resources that use Azure Service Manager (ASM) APIs. This legacy PowerShell module isn't recommended for creating new resources since ASM is scheduled for retirement.
56+
57+
Step 2: Run the following command to remove the application gateway.
58+
[Remove-AzureApplicationGateway](/powershell/module/servicemanagement/azure/remove-azureapplicationgateway)
59+
60+
```
61+
#Login to account and set proper subscription
62+
Add-AzureAccount
63+
Get-AzureSubscription
64+
Select-AzureSubscription -SubscriptionId <SubscriptionId> -Default
65+
66+
# Get the list of application gateways in the subscription
67+
Get-AzureApplicationGateway
68+
69+
#Remove the desired application gateway
70+
Remove-AzureApplicationGateway -Name <NameofGateway>
71+
```
4772

4873
### How do I report an issue?
4974

5075
Post your issues and questions about migration to our [Microsoft Q&A page](/answers/topics/azure-virtual-network.html). We recommend posting all your questions on this forum. If you have a support contract, you're welcome to log a support ticket as well.
5176

5277
## Next steps
53-
To get started see: [platform-supported migration of IaaS resources from classic to Resource Manager](/azure/virtual-machines/migration-classic-resource-manager-ps)
78+
To get started, see: [platform-supported migration of IaaS resources from classic to Resource Manager](/azure/virtual-machines/migration-classic-resource-manager-ps)
5479

55-
For any concerns around migration, you can contact Azure Support. Learn more about [Azure support here](https://azure.microsoft.com/support/options/).
80+
For any concerns around migration, you can contact Azure Support. Learn more about [Azure support here](https://azure.microsoft.com/support/options/).

articles/application-gateway/overview-v2.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services: application-gateway
55
author: greg-lindsay
66
ms.service: azure-application-gateway
77
ms.topic: overview
8-
ms.date: 09/06/2024
8+
ms.date: 10/02/2024
99
ms.author: greglin
1010
ms.custom: references_regions, devx-track-azurepowershell
1111
---
@@ -52,7 +52,7 @@ The following table displays a comparison between Basic and Standard_v2.
5252
| :---: | :--- | :---: | :---: |
5353
| Reliability | SLA | 99.9 | 99.95 |
5454
| Functionality - basic | HTTP/HTTP2/HTTPS<br>Websocket<br>Public/Private IP<br>Cookie Affinity<br>Path-based affinity<br>Wildcard<br>Multisite<br>KeyVault<br>Zone<br>Header rewrite | &#x2713;<br>&#x2713;<br>&#x2713;<br>&#x2713;<br>&#x2713;<br>&#x2713;<br>&#x2713;<br>&#x2713;<br>&#x2713;<br>&#x2713; | &#x2713;<br>&#x2713;<br>&#x2713;<br>&#x2713;<br>&#x2713;<br>&#x2713;<br>&#x2713;<br>&#x2713;<br>&#x2713;<br>&#x2713;|
55-
| Functionality - advanced | AKS (via AGIC)<br>URL rewrite<br>mTLS<br>Private Link<br>Private-only<sup>1</sup><br>TCP/TLS Proxy | | &#x2713;<br>&#x2713;<br>&#x2713;<br>&#x2713;<br>&#x2713;<br>&#x2713; |
55+
| Functionality - advanced | AKS (via AGIC)<br>URL rewrite<br>mTLS<br>Private Link<br>Private-only (preview)<br>TCP/TLS Proxy (preview) | | &#x2713;<br>&#x2713;<br>&#x2713;<br>&#x2713;<br>&#x2713;<br>&#x2713; |
5656
| Scale | Max. connections per second<br>Number of listeners<br>Number of backend pools<br>Number of backend servers per pool<br>Number of rules | 200<sup>1</sup><br>5<br>5<br>5<br>5 | 62500<sup>1</sup><br>100<br>100<br>1200<br>400 |
5757
| Capacity Unit | Connections per second per compute unit<br>Throughput<br>Persistent new connections | 10<br>2.22 Mbps<br>2500 | 50<br>2.22 Mbps<br>2500 |
5858

articles/azure-cache-for-redis/cache-azure-active-directory-for-authentication.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,12 @@ Using Microsoft Entra is the secure way to connect your cache. We recommend that
6363

6464
When you disable access key authentication for a cache, all existing client connections are terminated, whether they use access keys or Microsoft Entra authentication. Follow the recommended Redis client best practices to implement proper retry mechanisms for reconnecting Microsoft Entra-based connections, if any.
6565

66-
Before you disable access keys:
66+
### Before you disable access keys:
6767

68-
- Microsoft Entra authorization must be enabled.
68+
- Ensure that Microsoft Entra authentication is enabled and you have at least one Redis User configured.
69+
- Ensure all applications connecting to your cache instance switch to using Microsoft Entra Authentication.
70+
- Ensure that the metrics _Connected Clients_ and _Connected Clients Using Microsoft Entra Token_ have the same values. If the values for these two metrics are not the same, that means there are still some connections that were created using access keys and not Entra Token.
71+
- Consider disabling access during the scheduled maintenance window for your cache instance.
6972
- Disabling access keys is only available for Basic, Standard, and Premium tier caches.
7073
- For geo-replicated caches, you must:
7174

articles/azure-functions/flex-consumption-plan.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ Keep these other considerations in mind when using Flex Consumption plan during
145145
+ **Scale**: The lowest maximum scale in preview is `40`. The highest currently supported value is `1000`.
146146
+ **Managed dependencies**: [Managed dependencies in PowerShell](functions-reference-powershell.md#dependency-management) aren't supported by Flex Consumption. You must instead [define your own custom modules](functions-reference-powershell.md#custom-modules).
147147
+ **Diagnostic settings**: Diagnostic settings are not currently supported.
148+
+ **Certificates**: Loading certificates with the WEBSITE_LOAD_CERTIFICATES app setting is currently not supported.
148149

149150
## Related articles
150151

articles/azure-government/compliance/azure-services-in-fedramp-auditscope.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Microsoft Azure cloud environments meet demanding US government compliance requi
3030
- [DoD IL4](/azure/compliance/offerings/offering-dod-il4) PA issued by DISA
3131
- [DoD IL5](/azure/compliance/offerings/offering-dod-il5) PA issued by DISA
3232

33-
For current Azure Government regions and available services, see [Products available by region](https://azure.microsoft.com/global-infrastructure/services/?products=all&regions=non-regional,usgov-non-regional,us-dod-central,us-dod-east,usgov-arizona,usgov-texas,usgov-virginia&rar=true).
33+
For current Azure Government regions and available services, see [Products available by region](https://go.microsoft.com/fwlink/?linkid=2274941&clcid=0x409).
3434

3535
> [!NOTE]
3636
>
103 KB
Loading
149 KB
Loading
156 KB
Loading

0 commit comments

Comments
 (0)