Forum Discussion
RahamimL
Jul 26, 2023Iron Contributor
Azure PIM with Microsoft Graph Command Line Tools
Hi everyone,
We are using a powershell script when onboarding \ offboarding users.
The script uses these modules: AzureAD, ExchangeOnlineManagement, MSOL, MicrosoftTeams, Microsoft.Online.Sharepoint.
Since AzureAD and MSOL will be deprecated, I started migrating our script to the MgGraph module.
My problem \ question is: How can I use PIM with MgGraph? The reason I'm asking is because if the app has user consented to permissions how does "Just in time" work in this case?
Thanks, Rahamim.
Check out sesssion BRK2008 - Understand your users: what's new in Office 365 Usage Reporting from Ignite. If you are using Office 365, there is a PowerBI Content Pack coming soon that is awesome!
1 Reply
Sort By
- RahamimLIron ContributorTo anyone who needs this.
Checked what happens when the user running the script has consent but is without the admin roles and the desired result is achieved. Meaning, even if there is a user consent, no action can be made on the user unless PIM is enforced.