Skip to content

Commit 3df6912

Browse files
committed
Get-AzRoleAssignment description
1 parent 08022b3 commit 3df6912

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/role-based-access-control/pim-integration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,9 @@ There isn't a command or API to directly convert role assignments to a different
127127
New-AzRoleAssignmentScheduleRequest -Name $guid -Scope <Scope> -PrincipalId <PrincipalId> -RoleDefinitionId <RoleDefinitionId> -RequestType AdminRemove
128128
```
129129
130-
4. Use the [Get-AzRoleAssignment](/powershell/module/az.resources/get-azroleassignment) and [New-AzRoleAssignment](/powershell/module/az.resources/new-azroleassignment) commands to create active permanent role assignments with Azure RBAC for every eligible and time-bound role assignment.
130+
4. Use the [Get-AzRoleAssignment](/powershell/module/az.resources/get-azroleassignment) command to check for an existing role assignment and use the [New-AzRoleAssignment](/powershell/module/az.resources/new-azroleassignment) command to create an active permanent role assignment with Azure RBAC for each eligible and time-bound role assignment.
131131
132-
This example shows how to create an active permanent role assignment with Azure RBAC.
132+
This example shows how to check for an existing role assignment and create an active permanent role assignment with Azure RBAC.
133133
134134
```powershell
135135
$result = Get-AzRoleAssignment -ObjectId $RA.PrincipalId -RoleDefinitionName $RA.RoleDefinitionDisplayName -Scope $RA.Scope;

0 commit comments

Comments
 (0)