Skip to content

Commit 8ee2fab

Browse files
authored
Merge pull request #25429 from microsoftgraph/rbac-users-sponsors
Entra admin roles - users - sponsors
2 parents 9baf014 + 1356ddc commit 8ee2fab

10 files changed

+56
-0
lines changed

api-reference/beta/api/user-delete-sponsors.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ Choose the permission or permissions marked as least privileged for this API. Us
2222
<!-- { "blockType": "permissions", "name": "user_delete_sponsors" } -->
2323
[!INCLUDE [permissions-table](../includes/permissions/user-delete-sponsors-permissions.md)]
2424

25+
[!INCLUDE [rbac-user-sponsors-apis-write](../includes/rbac-for-apis/rbac-user-sponsors-apis-write.md)]
26+
2527
## HTTP request
2628

2729
<!-- {

api-reference/beta/api/user-list-sponsors.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ Choose the permission or permissions marked as least privileged for this API. Us
2626

2727
[!INCLUDE [limited-info](../../includes/limited-info.md)]
2828

29+
[!INCLUDE [rbac-user-sponsors-apis-read](../includes/rbac-for-apis/rbac-user-sponsors-apis-read.md)]
30+
2931
## HTTP request
3032

3133
Get sponsors.

api-reference/beta/api/user-post-sponsors.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ Choose the permission or permissions marked as least privileged for this API. Us
2222
<!-- { "blockType": "permissions", "name": "user_post_sponsors" } -->
2323
[!INCLUDE [permissions-table](../includes/permissions/user-post-sponsors-permissions.md)]
2424

25+
[!INCLUDE [rbac-user-sponsors-apis-write](../includes/rbac-for-apis/rbac-user-sponsors-apis-write.md)]
26+
2527
## HTTP request
2628

2729
<!-- {
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
author: sadia353
3+
ms.topic: include
4+
---
5+
6+
> [!IMPORTANT]
7+
>
8+
> In delegated scenarios with work or school accounts, the signed-in user must be assigned a supported [Microsoft Entra role](/entra/identity/role-based-access-control/permissions-reference?toc=%2Fgraph%2Ftoc.json) or a custom role with the `microsoft.directory/users/sponsors/read` role permission. The following least privileged roles are supported for this operation:
9+
> - Guest Inviter
10+
> - Directory Readers
11+
> - Directory Writers
12+
> - User Administrator
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
author: sadia353
3+
ms.topic: include
4+
---
5+
6+
> [!IMPORTANT]
7+
>
8+
> In delegated scenarios with work or school accounts, the signed-in user must be assigned a supported [Microsoft Entra role](/entra/identity/role-based-access-control/permissions-reference?toc=%2Fgraph%2Ftoc.json) or a custom role with the `microsoft.directory/users/sponsors/update` role permission. The following least privileged roles are supported for this operation:
9+
> - Directory Writers
10+
> - User Administrator

api-reference/v1.0/api/user-delete-sponsors.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ Choose the permission or permissions marked as least privileged for this API. Us
2020
<!-- { "blockType": "permissions", "name": "user_delete_sponsors" } -->
2121
[!INCLUDE [permissions-table](../includes/permissions/user-delete-sponsors-permissions.md)]
2222

23+
[!INCLUDE [rbac-user-sponsors-apis-write](../includes/rbac-for-apis/rbac-user-sponsors-apis-write.md)]
24+
2325
## HTTP request
2426

2527
<!-- {

api-reference/v1.0/api/user-list-sponsors.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ Choose the permission or permissions marked as least privileged for this API. Us
2424

2525
[!INCLUDE [limited-info](../../includes/limited-info.md)]
2626

27+
[!INCLUDE [rbac-user-sponsors-apis-read](../includes/rbac-for-apis/rbac-user-sponsors-apis-read.md)]
28+
2729
## HTTP request
2830

2931
Get sponsors.

api-reference/v1.0/api/user-post-sponsors.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ Choose the permission or permissions marked as least privileged for this API. Us
2020
<!-- { "blockType": "permissions", "name": "user_post_sponsors" } -->
2121
[!INCLUDE [permissions-table](../includes/permissions/user-post-sponsors-permissions.md)]
2222

23+
[!INCLUDE [rbac-user-sponsors-apis-write](../includes/rbac-for-apis/rbac-user-sponsors-apis-write.md)]
24+
2325
## HTTP request
2426

2527
<!-- {
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
author: sadia353
3+
ms.topic: include
4+
---
5+
6+
> [!IMPORTANT]
7+
>
8+
> In delegated scenarios with work or school accounts, the signed-in user must be assigned a supported [Microsoft Entra role](/entra/identity/role-based-access-control/permissions-reference?toc=%2Fgraph%2Ftoc.json) or a custom role with the `microsoft.directory/users/sponsors/read` role permission. The following least privileged roles are supported for this operation:
9+
> - Guest Inviter
10+
> - Directory Readers
11+
> - Directory Writers
12+
> - User Administrator
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
author: sadia353
3+
ms.topic: include
4+
---
5+
6+
> [!IMPORTANT]
7+
>
8+
> In delegated scenarios with work or school accounts, the signed-in user must be assigned a supported [Microsoft Entra role](/entra/identity/role-based-access-control/permissions-reference?toc=%2Fgraph%2Ftoc.json) or a custom role with the `microsoft.directory/users/sponsors/update` role permission. The following least privileged roles are supported for this operation:
9+
> - Directory Writers
10+
> - User Administrator

0 commit comments

Comments
 (0)