Skip to content

Commit 2cae345

Browse files
committed
Merge branch 'main' of https://github.com/MicrosoftDocs/azure-docs-pr into eflow-diagnose-nw
2 parents 9718630 + ad20af9 commit 2cae345

File tree

91 files changed

+1206
-1000
lines changed

Some content is hidden

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

91 files changed

+1206
-1000
lines changed

.openpublishing.redirection.active-directory.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@
5555
"redirect_url": "/azure/active-directory/authentication/how-to-mfa-registration-campaign",
5656
"redirect_document_id": false
5757
},
58+
{
59+
"source_path_from_root": "/articles/active-directory/develop/workload-identity-federation-create-trust-github.md",
60+
"redirect_url":"/azure/active-directory/develop/workload-identity-federation-create-trust",
61+
"redirect_document_id": false
62+
},
5863
{
5964
"source_path_from_root": "/articles/active-directory/develop/active-directory-v2-limitations.md",
6065
"redirect_url": "/azure/active-directory/azuread-dev/azure-ad-endpoint-comparison",

articles/active-directory/authentication/howto-authentication-passwordless-security-key-windows.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ services: active-directory
66
ms.service: active-directory
77
ms.subservice: authentication
88
ms.topic: how-to
9-
ms.date: 05/04/2022
9+
ms.date: 07/06/2022
1010

1111
ms.author: justinha
1212
author: justinha
@@ -30,7 +30,7 @@ This document focuses on enabling FIDO2 security key based passwordless authenti
3030
| [Azure AD joined devices](../devices/concept-azure-ad-join.md) require Windows 10 version 1909 or higher | X | |
3131
| [Hybrid Azure AD joined devices](../devices/concept-azure-ad-join-hybrid.md) require Windows 10 version 2004 or higher | | X |
3232
| Fully patched Windows Server 2016/2019 Domain Controllers. | | X |
33-
| [Azure AD Connect](../hybrid/how-to-connect-install-roadmap.md#install-azure-ad-connect) version 1.4.32.0 or later | | X |
33+
| [Azure AD Hybrid Authentication Management module](https://www.powershellgallery.com/packages/AzureADHybridAuthenticationManagement/2.1.1.0) | | X |
3434
| [Microsoft Endpoint Manager](/intune/fundamentals/what-is-intune) (Optional) | X | X |
3535
| Provisioning package (Optional) | X | X |
3636
| Group Policy (Optional) | | X |

articles/active-directory/develop/TOC.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,6 @@
148148
href: workload-identity-federation.md
149149
- name: Trust an external identity provider (federation)
150150
href: workload-identity-federation-create-trust.md
151-
- name: Configure an app to trust a GitHub repo
152-
href: workload-identity-federation-create-trust-github.md
153151
- name: Access identity platform-protected resources from GCP
154152
href: workload-identity-federation-create-trust-gcp.md
155153
- name: Exchange AD FS SAML for Microsoft Graph access token
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
---
2+
title: Workload identity federation for app considerations
3+
description: Important considerations and restrictions for creating a federated identity credential on an app.
4+
services: active-directory
5+
author: rwike77
6+
manager: CelesteDG
7+
8+
ms.service: active-directory
9+
ms.subservice: develop
10+
ms.workload: identity
11+
ms.topic: include
12+
ms.date: 07/29/2022
13+
ms.author: ryanwi
14+
ms.reviewer: shkhalid, udayh, vakarand
15+
ms.custom: aaddev
16+
---
17+
18+
## Important considerations and restrictions
19+
20+
Anyone with permissions to create an app registration and add a secret or certificate can add a federated identity credential. If the **Users can register applications** switch in the [User Settings](https://portal.azure.com/#blade/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/UserSettings) blade is set to **No**, however, you won't be able to create an app registration or configure the federated identity credential. Find an admin to configure the federated identity credential on your behalf. Anyone in the Application Administrator or Application Owner roles can do this.
21+
22+
A maximum of 20 federated identity credentials can be added to an application.
23+
24+
When you configure a federated identity credential, there are several important pieces of information to provide.
25+
26+
*issuer* and *subject* are the key pieces of information needed to set up the trust relationship. The combination of `issuer` and `subject` must be unique on the app. When the external software workload requests Microsoft identity platform to exchange the external token for an access token, the *issuer* and *subject* values of the federated identity credential are checked against the `issuer` and `subject` claims provided in the external token. If that validation check passes, Microsoft identity platform issues an access token to the external software workload.
27+
28+
*issuer* is the URL of the external identity provider and must match the `issuer` claim of the external token being exchanged. Required. If the `issuer` claim has leading or trailing whitespace in the value, the token exchange is blocked. This field has a character limit of 600 characters.
29+
30+
*subject* is the identifier of the external software workload and must match the `sub` (`subject`) claim of the external token being exchanged. *subject* has no fixed format, as each IdP uses their own - sometimes a GUID, sometimes a colon delimited identifier, sometimes arbitrary strings. This field has a character limit of 600 characters.
31+
32+
> [!IMPORTANT]
33+
> The *subject* setting values must exactly match the configuration on the GitHub workflow configuration. Otherwise, Microsoft identity platform will look at the incoming external token and reject the exchange for an access token. You won't get an error, the exchange fails without error.
34+
35+
> [!IMPORTANT]
36+
> If you accidentally add the incorrect external workload information in the *subject* setting the federated identity credential is created successfully without error. The error does not become apparent until the token exchange fails.
37+
38+
*audiences* lists the audiences that can appear in the external token. Required. The recommended value is "api://AzureADTokenExchange". It says what Microsoft identity platform must accept in the `aud` claim in the incoming token. This value represents Azure AD in your external identity provider and has no fixed value across identity providers - you may need to create a new application registration in your IdP to serve as the audience of this token. This field can only accept a single value and has a limit of 600 characters.
39+
40+
*name* is the unique identifier for the federated identity credential. Required. This field has a character limit of 120 characters and must be URL friendly. It is immutable once created.
41+
42+
*description* is the user-provided description of the federated identity credential. Optional. The description is not validated or checked by Azure AD. This field has a limit of 600 characters.

articles/active-directory/develop/workload-identity-federation-create-trust-gcp.md

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.service: active-directory
99
ms.subservice: develop
1010
ms.topic: how-to
1111
ms.workload: identity
12-
ms.date: 01/06/2022
12+
ms.date: 07/18/2022
1313
ms.author: ryanwi
1414
ms.custom: aaddev
1515
ms.reviewer: udayh
@@ -59,9 +59,28 @@ The most important fields for creating the federated identity credential are:
5959

6060
The following command configures a federated identity credential:
6161

62-
```http
63-
az rest --method POST --uri 'https://graph.microsoft.com/beta/applications/41be38fd-caac-4354-aa1e-1fdb20e43bfa/federatedIdentityCredentials' --body '{"name":"GcpFederation","issuer":"https://accounts.google.com","subject":"112633961854638529490","description":"Testing","audiences":["api://AzureADTokenExchange"]}'
62+
# [Azure CLI](#tab/azure-cli)
63+
64+
```azurecli-interactive
65+
az ad app federated-credential create --id 41be38fd-caac-4354-aa1e-1fdb20e43bfa --parameters credential.json
66+
("credential.json" contains the following content)
67+
{
68+
"name": "GcpFederation",
69+
"issuer": "https://accounts.google.com",
70+
"subject": "112633961854638529490",
71+
"description": "Test GCP federation",
72+
"audiences": [
73+
"api://AzureADTokenExchange"
74+
]
75+
}
76+
```
77+
78+
# [Azure PowerShell](#tab/azure-powershell)
79+
80+
```azurepowershell-interactive
81+
New-AzADappfederatedidentitycredential -ApplicationObjectId $appObjectId -Audience api://AzureADTokenExchange -Issuer 'https://accounts.google.com' -name 'GcpFederation' -Subject '112633961854638529490'
6482
```
83+
---
6584

6685
For more information and examples, see [Create a federated identity credential](workload-identity-federation-create-trust.md).
6786

@@ -96,7 +115,7 @@ async function getGoogleIDToken() {
96115
```
97116

98117
# [C#](#tab/csharp)
99-
Here’s an example in TypeScript of how to request an ID token from the Google metadata server:
118+
Here’s an example in C# of how to request an ID token from the Google metadata server:
100119
```csharp
101120
private string getGoogleIdToken()
102121
{

articles/active-directory/develop/workload-identity-federation-create-trust-github.md

Lines changed: 0 additions & 216 deletions
This file was deleted.

0 commit comments

Comments
 (0)