Forum Discussion

RahamimL's avatar
RahamimL
Iron Contributor
Jul 26, 2023
Solved

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.Sharep...
  • RahamimL's avatar
    Jul 27, 2023
    To 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.

Resources