Entra-PIM
2.0.7
Minimum PowerShell version
7.0
Installation Options
Owners
Copyright
(c) 2025. All rights reserved.
Package Details
Author(s)
- markorr321
Tags
Entra PIM Azure Identity Governance MicrosoftGraph Privileged RoleManagement AzureResources CrossPlatform macOS
Functions
Dependencies
This module has no dependencies.
Release Notes
## 2.0.7
- Additional macOS compatibility improvements
## 2.0.6
- Fixed macOS auto-exit issue - clear input buffer after setting TreatControlCAsInput
## 2.0.5
- Fixed Ctrl+C not working on macOS - now properly captures as keyboard input
- Added TreatControlCAsInput for macOS/Linux platforms
- Ctrl+C now works as quit shortcut alongside Ctrl+Q on all platforms
## 2.0.4
- Fixed exit behavior - no longer kills parent apps like VS Code or Windows Terminal
- Only terminates parent PowerShell processes when running nested
## 2.0.3
- Performance optimization: REST API calls with $select for faster role loading
- Fixed deactivation workflow - includes all required fields (PrincipalId, DirectoryScopeId)
- Fixed terminal exit behavior - properly closes terminal on exit
- Simplified input prompts with inline cursor positioning
- Azure PIM: Better subscription discovery via PIM eligible roles API
## 2.0.2
- Handle Ctrl+C gracefully with proper disconnect from Graph/Azure
## 2.0.1
- Fix activation status detection for roles with pending requests
## 2.0.0
- **MAJOR**: Added Azure Resource role support alongside Entra ID roles
- Workflow selector to choose between Entra ID and Azure Resource PIM
- Cross-platform support for Windows and macOS
- Browser-based authentication with ForceLogin prompt
- Dynamic keyboard shortcuts based on platform
- Silent prerequisite checking (only shows output when modules need installing)
## 1.6.0
- Added step-up authentication support for PIM role activations
- Handles MFA/claims challenges automatically when activating privileged roles
## 1.5.0
- Added auto-installation of required modules (Az.Accounts, Microsoft.Graph)
- Script now automatically installs missing dependencies on first run
## 1.4.0
- Switched to WAM (Windows Account Manager) authentication for native SSO
- Removed app registration dependency - uses Microsoft public client ID
- Renamed script to Entra-PIM.ps1
- Code cleanup and optimizations
## 1.3.2
- Bug fixes
## 1.3.1
- Fixed project URLs in manifest
## 1.3.0
- Removed Microsoft.Graph.Users dependency
- Fixed module loading issues
- Improved error handling for module imports
## 1.2.0
- Performance optimizations
- Bug fixes
## 1.0.0
- Initial release
- Browser-based authentication with PKCE
- Role activation and deactivation workflows
- Interactive TUI for role selection
- Caching for optimized API calls
FileList
- Entra-PIM.nuspec
- LICENSE
- msalruntime.dll
- dev-feature\Azure-PIM.ps1
- .git\HEAD
- .git\COMMIT_EDITMSG
- .git\hooks\pre-rebase.sample
- .git\hooks\fsmonitor-watchman.sample
- .git\hooks\pre-merge-commit.sample
- .git\hooks\push-to-checkout.sample
- .git\objects\pack\pack-adfbba7349434db39c8429be669285be7b2be966.idx
- .git\objects\64\d25e5305a3da26bb62cd416061bd5518ea18f2
- .git\refs\remotes\origin\HEAD
- Entra-PIM.ps1
- Publish-Module.ps1
- dev-feature\PIM-Global-SelfActivate.ps1
- .git\description
- .git\info\exclude
- .git\hooks\sendemail-validate.sample
- .git\hooks\pre-receive.sample
- .git\hooks\pre-applypatch.sample
- .git\objects\9e\2bcd01a779930041b95a3d9ffa4810ada77f9f
- .git\objects\pack\pack-adfbba7349434db39c8429be669285be7b2be966.rev
- .git\objects\dc\4e1298abb14ef7e33d2c1b9b9a83d42973a029
- .git\refs\remotes\origin\main
- Entra-PIM.psd1
- dev-feature\PIM-Activation-Browser.ps1
- dev-feature\Combined-PIM.ps1
- .git\index
- .git\logs\HEAD
- .git\hooks\pre-commit.sample
- .git\hooks\prepare-commit-msg.sample
- .git\hooks\pre-push.sample
- .git\objects\3d\25fb4bdc5f3ee7dc7e0c2321752e71134eb43f
- .git\objects\pack\pack-adfbba7349434db39c8429be669285be7b2be966.pack
- .git\refs\heads\main
- .git\logs\refs\remotes\origin\HEAD
- Entra-PIM.psm1
- .claude\settings.local.json
- dev-feature\Entra-PIM.ps1
- .git\config
- .git\packed-refs
- .git\hooks\commit-msg.sample
- .git\hooks\applypatch-msg.sample
- .git\hooks\post-update.sample
- .git\hooks\update.sample
- .git\objects\bc\32dab25a3af7a914ccd5661819e572957412d7
- .git\objects\1f\53f7e01b8992529f3bc9e259883bf8ea698ec0
- .git\logs\refs\heads\main
- .git\logs\refs\remotes\origin\main
- README.md
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 2.0.7 (current version) | 7 | 1/14/2026 |
| 2.0.6 | 10 | 1/14/2026 |
| 2.0.5 | 6 | 1/14/2026 |
| 2.0.4 | 7 | 1/13/2026 |
| 2.0.3 | 5 | 1/13/2026 |
| 2.0.2 | 8 | 1/13/2026 |
| 2.0.1 | 5 | 1/13/2026 |
| 2.0.0 | 6 | 1/13/2026 |
| 1.7.0 | 8 | 1/12/2026 |
| 1.6.2 | 20 | 12/30/2025 |
| 1.6.1 | 4 | 12/30/2025 |
| 1.6.0 | 7 | 12/29/2025 |
| 1.5.0 | 7 | 12/29/2025 |
| 1.4.0 | 6 | 12/29/2025 |
| 1.3.2 | 5 | 12/29/2025 |
| 1.3.1 | 7 | 12/27/2025 |
| 1.3.0 | 4 | 12/27/2025 |
| 1.2.0 | 7 | 12/27/2025 |
| 1.1.0 | 5 | 12/27/2025 |
| 1.0.0 | 5 | 12/27/2025 |