-
Notifications
You must be signed in to change notification settings - Fork 7
Remove‐PIMEntraRoleActiveAssignment
Loïc MICHEL edited this page Mar 12, 2024
·
1 revision
Remove active assignement defined for $rolename and principalID $principalID
🔷 Remove the active assignment for the role Arcpush and principal $principalID, at a specific date
PS> Remove-PIMEntraRoleActiveAssignment -tenantID $tenantID -rolename "AcrPush" -principalID 3604fe63-cb67-4b60-99c9-707d46ab9092 -startDateTime "2/2/2024 18:20"
🔷 Remove the active assignement for the role webmaster and username "loic"
PS> Remove-PIMEntraRoleActiveAssignment -tenantID $tenantID -rolename "webmaster" -principalname "loic" -justification 'TEST'
Parameter | description |
---|---|
$TenantID |
Entra ID Tenant ID |
$rolename |
Subscription ID |
$PrincipalID |
Principal ID |
$PrincipalName |
Principal name |
$startDateTime |
start time for the removal (immediate if not specified) |