Repository navigation
[0.7.3] - 2026-12-04
The listings now show what the PIM portal's My roles shows, and a deactivation never touches a
permanent assignment.
Get-OPIMDirectoryRole,Get-OPIMEntraIDGroupandGet-OPIMAzureRolewith-Activated(and the
active rows of-All) list every active assignment, as the portal's Active assignments tab does:
your activations and your permanent assignments, held directly or through a group. A role that a
role-assignable group gives you while its membership is active is listed as a permanent
assignment held through that group. Before, only your own activations were listed.- Every active row carries
CanDeactivate: true for an activation, false for a permanent assignment.
Get-OPIMDirectoryRole -Activated | Where-Object CanDeactivatelists what you can deactivate. - The
Disable-cmdlets andDisable-OPIMMyRoledeactivate activations only. A permanent assignment
that is named, piped or given by-Identityis left as it is, with a warning, and no request is
sent; a name held only permanently is reported as such. Piping a listing into aDisable-cmdlet
therefore deactivates the activations and leaves the rest. Tab completion for theDisable-
cmdlets offers activations only. Install-OPIMConfigurationandSet-OPIMConfigurationdo not store a permanent assignment piped
from-Activated: it is skipped with a warning, aspimhas nothing to activate for it.- A permanent assignment does not count as already active:
Enable-cmdlets still request the
activation of an eligibility you also hold permanently, as before. - Listing a role by name returns every active row of it, an activation and a permanent assignment of
the same role at the same scope, instead of refusing the name as ambiguous. - The default tables show the portal's columns: Role, Scope (Resource and Resource type for Azure,
Group and Role for groups), Membership, Condition (Azure), State and End time, which reads
Permanentfor a post without an end. The principal column is gone; every property is still on
the object. Rows gainMembership,StateandEndTime, and Azure rowsResourceTypeand
ViaGroup, the group an Azure eligibility or permanent assignment is held through. The portal's
Group type column is not shown: the module's Microsoft Graph permissions cannot read it. Enable-OPIMAzureRoleactivates an Azure role you are eligible for through a group. Azure Resource
Manager refused the request before, as it named the group; it now names your own account, and the
role is activated for you alone.