Updating subscription role settings for PIM to require approver

MrFlinstone 686 Reputation points
2025-05-08T13:32:04.6966667+00:00

I am looking for the documentation on how to set an approver using powershell for a subscription role that uses PIM for groups.

In this scenario, there is a PIM group setup for a subscription role using the eligible configuration, now I would like to add approvers to the configuration. Do I edit the role settings (contributor) in this case or the group settings to configure it such that it requires an approver ?

Any example of the PowerShell or API call would be appreciated.

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
24,554 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Goutam Pratti 4,985 Reputation points Microsoft External Staff Moderator
    2025-05-09T00:03:51.74+00:00

    Hello @MrFlinstone ,

    To set an approver for a subscription role that uses Privileged Identity Management for groups, you will need to edit the role settings for the specific role rather than the group settings. Role settings in PIM define properties such as approval requirements for activation, and these settings are specific to the role assigned to the group.

    Additionally, you want to set an approver using powershell or API for the PIM for groups Check Update rules in PIM using Microsoft Graph in there you have section Example 3: Require approval to activate where explains how to structure params section to be used with Update-MgPolicyRoleManagementPolicyRule

    User's image

    For detailed steps on how to manage role settings and set up the approval workflow, you may want to refer to the Microsoft Entra documentation.

    Hope this information helps. Let us know if you have any additional queries. Happy to assist you further.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.