Skip to content

Commit 5f8bb89

Browse files
authored
Merge pull request #25306 from microsoftgraph/membergroupdPermissions
Correct permissions for Get member groups - address customer feedback
2 parents 206d6e2 + 637729c commit 5f8bb89

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

api-reference/beta/api/directoryobject-getmembergroups.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,14 @@ One of the following permissions is required to call this API. To learn more, in
2424

2525
### Group memberships for a directory object
2626

27+
Here, the permission allows you to read *any* directory object, regardless of the object type. To scope the operation to a specific object type and use lesser-privileged permissions, refer to other permissions tables on this page.
28+
2729
<!-- { "blockType": "ignored" } // Note: Removing this line will result in the permissions autogeneration tool overwriting the table. -->
2830
|Permission type | Permissions (from least to most privileged) |
2931
|:--------------------|:---------------------------------------------------------|
30-
|Delegated (work or school account) | User.ReadBasic.All and GroupMember.Read.All, User.Read.All and GroupMember.Read.All, User.ReadBasic.All and Group.Read.All, User.Read.All and Group.Read.All, Directory.Read.All |
32+
|Delegated (work or school account) | Directory.Read.All |
3133
|Delegated (personal Microsoft account) | Not supported. |
32-
|Application | User.Read.All and GroupMember.Read.All, User.Read.All and Group.Read.All, Directory.Read.All |
34+
|Application | Directory.Read.All |
3335

3436
### Group memberships for a user
3537

@@ -38,7 +40,7 @@ One of the following permissions is required to call this API. To learn more, in
3840
|:--------------------|:---------------------------------------------------------|
3941
|Delegated (work or school account) | User.ReadBasic.All and GroupMember.Read.All, User.Read.All and GroupMember.Read.All, User.ReadBasic.All and Group.Read.All, User.Read.All and Group.Read.All, Directory.Read.All |
4042
|Delegated (personal Microsoft account) | Not supported. |
41-
|Application | User.Read.All and GroupMember.Read.All, User.Read.All and Group.Read.All, Directory.Read.All |
43+
|Application | User.ReadBasic.All and GroupMember.Read.All, User.Read.All and GroupMember.Read.All, User.ReadBasic.All and Group.Read.All, User.Read.All and Group.Read.All, Directory.Read.All |
4244

4345
### Group memberships for a group
4446

api-reference/v1.0/api/directoryobject-getmembergroups.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,14 @@ One of the following permissions is required to call this API. To learn more, in
2323

2424
### Group memberships for a directory object
2525

26+
Here, the permission allows you to read *any* directory object, regardless of the object type. To scope the operation to a specific object type and use lesser-privileged permissions, refer to other permissions tables on this page.
27+
2628
<!-- { "blockType": "ignored" } // Note: Removing this line will result in the permissions autogeneration tool overwriting the table. -->
2729
|Permission type | Permissions (from least to most privileged) |
2830
|:--------------------|:---------------------------------------------------------|
29-
|Delegated (work or school account) | User.ReadBasic.All and GroupMember.Read.All, User.Read.All and GroupMember.Read.All, User.ReadBasic.All and Group.Read.All, User.Read.All and Group.Read.All, Directory.Read.All |
31+
|Delegated (work or school account) | Directory.Read.All |
3032
|Delegated (personal Microsoft account) | Not supported. |
31-
|Application | User.Read.All and GroupMember.Read.All, User.Read.All and Group.Read.All, Directory.Read.All |
33+
|Application | Directory.Read.All |
3234

3335
### Group memberships for a user
3436

@@ -37,7 +39,7 @@ One of the following permissions is required to call this API. To learn more, in
3739
|:--------------------|:---------------------------------------------------------|
3840
|Delegated (work or school account) | User.ReadBasic.All and GroupMember.Read.All, User.Read.All and GroupMember.Read.All, User.ReadBasic.All and Group.Read.All, User.Read.All and Group.Read.All, Directory.Read.All |
3941
|Delegated (personal Microsoft account) | Not supported. |
40-
|Application | User.Read.All and GroupMember.Read.All, User.Read.All and Group.Read.All, Directory.Read.All |
42+
|Application | User.ReadBasic.All and GroupMember.Read.All, User.Read.All and GroupMember.Read.All, User.ReadBasic.All and Group.Read.All, User.Read.All and Group.Read.All, Directory.Read.All |
4143

4244
### Group memberships for a group
4345

0 commit comments

Comments
 (0)