🚀 Scaling Azure PIM with One Command: Meet EasyPIM

Loïc MichelLoïc Michel
2 min read

🧭Why do I need a module?

Managing Azure PIM roles across hundreds—or thousands—of users shouldn't be a manual nightmare. If you've ever felt the pain of clicking endlessly through the Azure Portal just to assign or revoke roles, you're not alone.

That’s why I built EasyPIM—a command-line tool that simplifies and scales PIM operations across Entra, Azure RBAC, and Groups.

The module project is hosted on GitHub: kayasax/EasyPIM: EasyPIM let you manage PIM Azure Resource, Entra Role and Groups settings and assignments with simplicity


🧨 The Problem with Portal-Based PIM

The Azure Portal is great for one-off tasks. But when you're managing:

  • Dozens of subscriptions

  • Hundreds of users

  • Thousands of role assignments

...the portal becomes a bottleneck. It's slow, repetitive, and error-prone.


🛠️ Enter EasyPIM

EasyPIM is a CLI tool designed to make PIM management fast, scriptable, and scalable.

No other tools are needed, EasyPIM speaks Graph and ARM APIs and covers all usage across Entra and Azure.

Whether you want to configure policies in bulk, backup your configuration, create or delete an assignment there is a command for that!

✨ Features:

  • ✅ Unified syntax

  • ✅ Bulk operations via CSV

  • ✅ Automation-friendly

  • ✅ Works across Entra, Azure RBAC, and Groups


📌 Real-World Use Case

A quick video showcasing how easily you can answer the question "who is eligible for X role?"

Need to assign a role to 100 users?

With EasyPIM, it's just one command:

$users | foreach-object {   
    New-PIMAzureResourceEligibleAssignment -tenantID $TenantID -subscriptionID $SubscriptionID -principalID $_ -rolename "AcrPull" -justification "demo" -duration "P90D"
}

No more clicking. No more fatigue.


⚙️ Try It Yourself

You can get started in minutes:

Check out the GitHub repo for docs, examples, and community support.


💬 Final Thoughts

If you're ready to scale your PIM operations and reclaim your time, give EasyPIM a try. We’d love your feedback, ideas, and contributions! ```

0
Subscribe to my newsletter

Read articles from Loïc Michel directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Loïc Michel
Loïc Michel