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/roles/admin-units-assign-roles.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -90,6 +90,8 @@ You can assign an Azure AD role with an administrative unit scope by using the A
90
90
91
91
### PowerShell
92
92
93
+
Use the [New-AzureADMSRoleAssignment](/powershell/module/azuread/new-azureadmsroleassignment) command and the `DirectoryScopeId` parameter to assign a role with administrative unit scope.
You can change the highlighted section as required for the specific environment.
102
-
103
103
### Microsoft Graph API
104
104
105
105
Request
@@ -135,13 +135,13 @@ You can view all the role assignments created with an administrative unit scope
135
135
136
136
### PowerShell
137
137
138
+
Use the [Get-AzureADMSScopedRoleMembership](/powershell/module/azuread/get-azureadmsscopedrolemembership) command to list role assignments with administrative unit scope.
0 commit comments