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/manage-apps/assign-user-or-group-access-portal.md
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,7 +65,7 @@ To assign a user or group account to an enterprise application:
65
65
:::zone pivot="aad-powershell"
66
66
67
67
1. Open an elevated Windows PowerShell command prompt.
68
-
1. Run `Connect-AzureAD` and sign as at least a [Cloud Application Administrator](../roles/permissions-reference.md#cloud-application-administrator).
68
+
1. Run `Connect-AzureAD` and sign in as at least a [Cloud Application Administrator](../roles/permissions-reference.md#cloud-application-administrator).
69
69
1. Use the following script to assign a user and role to an application:
70
70
71
71
```powershell
@@ -127,7 +127,8 @@ This example assigns the user Britta Simon to the Microsoft Workplace Analytics
127
127
## Unassign users, and groups, from an application
128
128
129
129
1. Open an elevated Windows PowerShell command prompt.
130
-
1. Run `Connect-AzureAD` and sign in with a Global Administrator user account. Use the following script to remove a user and role from an application.
130
+
1. Run `Connect-AzureAD` and sign in as at least a [Cloud Application Administrator](../roles/permissions-reference.md#cloud-application-administrator).
131
+
1. Use the following script to remove a user and role from an application.
1. Open an elevated Windows PowerShell command prompt.
177
-
1. Run `Connect-MgGraph -Scopes "Application.ReadWrite.All", "Directory.ReadWrite.All", "AppRoleAssignment.ReadWrite.All"` and sign as at least a [Cloud Application Administrator](../roles/permissions-reference.md#cloud-application-administrator).
178
+
1. Run `Connect-MgGraph -Scopes "Application.ReadWrite.All", "Directory.ReadWrite.All", "AppRoleAssignment.ReadWrite.All"` and sign in as at least a [Cloud Application Administrator](../roles/permissions-reference.md#cloud-application-administrator).
178
179
1. Use the following script to assign a user and role to an application:
## Unassign users, and groups, from an application
204
205
205
206
1. Open an elevated Windows PowerShell command prompt.
206
-
1. Run `Connect-MgGraph -Scopes "Application.ReadWrite.All", "Directory.ReadWrite.All", "AppRoleAssignment.ReadWrite.All"` and sign in with a Global Administrator user account. Use the following script to remove a user and role from an application.
207
+
1. Run `Connect-MgGraph -Scopes "Application.ReadWrite.All", "Directory.ReadWrite.All", "AppRoleAssignment.ReadWrite.All"` and sign in as at least a [Cloud Application Administrator](../roles/permissions-reference.md#cloud-application-administrator). Use the following script to remove a user and role from an application.
1. To assign users and groups to an application, sign in to [Graph Explorer](https://developer.microsoft.com/graph/graph-exploreras at least a [Cloud Application Administrator](../roles/permissions-reference.md#cloud-application-administrator).
242
+
1. To assign users and groups to an application, sign in to [Graph Explorer](https://developer.microsoft.com/graph/graph-explorer)as at least a [Cloud Application Administrator](../roles/permissions-reference.md#cloud-application-administrator).
242
243
243
244
You'll need to consent to the following permissions:
0 commit comments