Skip to content

Commit 183a425

Browse files
committed
resolve merge conflicts
2 parents d14e9ad + 63d7e86 commit 183a425

File tree

3,354 files changed

+51356
-54588
lines changed

Some content is hidden

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

3,354 files changed

+51356
-54588
lines changed

.openpublishing.publish.config.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -914,6 +914,12 @@
914914
"branch": "main",
915915
"branch_mapping": {}
916916
},
917+
{
918+
"path_to_root": "azure-ai-vision-sdk",
919+
"url": "https://github.com/Azure-Samples/azure-ai-vision-sdk",
920+
"branch": "main",
921+
"branch_mapping": {}
922+
},
917923
{
918924
"path_to_root": "azure-cache-redis-samples",
919925
"url": "https://github.com/Azure-Samples/azure-cache-redis-samples",

.openpublishing.redirection.azure-monitor.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@
3535
"redirect_url": "/azure/azure-monitor/change/change-analysis",
3636
"redirect_document_id": false
3737
},
38+
{
39+
"source_path_from_root": "/articles/azure-monitor/app/release-notes.md",
40+
"redirect_url": "/azure/azure-monitor/app/app-insights-overview",
41+
"redirect_document_id": false
42+
},
3843
{
3944
"source_path_from_root": "/articles/azure-monitor/app/resource-manager-web-app.md",
4045
"redirect_url": "/previous-versions/azure/azure-monitor/app/resource-manager-web-app",

.openpublishing.redirection.defender-for-cloud.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -787,7 +787,7 @@
787787
},
788788
{
789789
"source_path_from_root": "/articles/defender-for-cloud/os-coverage.md",
790-
"redirect_url": "/azure/defender-for-cloud/monitoring-components",
790+
"redirect_url": "/azure/defender-for-cloud/support-matrix-defender-for-cloud#supported-operating-systems",
791791
"redirect_document_id": false
792792
},
793793
{
@@ -804,6 +804,11 @@
804804
"source_path_from_root": "/articles/defender-for-cloud/supported-machines-endpoint-solutions-clouds-servers.md",
805805
"redirect_url": "/azure/defender-for-cloud/support-matrix-defender-for-servers",
806806
"redirect_document_id": true
807+
},
808+
{
809+
"source_path_from_root": "/articles/defender-for-cloud/faq-azure-monitor-logs.yml",
810+
"redirect_url": "/azure/defender-for-cloud/faq-data-collection-agents",
811+
"redirect_document_id": true
807812
}
808813
]
809814
}

.openpublishing.redirection.defender-for-iot.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
{
22
"redirections": [
3+
{
4+
"source_path_from_root": "/articles/defender-for-iot/organizations/how-to-work-with-device-notifications.md",
5+
"redirect_url": "/azure/defender-for-iot/organizations/how-to-work-with-the-sensor-device-map#manage-device-notifications-from-an-ot-sensor-device-map",
6+
"redirect_document_id": false
7+
},
8+
{
9+
"source_path_from_root": "/articles/defender-for-iot/organizations/how-to-view-information-per-zone.md",
10+
"redirect_url": "/azure/defender-for-iot/organizations/how-to-work-with-the-sensor-device-map#view-a-device-map-for-a-specific-zone",
11+
"redirect_document_id": false
12+
},
313
{
414
"source_path_from_root": "/articles/defender-for-iot/organizations/resources-training-sessions.md",
515
"redirect_url": "https://techcommunity.microsoft.com/t5/microsoft-defender-for-iot-blog/microsoft-defender-for-iot-ninja-training/ba-p/2428899",

.openpublishing.redirection.healthcare-apis.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -661,13 +661,21 @@
661661
"redirect_url": "/azure/healthcare-apis/iot/device-messages-through-iot-hub",
662662
"redirect_document_id": false
663663
},
664+
{ "source_path_from_root": "/articles/healthcare-apis/iot/how-to-create-mappings-copies.md",
665+
"redirect_url": "/azure/healthcare-apis/iot/how-to-use-mapping-debugger",
666+
"redirect_document_id": false
667+
},
668+
{ "source_path_from_root": "/articles/healthcare-apis/iot/how-to-use-monitoring-tab.md",
669+
"redirect_url": "/azure/healthcare-apis/iot/how-to-use-monitoring-and-health-checks-tabs",
670+
"redirect_document_id": false
671+
},
664672
{ "source_path_from_root": "/articles/healthcare-apis/events/events-display-metrics.md",
665673
"redirect_url": "/azure/healthcare-apis/events/events-use-metrics",
666674
"redirect_document_id": false
667675
},
668676
{ "source_path_from_root": "/articles/healthcare-apis/events/events-export-logs-metrics.md",
669677
"redirect_url": "/azure/healthcare-apis/events/events-enable-diagnostic-settings",
670-
"redirect_document_id": true
678+
"redirect_document_id": false
671679
}
672680
]
673681
}

.openpublishing.redirection.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6313,16 +6313,6 @@
63136313
"redirect_url": "/azure/architecture/service-fabric/migrate-from-cloud-services",
63146314
"redirect_document_id": false
63156315
},
6316-
{
6317-
"source_path_from_root": "/articles/batch/batch-custom-image-pools-to-azure-compute-gallery-migration-guide.md",
6318-
"redirect_url": "/azure/batch",
6319-
"redirect_document_id": false
6320-
},
6321-
{
6322-
"source_path_from_root": "/articles/batch/batch-pools-to-simplified-compute-node-communication-model-migration-guide.md",
6323-
"redirect_url": "/azure/batch",
6324-
"redirect_document_id": false
6325-
},
63266316
{
63276317
"source_path_from_root": "/articles/batch/big-compute-resources.md",
63286318
"redirect_url": "/azure/architecture/topics/high-performance-computing/",
@@ -7784,15 +7774,25 @@
77847774
"redirect_document_id": false
77857775
},
77867776
{
7787-
"source_path_from_root": "/articles/azure-maps/mobility-service-data-structure.md ",
7777+
"source_path_from_root": "/articles/azure-maps/mobility-service-data-structure.md",
77887778
"redirect_url": "/azure/azure-maps",
77897779
"redirect_document_id": false
77907780
},
77917781
{
7792-
"source_path_from_root": "/articles/azure-maps/power-bi-visual-getting-started.md ",
7782+
"source_path_from_root": "/articles/azure-maps/power-bi-visual-getting-started.md",
77937783
"redirect_url": "/azure/azure-maps/power-bi-visual-get-started",
77947784
"redirect_document_id": false
77957785
},
7786+
{
7787+
"source_path_from_root": "/articles/azure-maps/tutorial-creator-wfs.md",
7788+
"redirect_url": "/azure/azure-maps/how-to-creator-wfs",
7789+
"redirect_document_id": false
7790+
},
7791+
{
7792+
"source_path_from_root": "/articles/azure-maps/tutorial-creator-feature-stateset.md",
7793+
"redirect_url": "/azure/azure-maps/how-to-creator-feature-stateset",
7794+
"redirect_document_id": false
7795+
},
77967796
{
77977797
"source_path_from_root": "/articles/azure-portal/resource-group-portal-linked-resources.md",
77987798
"redirect_url": "/azure/azure-portal/azure-portal-dashboards",

.openpublishing.redirection.virtual-desktop.json

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,46 @@
134134
"source_path_from_root": "/articles/virtual-desktop/powershell-module.md",
135135
"redirect_url": "/azure/virtual-desktop/cli-powershell",
136136
"redirect_document_id": true
137+
},
138+
{
139+
"source_path_from_root": "/articles/virtual-desktop/deploy-azure-ad-joined-vm.md",
140+
"redirect_url": "/azure/virtual-desktop/azure-ad-joined-session-hosts",
141+
"redirect_document_id": true
142+
},
143+
{
144+
"source_path_from_root": "/articles/virtual-desktop/configure-vm-gpu.md",
145+
"redirect_url": "/azure/virtual-desktop/enable-gpu-acceleration",
146+
"redirect_document_id": true
147+
},
148+
{
149+
"source_path_from_root": "/articles/virtual-desktop/create-validation-host-pool.md",
150+
"redirect_url": "/azure/virtual-desktop/configure-validation-environment",
151+
"redirect_document_id": true
152+
},
153+
{
154+
"source_path_from_root": "/articles/virtual-desktop/expand-existing-host-pool.md",
155+
"redirect_url": "/azure/virtual-desktop/add-session-hosts-host-pool",
156+
"redirect_document_id": true
157+
},
158+
{
159+
"source_path_from_root": "/articles/virtual-desktop/create-host-pools-azure-marketplace.md",
160+
"redirect_url": "/azure/virtual-desktop/create-host-pool",
161+
"redirect_document_id": true
162+
},
163+
{
164+
"source_path_from_root": "/articles/virtual-desktop/create-host-pools-powershell.md",
165+
"redirect_url": "/azure/virtual-desktop/create-host-pool",
166+
"redirect_document_id": false
167+
},
168+
{
169+
"source_path_from_root": "/articles/virtual-desktop/deploy-windows-server-virtual-machine.md",
170+
"redirect_url": "/azure/virtual-desktop/add-session-hosts-host-pool",
171+
"redirect_document_id": false
172+
},
173+
{
174+
"source_path_from_root": "/articles/virtual-desktop/environment-setup.md",
175+
"redirect_url": "/azure/virtual-desktop/terminology",
176+
"redirect_document_id": false
137177
}
138178
]
139179
}

articles/active-directory-b2c/access-tokens.md

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Request an access token - Azure Active Directory B2C
2+
title: Request an access token in Azure Active Directory B2C
33
description: Learn how to request an access token from Azure Active Directory B2C.
44
services: active-directory-b2c
55
author: kengaderdus
@@ -8,20 +8,20 @@ manager: CelesteDG
88
ms.service: active-directory
99
ms.workload: identity
1010
ms.topic: conceptual
11-
ms.date: 02/07/2022
11+
ms.date: 03/09/2023
1212
ms.custom: project-no-code
1313
ms.author: kengaderdus
1414
ms.subservice: B2C
1515

1616
---
1717
# Request an access token in Azure Active Directory B2C
1818

19-
An *access token* contains claims that you can use in Azure Active Directory B2C (Azure AD B2C) to identify the granted permissions to your APIs. When calling a resource server, an access token must be present in the HTTP request. An access token is denoted as **access_token** in the responses from Azure AD B2C.
19+
An *access token* contains claims that you can use in Azure Active Directory B2C (Azure AD B2C) to identify the granted permissions to your APIs. To call a resource server, the HTTP request must include an access token. An access token is denoted as **access_token** in the responses from Azure AD B2C.
2020

2121
This article shows you how to request an access token for a web application and web API. For more information about tokens in Azure AD B2C, see the [overview of tokens in Azure Active Directory B2C](tokens-overview.md).
2222

2323
> [!NOTE]
24-
> **Web API chains (On-Behalf-Of) is not supported by Azure AD B2C.** - Many architectures include a web API that needs to call another downstream web API, both secured by Azure AD B2C. This scenario is common in clients that have a web API back end, which in turn calls a another service. This chained web API scenario can be supported by using the OAuth 2.0 JWT Bearer Credential grant, otherwise known as the On-Behalf-Of flow. However, the On-Behalf-Of flow is not currently implemented in Azure AD B2C. Although On-Behalf-Of works for applications registered in Azure AD, it does not work for applications registered in Azure AD B2C, regardless of the tenant (Azure AD or Azure AD B2C) that is issuing the tokens.
24+
> **Web API chains (On-Behalf-Of) is not supported by Azure AD B2C** - Many architectures include a web API that needs to call another downstream web API, both secured by Azure AD B2C. This scenario is common in clients that have a web API back end, which in turn calls a another service. This chained web API scenario can be supported by using the OAuth 2.0 JWT Bearer Credential grant, otherwise known as the On-Behalf-Of flow. However, the On-Behalf-Of flow is not currently implemented in Azure AD B2C. Although On-Behalf-Of works for applications registered in Azure AD, it does not work for applications registered in Azure AD B2C, regardless of the tenant (Azure AD or Azure AD B2C) that is issuing the tokens.
2525
2626
## Prerequisites
2727

@@ -60,17 +60,7 @@ If the **response_type** parameter in an `/authorize` request includes `token`,
6060

6161
## Request a token
6262

63-
To request an access token, you need an authorization code. Below is an example of a request to the `/authorize` endpoint for an authorization code.
64-
65-
In the following example, you replace these values in the query string:
66-
67-
- `<tenant-name>` - The name of your [Azure AD B2C tenant](tenant-management-read-tenant-name.md#get-your-tenant-name). If you're using a custom domain, replace `tenant-name.b2clogin.com` with your domain, such as `contoso.com`.
68-
- `<policy-name>` - The name of your custom policy or user flow.
69-
- `<application-ID>` - The application identifier of the web application that you registered to support the user flow.
70-
- `<application-ID-URI>` - The application identifier URI that you set under **Expose an API** blade of the client application.
71-
- `<scope-name>` - The name of the scope that you added under **Expose an API** blade of the client application.
72-
- `<redirect-uri>` - The **Redirect URI** that you entered when you registered the client application.
73-
63+
To request an access token, you need an authorization code. The following is an example of a request to the `/authorize` endpoint for an authorization code:
7464
```http
7565
GET https://<tenant-name>.b2clogin.com/<tenant-name>.onmicrosoft.com/<policy-name>/oauth2/v2.0/authorize?
7666
client_id=<application-ID>
@@ -80,17 +70,26 @@ client_id=<application-ID>
8070
&response_type=code
8171
```
8272

73+
Replace the values in the query string as follows:
74+
75+
- `<tenant-name>` - The name of your [Azure AD B2C tenant](tenant-management-read-tenant-name.md#get-your-tenant-name). If you're using a custom domain, replace `tenant-name.b2clogin.com` with your domain, such as `contoso.com`.
76+
- `<policy-name>` - The name of your custom policy or user flow.
77+
- `<application-ID>` - The application identifier of the web application that you registered to support the user flow.
78+
- `<application-ID-URI>` - The application identifier URI that you set under **Expose an API** blade of the client application.
79+
- `<scope-name>` - The name of the scope that you added under **Expose an API** blade of the client application.
80+
- `<redirect-uri>` - The **Redirect URI** that you entered when you registered the client application.
81+
8382
To get a feel of how the request works, paste the request into your browser and run it.
8483

85-
This is the interactive part of the flow, where you take action. You're asked to complete the user flow's workflow. This might involve entering your username and password in a sign in form or any other number of steps. The steps you complete depend on how the user flow is defined.
84+
This's the interactive part of the flow, where you take action. You're asked to complete the user flow's workflow. This might involve entering your username and password in a sign in form or any other number of steps. The steps you complete depend on how the user flow is defined.
8685

8786
The response with the authorization code should be similar to this example:
8887

8988
```
9089
https://jwt.ms/?code=eyJraWQiOiJjcGltY29yZV8wOTI1MjAxNSIsInZlciI6IjEuMC...
9190
```
9291

93-
After successfully receiving the authorization code, you can use it to request an access token. Note that the parameters are in the body of the HTTP POST request:
92+
After successfully receiving the authorization code, you can use it to request an access token. The parameters are in the body of the HTTP POST request:
9493

9594
```http
9695
POST <tenant-name>.b2clogin.com/<tenant-name>.onmicrosoft.com/<policy-name>/oauth2/v2.0/token HTTP/1.1
@@ -105,7 +104,7 @@ grant_type=authorization_code
105104
&client_secret=2hMG2-_:y12n10vwH...
106105
```
107106

108-
If you're testing this POST HTTP request, you can use any HTTP client such as [Microsoft PowerShell](/powershell/scripting/overview) or [Postman](https://www.postman.com/).
107+
If you want to test this POST HTTP request, you can use any HTTP client such as [Microsoft PowerShell](/powershell/scripting/overview) or [Postman](https://www.postman.com/).
109108

110109
A successful token response looks like this:
111110

0 commit comments

Comments
 (0)