Skip to content

Commit 8c4252c

Browse files
Merge branch 'main' of https://github.com/MicrosoftDocs/azure-docs-pr into retry-go
2 parents 8bd39ea + 8bc1a5a commit 8c4252c

File tree

1,177 files changed

+12952
-5930
lines changed

Some content is hidden

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

1,177 files changed

+12952
-5930
lines changed

.openpublishing.redirection.virtual-desktop.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,11 @@
429429
"source_path_from_root": "/articles/virtual-desktop/host-pool-load-balancing.md",
430430
"redirect_url": "/azure/virtual-desktop/configure-host-pool-load-balancing",
431431
"redirect_document_id": false
432+
},
433+
{
434+
"source_path_from_root": "/articles/virtual-desktop/configure-rdp-shortpath-limit-ports-public-networks.md",
435+
"redirect_url": "/azure/virtual-desktop/configure-rdp-shortpath",
436+
"redirect_document_id": true
432437
}
433438
]
434439
}

articles/active-directory-b2c/configure-authentication-sample-python-web-app.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
---
2-
title: Configure authentication in a sample Python web application by using Azure Active Directory B2C
2+
title: Configure authentication in a sample Python web app by using Azure AD B2C
33
description: This article discusses how to use Azure Active Directory B2C to sign in and sign up users in a Python web application.
44

55
author: kengaderdus
6-
manager: CelesteDG
6+
manager: mwongerapk
77
ms.service: active-directory
88

99
ms.topic: reference
10-
ms.date: 01/11/2024
10+
ms.date: 06/04/2024
1111
ms.author: kengaderdus
1212
ms.subservice: B2C
1313
ms.custom: b2c-support, devx-track-python
1414

1515

16-
#Customer intent: As a Python web app developer, I want to configure Azure AD B2C authentication in my web application, so that I can securely sign users in and add authentication and authorization support to my app.
16+
#Customer intent: As a Python web app developer, I want to configure Azure AD B2C authentication in a sample web app by using my own tenant, so that I can securely sign customer users.
1717

1818
---
1919

@@ -37,7 +37,7 @@ The sign-in flow involves the following steps:
3737

3838
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
3939
- If you don't have one already, [create an Azure AD B2C tenant](tutorial-create-tenant.md) that is linked to your Azure subscription.
40-
- [Python 3.7+](https://www.python.org/downloads/)
40+
- [Python 3.8+](https://www.python.org/downloads/)
4141

4242
## Step 1: Configure your user flow
4343

@@ -222,4 +222,4 @@ You can add and modify redirect URIs in your registered applications at any time
222222
* The redirect URL is case-sensitive. Its case must match the case of the URL path of your running application.
223223
224224
## Next steps
225-
* Learn how to [Configure authentication options in a Python web app by using Azure AD B2C](enable-authentication-python-web-app-options.md).
225+
* Learn how to [Configure authentication options in a Python web app by using Azure AD B2C](enable-authentication-python-web-app-options.md).

articles/active-directory-b2c/enable-authentication-spa-app.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,6 @@ The resources referenced by the *index.html* file are detailed in the following
105105
|---|---|
106106
|MSAL.js library| MSAL.js authentication JavaScript library [CDN path](https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/lib/msal-browser/docs/cdn-usage.md).|
107107
|[Bootstrap stylesheet](https://getbootstrap.com/) | A free front-end framework for faster and easier web development. The framework includes HTML-based and CSS-based design templates. |
108-
|[`policies.js`](https://github.com/Azure-Samples/ms-identity-b2c-javascript-spa/blob/main/App/policies.js) | Contains the Azure AD B2C custom policies and user flows. |
109-
|[`authConfig.js`](https://github.com/Azure-Samples/ms-identity-b2c-javascript-spa/blob/main/App/authConfig.js) | Contains authentication configuration parameters.|
110-
|[`authRedirect.js`](https://github.com/Azure-Samples/ms-identity-b2c-javascript-spa/blob/main/App/authRedirect.js) | Contains the authentication logic. |
111-
|[`apiConfig.js`](https://github.com/Azure-Samples/ms-identity-b2c-javascript-spa/blob/main/App/apiConfig.js) | Contains web API scopes and the API endpoint location. |
112-
|[`api.js`](https://github.com/Azure-Samples/ms-identity-b2c-javascript-spa/blob/main/App/api.js) | Defines the method to use to call your API and handle its response.|
113-
|[`ui.js`](https://github.com/Azure-Samples/ms-identity-b2c-javascript-spa/blob/main/App/ui.js) | Controls the UI elements. |
114108
| | |
115109

116110
To render the SPA index file, in the *myApp* folder, create a file named *index.html*, which contains the following HTML snippet:

articles/active-directory-b2c/index-service.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ landingContent:
2121
- linkListType: sample
2222
links:
2323
- text: Node console application
24-
url: https://github.com/Azure-Samples/ms-identity-b2c-javascript-nodejs-management/tree/main/Chapter2
24+
url: https://github.com/Azure-Samples/ms-identity-docs-code-javascript
2525
- text: .NET Core console application
2626
url: https://github.com/Azure-Samples/ms-identity-dotnetcore-b2c-account-management
2727

articles/active-directory-b2c/integrate-with-app-code-samples.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,8 @@ The following tables provide links to samples for applications including iOS, An
3535

3636
| Sample | Description |
3737
|--------| ----------- |
38-
| [ms-identity-javascript-angular-tutorial](https://github.com/Azure-Samples/ms-identity-javascript-angular-tutorial/tree/main/3-Authorization-II/2-call-api-b2c) | An Angular single page application (SPA) calling a web API. Authentication is done with Azure AD B2C by using MSAL Angular. This sample uses the authorization code flow with PKCE. |
3938
| [ms-identity-javascript-react-tutorial](https://github.com/Azure-Samples/ms-identity-javascript-react-tutorial/tree/main/3-Authorization-II/2-call-api-b2c) | A React single page application (SPA) calling a web API. Authentication is done with Azure AD B2C by using MSAL React. This sample uses the authorization code flow with PKCE. |
4039
| [ms-identity-b2c-javascript-spa](https://github.com/Azure-Samples/ms-identity-b2c-javascript-spa) | A VanillaJS single page application (SPA) calling a web API. Authentication is done with Azure AD B2C by using MSAL.js. This sample uses the authorization code flow with PKCE. |
41-
| [javascript-nodejs-management](https://github.com/Azure-Samples/ms-identity-b2c-javascript-nodejs-management/tree/main/Chapter1) | A VanillaJS single page application (SPA) calling Microsoft Graph to manage users in a B2C directory. Authentication is done with Azure AD B2C by using MSAL.js. This sample uses the authorization code flow with PKCE.|
4240

4341
## Mobile and desktop apps
4442

@@ -55,7 +53,6 @@ The following tables provide links to samples for applications including iOS, An
5553

5654
| Sample | Description |
5755
|--------| ----------- |
58-
| [javascript-nodejs-management](https://github.com/Azure-Samples/ms-identity-b2c-javascript-nodejs-management/tree/main/Chapter2) | A Node.js and express console daemon application calling Microsoft Graph with its own identity to manage users in a B2C directory. Authentication is done with Azure AD B2C by using MSAL Node. This sample uses the authorization code flow.|
5956
| [dotnetcore-b2c-account-management](https://github.com/Azure-Samples/ms-identity-dotnetcore-b2c-account-management) | A .NET Core console application calling Microsoft Graph with its own identity to manage users in a B2C directory. Authentication is done with Azure AD B2C by using MSAL.NET. This sample uses the authorization code flow.|
6057

6158
## SAML test application

articles/ai-services/document-intelligence/containers/image-tags.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ The following containers support DocumentIntelligence v3.1 models and features:
6565

6666
| Container name |image |
6767
|---|---|
68-
|[**Document Intelligence Studio**](https://mcr.microsoft.com/product/azure-cognitive-services/form-recognizer/studio/tags)| `mcr.microsoft.com/azure-cognitive-services/form-recognizer/studio:latest`|
6968
| [**Read 3.1**](https://mcr.microsoft.com/product/azure-cognitive-services/form-recognizer/read-3.1/tags) |`mcr.microsoft.com/azure-cognitive-services/form-recognizer/read-3.1:latest`|
7069
| [**Layout 3.1**](https://mcr.microsoft.com/en-us/product/azure-cognitive-services/form-recognizer/layout-3.1/tags) |`mcr.microsoft.com/azure-cognitive-services/form-recognizer/layout-3.1:latest`|
7170
| [**Invoice 3.1**](https://mcr.microsoft.com/product/azure-cognitive-services/form-recognizer/invoice-3.1/tags) |`mcr.microsoft.com/azure-cognitive-services/form-recognizer/invoice-3.1:latest`|

articles/ai-services/document-intelligence/containers/install-run.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@ In this article you learn how to download, install, and run Document Intelligenc
4242

4343
* **Read**, **Layout**, **General Document**, **Business Card**, and **Custom** models are supported by Document Intelligence v3.0 containers.
4444

45-
* **Business Card** model is currently only supported in the [v2.1 containers](install-run.md?view=doc-intel-2.1.0&preserve-view=true).
46-
4745
## Prerequisites
4846

4947
To get started, you need an active [**Azure account**](https://azure.microsoft.com/free/cognitive-services/). If you don't have one, you can [**create a free account**](https://azure.microsoft.com/free/).
@@ -576,7 +574,7 @@ services:
576574
577575
```
578576

579-
The custom template container can use Azure Storage queues or in memory queues. The `Storage:ObjectStore:AzureBlob:ConnectionString` and `queue:azure:connectionstring` environment variables only need to be set if you're using Azure Storage queues. When running locally, delete these variables.
577+
The custom template container and Layout container can use Azure Storage queues or in memory queues. The `Storage:ObjectStore:AzureBlob:ConnectionString` and `queue:azure:connectionstring` environment variables only need to be set if you're using Azure Storage queues. When running locally, delete these variables.
580578

581579
### Ensure the service is running
582580

@@ -610,7 +608,7 @@ Custom template containers require a few different configurations and support ot
610608

611609
* Gather a set of at least five forms of the same type. You use this data to train the model and test a form. You can use a [sample data set](https://go.microsoft.com/fwlink/?linkid=2090451) (download and extract _sample_data.zip_).
612610

613-
* Once you can confirm that the containers are running, open a browser and navigate to the endpoint where you have the containers deployed. If this deployment is your local machine, the endpoint is `[http://localhost:5000](http://localhost:5000)`.
611+
* Once you can confirm that the containers are running, open a browser and navigate to the endpoint where you have the containers deployed. If this deployment is your local machine, the endpoint is `[http://localhost:5001](http://localhost:5001)`.
614612
* Select the custom extraction model tile.
615613
* Select the `Create project` option.
616614
* Provide a project name and optionally a description

articles/ai-services/language-service/native-document-support/use-native-documents.md

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: laujan
66
manager: nitinme
77
ms.service: azure-ai-language
88
ms.topic: how-to
9-
ms.date: 02/21/2024
9+
ms.date: 06/20/2024
1010
ms.author: lajanuar
1111
---
1212

@@ -340,25 +340,28 @@ For this project, you need a **source document** uploaded to your **source conta
340340

341341
```json
342342
{
343-
"kind": "ExtractiveSummarization",
344-
"parameters": {
343+
"tasks": [
344+
{
345+
"kind": "ExtractiveSummarization",
346+
"parameters": {
345347
"sentenceCount": 6
346-
},
347-
"analysisInput":{
348-
"documents":[
349-
{
350-
"source":{
351-
"location":"{your-source-blob-SAS-URL}"
352-
},
353-
"targets":
354-
{
355-
"location":"{your-target-container-SAS-URL}",
356-
}
357-
}
358-
]
348+
}
359349
}
350+
],
351+
"analysisInput": {
352+
"documents": [
353+
{
354+
"source": {
355+
"location": "{your-source-blob-SAS-URL}"
356+
},
357+
"targets": {
358+
"location": "{your-target-container-SAS-URL}"
359+
}
360+
}
361+
]
360362
}
361-
```
363+
}
364+
```
362365

363366
### Run the POST request
364367

articles/ai-services/openai/how-to/provisioned-get-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ We recommend the following workflow:
175175
* For more information on provisioned deployments, check out [What is provisioned throughput?](../concepts/provisioned-throughput.md)
176176
* For more information on retry logic within each SDK, check out:
177177
* [Python reference documentation](https://github.com/openai/openai-python?tab=readme-ov-file#retries)
178-
* [.NET reference documentation](/dotnet/api/azure.ai.openai.openaiclientoptions?view=azure-dotnet-preview&preserve-view=true)
178+
* [.NET reference documentation](/dotnet/api/overview/azure/ai.openai-readme)
179179
* [Java reference documentation](/java/api/com.azure.ai.openai.openaiclientbuilder?view=azure-java-preview&preserve-view=true#com-azure-ai-openai-openaiclientbuilder-retryoptions(com-azure-core-http-policy-retryoptions))
180180
* [JavaScript reference documentation](/javascript/api/@azure/openai/openaiclientoptions?view=azure-node-preview&preserve-view=true#@azure-openai-openaiclientoptions-retryoptions)
181181
* [GO reference documentation](https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/ai/azopenai#ChatCompletionsOptions)

articles/ai-services/openai/includes/chatgpt-javascript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.author: mbullwin
1111
ms.date: 05/21/2024
1212
---
1313

14-
[Source code](https://github.com/openai/openai-node) | [Package (npm)](https://www.npmjs.com/package/openai) | [Samples](https://github.com/Azure/azure-sdk-for-js/tree/openai-azure-samples/sdk/openai/openai/samples/v1-beta/javascript)
14+
[Source code](https://github.com/openai/openai-node) | [Package (npm)](https://www.npmjs.com/package/openai)
1515

1616
> [!NOTE]
1717
> This article has been updated to use the [latest OpenAI npm package](https://www.npmjs.com/package/openai) which now fully supports Azure OpenAI. If you are looking for code examples for the legacy Azure OpenAI JavaScript SDK they are currently still [available in this repo](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/openai/openai/samples/v1-beta/javascript).

0 commit comments

Comments
 (0)