EasyPIM

1.9.0

Manage PIM Azure Resource, PIM Entra role and PIM for Group settings and assignments with simplicity in mind

Installation Options

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

Install-Module -Name EasyPIM

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

Install-PSResource -Name EasyPIM

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) loicmichel. All rights reserved.

Package Details

Author(s)

  • Loïc MICHEL

Tags

Azure PIM EntraID PrivilegedIdentityManagement

Functions

Import-PIMAzureResourcePolicy Get-PIMAzureResourcePolicy Set-PIMAzureResourcePolicy Copy-PIMAzureResourcePolicy Export-PIMAzureResourcePolicy Backup-PIMAzureResourcePolicy Get-PIMAzureResourceActiveAssignment Get-PIMAzureResourceEligibleAssignment New-PIMAzureResourceActiveAssignment New-PIMAzureResourceEligibleAssignment Remove-PIMAzureResourceEligibleAssignment Remove-PIMAzureResourceActiveAssignment Get-PIMEntraRolePolicy Export-PIMEntraRolePolicy Import-PIMEntraRolePolicy Set-PIMEntraRolePolicy Backup-PIMEntraRolePolicy Copy-PIMEntraRolePolicy Get-PIMEntraRoleActiveAssignment Get-PIMEntraRoleEligibleAssignment New-PIMEntraRoleActiveAssignment New-PIMEntraRoleEligibleAssignment Remove-PIMEntraRoleActiveAssignment Remove-PIMEntraRoleEligibleAssignment Get-PIMGroupPolicy Set-PIMGroupPolicy Get-PIMGroupActiveAssignment Get-PIMGroupEligibleAssignment New-PIMGroupActiveAssignment New-PIMGroupEligibleAssignment Remove-PIMGroupActiveAssignment Remove-PIMGroupEligibleAssignment Show-PIMReport Get-PIMAzureResourcePendingApproval Approve-PIMAzureResourcePendingApproval Deny-PIMAzureResourcePendingApproval Get-PIMEntraRolePendingApproval Approve-PIMEntraRolePendingApproval Deny-PIMEntraRolePendingApproval Get-PIMGroupPendingApproval Approve-PIMGroupPendingApproval Deny-PIMGroupPendingApproval Copy-PIMAzureResourceEligibleAssignment Copy-PIMEntraRoleEligibleAssignment Invoke-EasyPIMOrchestrator Get-EasyPIMConfiguration Test-PIMPolicyDrift

Dependencies

Release Notes

v1.9.0 Release Notes:

🚀 MAJOR FEATURE: Policy Orchestrator System
- New Invoke-EasyPIMOrchestrator cmdlet for comprehensive PIM management
- Unified configuration format supporting Azure Roles, Entra Roles, and Groups
- Policy templates and inheritance system for reusable configurations
- Corrected execution flow: policies → cleanup → assignments for compliance
- WhatIf support for validation before applying changes
- Environment variable integration ($env:TENANTID, $env:SUBSCRIPTIONID)

🔧 ENHANCEMENTS:
- Exported drift verification function Test-PIMPolicyDrift (previously internal) for direct module usage (object output + CI friendly FailOnDrift option via wrapper script)
- Robust error handling with graceful failure recovery
- CSV import compatibility between Azure and Entra role formats
- PowerShell 5.1 compatibility improvements
- Enhanced assignment processing with detailed progress reporting
- Comprehensive summary reporting with structured output
- Delta mode cleanup operations

🐛 FIXES:
- Fixed field naming differences (ActiveAssignmentRules vs ActiveAssignmentRequirement)
- Resolved PowerShell 7+ ternary operator compatibility issues
- Improved boolean value parsing in CSV operations
- Enhanced template value resolution in policy configurations

For detailed documentation and examples, visit: https://github.com/kayasax/EasyPIM/wiki

FileList

  • EasyPIM.nuspec
  • EasyPIM.psd1
  • config\enhanced-sample-config.json
  • Documentation\Enhanced-Orchestrator-Policy-Usage.md
  • Documentation\Development\Enhanced-Orchestrator-Policy-Design.md
  • EasyPIM.psm1
  • config\sample-config.json
  • Documentation\Invoke-EasyPIMOrchestrator.md
  • Documentation\Development\INVOKE-GRAPH-SAFETY-CHECKLIST.md
  • LICENSE
  • Documentation\Configuration-Schema.md
  • Documentation\Progressive-Validation-Guide.md
  • Documentation\Development\SessionLearnings.md
  • Documentation\EasyPIM-Orchestrator-Complete-Tutorial.md

Version History

Version Downloads Last updated
1.9.0 (current version) 44 8/13/2025
1.8.4.3 1,073 6/17/2025
1.8.4.2 90 6/10/2025
1.8.4.1 133 6/2/2025
1.8.4 7 6/2/2025
1.8.3 23 5/31/2025
1.8.2.2 438 4/14/2025
1.8 91 4/4/2025
1.7.7 2,347 1/31/2025
1.7.6 4,103 1/8/2025
1.7.5 1,213 12/27/2024
1.7.4 597 12/17/2024
1.7.3 163 12/12/2024
1.7.2 12 12/12/2024
1.7.1 1,752 10/7/2024
1.7 1,386 9/16/2024
1.6.7 169 9/4/2024
1.6.6 1,166 7/23/2024
1.6.5 781 7/2/2024
1.6.4 127 6/26/2024
1.6.3 44 6/24/2024
1.6.2 363 6/5/2024
1.6.1 192 5/24/2024
1.6 115 5/14/2024
1.5.10 68 5/6/2024
1.5.9 40 5/3/2024
1.5.8 41 4/29/2024
1.5.7 36 4/25/2024
1.5.6 336 3/28/2024
1.5.5 29,794 3/27/2024
1.5.4 7 3/27/2024
1.5.3 96 3/20/2024
1.5.2 10 3/20/2024
1.5.1 43 3/18/2024
1.5.0 151 3/8/2024
1.4.0 47 3/7/2024
1.3.0 96 3/4/2024
1.2.3 282 2/13/2024
1.2.2 26 2/12/2024
1.2.1 120 2/5/2024
1.2.0 13 2/5/2024
1.1.0 157 1/26/2024
1.0.2 76 1/24/2024
1.0.1 34 1/22/2024
Show more