1. Install and authenticate
Install the module from the PowerShell Gallery, load it, then connect to Azure and Microsoft Graph with your preferred identity.
Install-Module EasyPIM -Scope CurrentUser
Import-Module EasyPIM
"
Stage 1 · Bulk Management
Skip portal limitations and Graph/ARM guesswork—run the EasyPIM cmdlets that baseline policies, audit assignments, and move configurations across tenants long before you need templates.
Use this starter flow to roll EasyPIM Core into operations within hours.
Install the module from the PowerShell Gallery, load it, then connect to Azure and Microsoft Graph with your preferred identity.
Install-Module EasyPIM -Scope CurrentUser
Import-Module EasyPIM
Use the built-in `Export-PIM*` cmdlets so policy requirements, notifications, and eligibility settings are archived before you touch production.
Export-PIMEntraRolePolicy -TenantId $tenantId -RoleName "Security Administrator" `
-Path "./baselines/entra-security-admin-policy.csv"
Export-PIMAzureResourcePolicy -TenantId $tenantId -SubscriptionId $subscriptionId `
-RoleName "Reader","Contributor" -ExportFilename "./baselines/subscription-rbac-policy.csv"
Use WhatIf and scoped cmdlets to adjust policies, add assignments, and clean up stale access with confidence.
Set-PIMEntraRolePolicy -TenantId $tenantId -RoleName "Security Administrator" `
-ActivationRequirement "Justification","Ticketing" -WhatIf
New-PIMAzureResourceEligibleAssignment -TenantId $tenantId -SubscriptionId $subscriptionId `
-RoleName "Contributor" -PrincipalName "user@contoso.com"
Remove-PIMEntraRoleEligibleAssignment -TenantId $tenantId -RoleName "Security Reader" `
-PrincipalName "user@contoso.com"
Focus on these scenarios to deliver immediate value while building confidence for Stage 2.
Keep role settings aligned with governance standards using the same cmdlets operations and auditors rely on.
Provision, review, and retire privileged access from a single module without portal hopping.
Standardize experience by reusing proven policies and eligibilities wherever your teams operate.
Store exports securely and verify they can be restored on demand. Document the process for auditors.
Schedule bulk updates during approved windows and capture summary reports for change control.
Record key metrics—number of assignments, cleanup deltas, response time—to measure improvement in later stages.
When exports, restores, and cleanup runs are second nature, move to EasyPIM.Orchestrator to codify policies and approvals.