Entra-PIM
2.0.6
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.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
- .git\logs\HEAD
- .git\objects\2a\239ea1e0b4c22e279c2721ddeec9dae5fe6c50
- .git\objects\45\f5e2e32e1127facea1b4ec5ff6216ba0aea8d8
- .git\objects\75\350770f9bdda21863851a4da5e0c3512488a80
- .git\objects\9f\e98b03b1f8262d8bd56e8f434e28003a0f01c1
- .git\objects\cd\8e2d7e8f94dd7a9ec35b468b6006e4cb2d1e7a
- .git\objects\e1\a3d48c545245dd4a6d172e457213fe0ffe0538
- .git\objects\pack\pack-4f64c4c9106807bcb21a5eadbb6db06a8c814f0a.pack
- .git\logs\refs\heads\main
- Publish-Module.ps1
- .git\HEAD
- dev-feature\Entra-PIM.ps1
- .git\hooks\post-update.sample
- .git\hooks\pre-receive.sample
- .git\refs\stash
- .git\objects\2b\fdc71d1052bbd8ff679d1770781f68bb0865d7
- .git\objects\49\dcdaa0040014c3908c895e834d90da477fdea8
- .git\objects\7a\bd8c1fd7c501172b983415c234c96ca8ed7a1a
- .git\objects\ab\3228ae6138ef1da800cffd5223921e1a589713
- .git\objects\ce\7abd7c5735fa9e20881a5b92352fb98512d687
- .git\objects\ee\125fe6cd4e30b2d1a0c9d21aa5b47d92084908
- .git\objects\pack\pack-4f64c4c9106807bcb21a5eadbb6db06a8c814f0a.rev
- .git\refs\remotes\origin\HEAD
- Entra-PIM.ps1
- README.md
- .git\index
- dev-feature\PIM-Activation-Browser.ps1
- .git\hooks\pre-applypatch.sample
- .git\hooks\prepare-commit-msg.sample
- .git\logs\refs\stash
- .git\objects\2d\a9de98459d6e6b4743a50b7c790a9f16bf4134
- .git\objects\5c\bb244e5dcf1a6388ec2191d8faa7892e38b49f
- .git\objects\80\06b5149004e337118f6a6fab072e3a2f46428f
- .git\objects\b5\c40b16964895d6cc53d12f542d44c83949f016
- .git\objects\d1\5e46ff70e71309c4a41a07d58d30e862109268
- .git\objects\f7\4702f16926c5c7b381b41481db08c23b5618d3
- .git\refs\heads\dev-feature
- .git\refs\remotes\origin\main
- Entra-PIM.psd1
- .git\COMMIT_EDITMSG
- .git\ORIG_HEAD
- dev-feature\PIM-Global-SelfActivate.ps1
- .git\hooks\pre-commit.sample
- .git\hooks\push-to-checkout.sample
- .git\objects\0f\c18a1e28afb37f1dd4c09b8fe3ad6d7c78d554
- .git\objects\31\bd979b984fc8f517d3644506bedc95d434396c
- .git\objects\61\c70d5521ed2f0809db7ca191e499a23a73e8d2
- .git\objects\80\9fc626964964ec09af5dcff85e785e762201b7
- .git\objects\b6\a4f75b3587b244fdfcc8b17ed29cab5c7ba796
- .git\objects\d8\a5b220fdf113c02cc72f4d9c4aac77d4b57263
- .git\objects\f8\d42fd665708e72690b338ca7acaf81248a1579
- .git\refs\heads\main
- .git\logs\refs\remotes\origin\HEAD
- Entra-PIM.psm1
- .git\config
- .git\packed-refs
- .git\hooks\applypatch-msg.sample
- .git\hooks\pre-merge-commit.sample
- .git\hooks\sendemail-validate.sample
- .git\objects\25\b1713412ce140c0f03c12ad7a6afec15df45d5
- .git\objects\3e\46cdc1e9d0d2724ae32b0c3fab2b6382530c09
- .git\objects\6b\42c61cf3bd28eb27bf565630f95491bcbb3a92
- .git\objects\87\355667fbaf9346f791d1e98b0e7ae262296d14
- .git\objects\c6\5c3983f8924f2a2edbab9646381ff286d8e11d
- .git\objects\dc\0af523acf7fb792d111251d1df20bea915bce0
- .git\objects\pack\pack-4f64c4c9106807bcb21a5eadbb6db06a8c814f0a.idx
- .git\logs\refs\heads\dev-feature
- .git\logs\refs\remotes\origin\main
- LICENSE
- .git\description
- dev-feature\Azure-PIM.ps1
- .git\hooks\commit-msg.sample
- .git\hooks\pre-push.sample
- .git\hooks\update.sample
- .git\objects\29\0b45e76b9e8697f584d3508b57854cb8f55e9a
- msalruntime.dll
- .git\FETCH_HEAD
- dev-feature\Combined-PIM.ps1
- .git\hooks\fsmonitor-watchman.sample
- .git\hooks\pre-rebase.sample
- .git\info\exclude
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 2.0.7 | 7 | 1/14/2026 |
| 2.0.6 (current version) | 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 |