Remove‐PIMEntraRoleEligibleAssignment - kayasax/EasyPIM GitHub Wiki

Description:

Remove Eligible assignement defined for $rolename and principalID $principalID

Samples:

:large_blue_diamond: Remove the eligible assignment for the role Arcpush and principal $principalID, at a specific date

    PS> Remove-PIMEntraRoleAEligibleAssignment -tenantID $tenantID -rolename "AcrPush" -principalID 3604fe63-cb67-4b60-99c9-707d46ab9092  -startDateTime "2/2/2024 18:20"

:large_blue_diamond: Remove the active assignement for the role webmaster and username "loic"

    PS> Remove-PIMEntraRoleEligibleAssignment -tenantID $tenantID -rolename "webmaster" -principalname "loic" -justification 'TEST'

Parameters:

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)