Hi i think these PowerShell commands on this Microsoft learn site can help you achieve your goal
Change Azure AD Role Settings using Powershell

Dhillan Kalyan
56
Reputation points
Hi
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?
Accepted answer
2 additional answers
Sort by: Most helpful
-
Dhillan Kalyan 56 Reputation points
2022-11-14T14:12:52.82+00:00 I have written a script to update certain settings for the roles.
You can view the script on my GitHub
-
Dhillan Kalyan 56 Reputation points
2022-11-17T07:33:16.693+00:00 Hi
Is there a way to add notification settings via Powershell? I can't seem to find this anyway?