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/active-directory/managed-identities-azure-resources/how-to-assign-app-role-managed-identity-powershell.md
+5-68Lines changed: 5 additions & 68 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ ms.subservice: msi
12
12
ms.topic: how-to
13
13
ms.tgt_pltfrm: na
14
14
ms.workload: identity
15
-
ms.date: 09/06/2023
15
+
ms.date: 09/07/2023
16
16
ms.author: jodowns
17
17
ms.collection: M365-identity-device-management
18
18
ms.custom: has-azure-ad-ps-ref
@@ -25,15 +25,15 @@ Managed identities for Azure resources provide Azure services with an identity i
25
25
> [!NOTE]
26
26
> The tokens that your application receives are cached by the underlying infrastructure, which means that any changes to the managed identity's roles can take significant time to take effect. For more information, see [Limitation of using managed identities for authorization](managed-identity-best-practice-recommendations.md#limitation-of-using-managed-identities-for-authorization).
27
27
28
-
In this article, you learn how to assign a managed identity to an application role exposed by another application using Azure AD PowerShell.
28
+
In this article, you learn how to assign a managed identity to an application role exposed by another application using the Microsoft Graph PowerShell SDK.
29
29
30
30
## Prerequisites
31
31
32
32
- If you're unfamiliar with managed identities for Azure resources, check out the [overview section](overview.md). **Be sure to review the [difference between a system-assigned and user-assigned managed identity](overview.md#managed-identity-types)**.
33
33
- If you don't already have an Azure account, [sign up for a free account](https://azure.microsoft.com/free/) before continuing.
34
34
- To run the example scripts, you have two options:
35
35
- Use the [Azure Cloud Shell](../../cloud-shell/overview.md), which you can open using the **Try It** button on the top-right corner of code blocks.
36
-
- Run scripts locally by installing the latest version of [the Az PowerShell module](/powershell/azure/install-azure-powershell). You can also use the [Microsoft Graph PowerShell SDK](/powershell/microsoftgraph/get-started).
36
+
- Run scripts locally by installing the latest version of the [Microsoft Graph PowerShell SDK](/powershell/microsoftgraph/get-started).
37
37
38
38
## Assign a managed identity access to another application's app role
39
39
@@ -59,20 +59,10 @@ In this article, you learn how to assign a managed identity to an application ro
59
59
60
60
1. Find the object ID of the service application's service principal. You can find this using the Azure portal. Go to Azure Active Directory and open the **Enterprise applications** page, then find the application and look for the **Object ID**. You can also find the service principal's object ID by its display name using the following PowerShell script:
0 commit comments