From 0523f2a4b51490bb6bc4409bf78b20f678ff24c4 Mon Sep 17 00:00:00 2001 From: Mukesh Kumar <88828216+mukeshk-ms@users.noreply.github.com> Date: Wed, 27 Mar 2024 12:23:06 +0000 Subject: [PATCH 1/3] Update user-list-memberof.md Clarify that Application permission is supported for "GET /users/{id | userPrincipalName}/memberOf" request but doesn't work for "GET /me/memberOf". Current permission information is misleading that Application permission is not supported. --- api-reference/v1.0/api/user-list-memberof.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/api-reference/v1.0/api/user-list-memberof.md b/api-reference/v1.0/api/user-list-memberof.md index 92ae25498e7..26d8ca7e8ce 100644 --- a/api-reference/v1.0/api/user-list-memberof.md +++ b/api-reference/v1.0/api/user-list-memberof.md @@ -23,7 +23,9 @@ Choose the permission or permissions marked as least privileged for this API. Us [!INCLUDE [permissions-table](../includes/permissions/user-list-memberof-permissions.md)] -> **Note:** To list the members of a group with hidden membership, the Member.Read.Hidden permission is required. +> [!TIP] +> 1. Calling the `/me/memberOf` endpoint requires a signed-in user and therefore a delegated permission. Application permissions are not supported when using the `/me/memberOf` endpoint. +> 2. To list the members of a group with hidden membership, the Member.Read.Hidden permission is required. [!INCLUDE [limited-info](../../includes/limited-info.md)] From 1e40ccc72d85febface08e0c5f16feca34633887 Mon Sep 17 00:00:00 2001 From: Laura Graham Date: Wed, 27 Mar 2024 19:46:05 -0700 Subject: [PATCH 2/3] Update user-list-memberof.md --- api-reference/v1.0/api/user-list-memberof.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api-reference/v1.0/api/user-list-memberof.md b/api-reference/v1.0/api/user-list-memberof.md index 26d8ca7e8ce..15a354e9f16 100644 --- a/api-reference/v1.0/api/user-list-memberof.md +++ b/api-reference/v1.0/api/user-list-memberof.md @@ -24,8 +24,8 @@ Choose the permission or permissions marked as least privileged for this API. Us [!INCLUDE [permissions-table](../includes/permissions/user-list-memberof-permissions.md)] > [!TIP] -> 1. Calling the `/me/memberOf` endpoint requires a signed-in user and therefore a delegated permission. Application permissions are not supported when using the `/me/memberOf` endpoint. -> 2. To list the members of a group with hidden membership, the Member.Read.Hidden permission is required. +> - Calling the `/me/memberOf` endpoint requires a signed-in user and therefore a delegated permission. Application permissions are not supported when you use the `/me/memberOf` endpoint. +> - To list the members of a group with hidden membership, the `Member.Read.Hidden` permission is required. [!INCLUDE [limited-info](../../includes/limited-info.md)] From 9ac8f18243f2261a743cf2ddb86c8080ac43d454 Mon Sep 17 00:00:00 2001 From: Laura Graham Date: Wed, 27 Mar 2024 19:46:51 -0700 Subject: [PATCH 3/3] Update user-list-memberof.md --- api-reference/beta/api/user-list-memberof.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/api-reference/beta/api/user-list-memberof.md b/api-reference/beta/api/user-list-memberof.md index 8c6213aea11..d466710aa15 100644 --- a/api-reference/beta/api/user-list-memberof.md +++ b/api-reference/beta/api/user-list-memberof.md @@ -27,6 +27,10 @@ Choose the permission or permissions marked as least privileged for this API. Us [!INCLUDE [limited-info](../../includes/limited-info.md)] +> [!TIP] +> - Calling the `/me/memberOf` endpoint requires a signed-in user and therefore a delegated permission. Application permissions are not supported when you use the `/me/memberOf` endpoint. +> - To list the members of a group with hidden membership, the `Member.Read.Hidden` permission is required. + ## HTTP request