Change Azure AD Role Settings using Powershell

Dhillan Kalyan 56 Reputation points


I have been asked by a client to change all the role settings for their PIM requirements.

I have been looking at this for a while trying to figure out whether this can be updated in bulk using PowerShell but I have not found anything as yet.

Is it possible to update these via PowerShell and what would the commands be?

Azure Role-based access control
Azure Role-based access control
An Azure service that provides fine-grained access management for Azure resources, enabling you to grant users only the rights they need to perform their jobs.
698 questions
Microsoft Entra
0 comments No comments
{count} votes

Accepted answer
  1. issau neshiri 76 Reputation points

    Hi i think these PowerShell commands on this Microsoft learn site can help you achieve your goal

2 additional answers

Sort by: Most helpful
  1. Dhillan Kalyan 56 Reputation points

    I have written a script to update certain settings for the roles.

    You can view the script on my GitHub

    1 person found this answer helpful.

  2. Dhillan Kalyan 56 Reputation points


    Is there a way to add notification settings via Powershell? I can't seem to find this anyway?

    0 comments No comments