Omnicit.PIM
0.3.0-preview0001
Entra ID Privileged Identity Management (PIM) Self Activation Commands for Directory Roles, Azure Resources, and Entra ID Groups
Minimum PowerShell version
7.2
See the version list below for details.
Installation Options
Owners
Copyright
(c) Omnicit. All rights reserved.
Package Details
Author(s)
- Omnicit (originally by Justin Grote @justinwgrote)
Tags
PIM Azure EntraID ActiveDirectory Identity Privileged
Functions
Disable-OPIMAzureRole Disable-OPIMDirectoryRole Disable-OPIMEntraIDGroup Enable-OPIMAzureRole Enable-OPIMDirectoryRole Enable-OPIMEntraIDGroup Enable-OPIMMyRole Get-OPIMAzureRole Get-OPIMConfiguration Get-OPIMDirectoryRole Get-OPIMEntraIDGroup Install-OPIMConfiguration Remove-OPIMConfiguration Set-OPIMConfiguration Wait-OPIMDirectoryRole
PSEditions
Dependencies
-
- Az.Resources (>= 9.0.3)
- Microsoft.Graph.Authentication (>= 2.36.0)
Release Notes
## [0.3.0-preview0001] - 2026-04-02
### Added
- `Get-OPIMConfiguration` — reads the TenantMap.psd1 file and returns typed `Omnicit.PIM.TenantConfiguration` objects (one per alias). Supports `-TenantAlias` filter and `-TenantMapPath` override. Alias: `Get-PIMConfig`.
- `Set-OPIMConfiguration` — updates an existing tenant alias entry. Accepts `-TenantId` to change the GUID and pipeline input from `Get-OPIMDirectoryRole`, `Get-OPIMEntraIDGroup`, or `Get-OPIMAzureRole` to replace stored role/group lists. Categories not supplied via pipeline are preserved. Supports `-WhatIf`/`-Confirm`. Alias: `Set-PIMConfig`.
- `Remove-OPIMConfiguration` — removes a single tenant alias from the TenantMap.psd1 file while preserving all other entries. Supports `-WhatIf`/`-Confirm`. Alias: `Remove-PIMConfig`.
- `Export-OPIMTenantMap` (private) — shared PSD1 serializer extracted from `Install-OPIMConfiguration` and reused by `Set-OPIMConfiguration` and `Remove-OPIMConfiguration`.
- `Omnicit.PIM.TenantConfiguration` type with script properties `DirectoryRoleCount`, `EntraIDGroupCount`, and `AzureRoleCount` for concise table display.
### Changed
- **BREAKING** — `Install-OPIMConfiguration` is now a create-only operation. It emits a non-terminating error if the alias already exists and instructs the user to call `Set-OPIMConfiguration` instead.
- **BREAKING** — the `-Force` parameter has been removed from `Install-OPIMConfiguration`. Update semantics (including category preservation) are now handled by `Set-OPIMConfiguration`.
- `Install-OPIMConfiguration` now delegates PSD1 serialization to the new private helper `Export-OPIMTenantMap`.
### Removed
- The `-Force` switch on `Install-OPIMConfiguration` has been removed (see Changed above).
### Fixed
- For any bug fix.
### Security
- In case of vulnerabilities.
FileList
- Omnicit.PIM.nuspec
- Omnicit.PIM.psm1
- Formats\Omnicit.PIM.GroupEligibilitySchedule.Format.ps1xml
- Formats\Omnicit.PIM.DirectoryAssignmentScheduleRequest.Format.ps1xml
- Omnicit.PIM.psd1
- Formats\Omnicit.PIM.GroupEligibilitySchedule.Types.ps1xml
- Formats\Omnicit.PIM.DirectoryEligibilitySchedule.Format.ps1xml
- Formats\Omnicit.PIM.DirectoryAssignmentScheduleInstance.Format.ps1xml
- Formats\Omnicit.PIM.AzureAssignmentScheduleInstance.Types.ps1xml
- Formats\Omnicit.PIM.TenantConfiguration.Types.ps1xml
- Formats\Omnicit.PIM.GroupAssignmentScheduleRequest.Format.ps1xml
- Formats\Omnicit.PIM.DirectoryEligibilitySchedule.Types.ps1xml
- Formats\Omnicit.PIM.AzureEligibilitySchedule.Format.ps1xml
- Formats\Omnicit.PIM.DirectoryAssignmentScheduleRequest.Types.ps1xml
- Formats\Omnicit.PIM.GroupAssignmentScheduleInstance.Format.ps1xml
- Formats\Omnicit.PIM.TenantConfiguration.Format.ps1xml
- Formats\Omnicit.PIM.AzureAssignmentScheduleInstance.Format.ps1xml
- Formats\README.md
- Formats\Omnicit.PIM.DirectoryAssignmentScheduleInstance.Types.ps1xml
- Formats\Omnicit.PIM.GroupAssignmentScheduleInstance.Types.ps1xml
- Formats\Omnicit.PIM.GroupAssignmentScheduleRequest.Types.ps1xml
- Formats\RoleAssignmentScheduleRequest.Format.ps1xml
- Formats\Omnicit.PIM.AzureEligibilitySchedule.Types.ps1xml
- en-US\about_Omnicit.PIM.help.txt
- Formats\RoleAssignmentScheduleRequest.Types.ps1xml
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 0.3.0-previe... | 2 | 4/2/2026 |
| 0.3.0-previe... (current version) | 2 | 4/2/2026 |