Share via

Through Azure Portal, the application should be allowed to add members on the specified security group resource and restricted from modifying other security groups.

Pratik Jain 0 Reputation points
2023-06-07T20:13:17.58+00:00

Steps Taken:

1.App Registrations done

2.Add permissions such as "GroupMember.ReadWrite.All","Directory.Write.Restricted".

Request: I kindly request your guidance and assistance in achieving this requirement. Specifically, I would appreciate information on the following:

Is there a specific Microsoft Graph API permission or Azure AD RBAC option that allows restriction of adding members to a specific security group resource?

If such a permission or option is not available, could you please provide recommendations or best practices for implementing the desired restriction within our application through Azure Portal?

Any documentation, code samples, or steps you can provide would be immensely helpful in resolving this issue. If there are any additional details or information required, please let me know, and I will be happy to provide them.

Thank you very much for your attention to this matter. I look forward to your assistance.

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.

Microsoft Security | Microsoft Entra | Microsoft Entra ID
Microsoft Security | Microsoft Graph
0 comments No comments

1 answer

Sort by: Most helpful
  1. Carlos Solís Salazar 18,376 Reputation points MVP
    2023-06-08T11:42:29.0666667+00:00

    Thank you for asking this question on the Microsoft Q&A Platform.

    You need to assign a role in Azure AD, not create an App Registration

    There is a Built-in that can do those activities

    User's image

    If you want more granularity in permissions, you must create and assign a Custom Role (To create custom rules you require Azure AD Premium P1/P2) you can use as a baseline the built-in Group administrator role

    User's image

    Then, you Assign Azure AD roles to your selected group

    Hope this helps!


    Accept Answer and Upvote, if any of the above helped, this thread can help others in the community looking for remediation for similar issues.

    NOTE: To answer you as quickly as possible, please mention me in your reply.


Your answer

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