Omnicit.PIM

0.7.1

Entra ID Privileged Identity Management (PIM) Self Activation Commands for Directory Roles, Azure Resources, and Entra ID Groups

Minimum PowerShell version

7.4

There is a newer prerelease version of this module available.
See the version list below for details.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name Omnicit.PIM -RequiredVersion 0.7.1

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name Omnicit.PIM -Version 0.7.1

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) Omnicit. All rights reserved.

Package Details

Author(s)

  • Omnicit (originally by Justin Grote @justinwgrote)

Tags

PIM Azure EntraID Identity Privileged Windows MacOS Linux

Functions

Connect-OPIM Disable-OPIMAzureRole Disable-OPIMDirectoryRole Disable-OPIMEntraIDGroup Disable-OPIMMyRole Disconnect-OPIM 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

Core

Dependencies

Release Notes

## [0.7.1] - 2026-10-11

Microsoft Graph now signs in through AzAuth's `Get-AzToken`, as Azure already did, and the module
builds no MSAL client of its own. 0.7.0 could not sign in when a Microsoft.Graph.Authentication
newer than 2.36.0 was loaded beside AzAuth: `Connect-OPIM`, `pim` and every other command that signs
in failed with "Could not load file or assembly 'Microsoft.IdentityModel.Abstractions,
Version=8.14.0.0, ...'" and "Failed to build MSAL PublicClientApplication via reflection". This
version signs in with any Microsoft.Graph.Authentication from 2.36.0 on, imported before or after
AzAuth, so the workaround for 0.7.0
(`Import-Module Microsoft.Graph.Authentication -RequiredVersion 2.36.0` before Omnicit.PIM) is no
longer needed. A first sign-in asks as before: one browser window or one device code for Microsoft
Graph, and one more for Azure with `-IncludeARM`, and a token with more than five minutes left is
still reused without asking. What changes is the renewal: a token near its expiry, or one Microsoft
Graph rejects, now signs in again, in a browser window or with a new device code, where 0.7.0 often
renewed it silently, and a token Azure rejects now signs in to both Microsoft Graph and Azure again.
A failed Microsoft Graph sign-in is still `InteractiveAuthFailed` or `DeviceCodeAuthFailed`; the
MSAL errors `MsalAssemblyNotFound`, `MsalBuilderTypeNotFound`, `MsalBuildFailed` and
`MsalWithClaimsNotFound` no longer occur.

FileList

Version History

Version Downloads Last updated
0.7.2-previe... 3 10/11/2026
0.7.1 (current version) 4 10/11/2026
0.7.1-previe... 4 10/11/2026
0.7.1-previe... 3 10/11/2026
0.7.0 10 10/11/2026
0.7.0-previe... 3 10/11/2026
0.7.0-previe... 3 10/10/2026
0.7.0-previe... 3 10/10/2026
0.7.0-previe... 3 10/10/2026
0.7.0-previe... 3 10/9/2026
0.7.0-previe... 2 10/9/2026
0.6.1-previe... 3 10/9/2026
0.6.1-previe... 4 10/9/2026
0.6.0 9 10/9/2026
0.6.0-previe... 8 10/8/2026
0.6.0-previe... 3 10/8/2026
0.6.0-previe... 3 10/8/2026
0.6.0-previe... 4 10/7/2026
0.6.0-previe... 4 10/7/2026
0.5.2-previe... 5 10/6/2026
0.5.2-previe... 5 10/6/2026
0.5.1 85 5/29/2026
0.5.1-previe... 4 5/29/2026
0.5.0 12 5/27/2026
0.5.0-previe... 8 5/27/2026
0.5.0-previe... 6 5/27/2026
0.4.0 20 4/21/2026
0.4.0-previe... 7 4/21/2026
0.4.0-previe... 4 4/20/2026
0.4.0-previe... 5 4/19/2026
0.3.1 9 4/16/2026
0.3.1-previe... 3 4/16/2026
0.3.1-previe... 3 4/16/2026
0.3.1-previe... 4 4/16/2026
0.3.0 5 4/16/2026
0.3.0-previe... 13 4/15/2026
0.3.0-previe... 7 4/14/2026
0.3.0-previe... 3 4/14/2026
0.3.0-previe... 3 4/13/2026
0.3.0-previe... 5 4/2/2026
0.3.0-previe... 3 4/2/2026
Show more