Skip to content

Commit 5df3b0c

Browse files
authored
Merge pull request #25697 from msewaweru/deviceregpolicy-roles
Entra roles - Device registration policy APIs
2 parents a337ff9 + 299d1ca commit 5df3b0c

File tree

4 files changed

+22
-7
lines changed

4 files changed

+22
-7
lines changed

api-reference/beta/api/deviceregistrationpolicy-get.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,7 @@ Choose the permission or permissions marked as least privileged for this API. Us
2222
<!-- { "blockType": "permissions", "name": "deviceregistrationpolicy_get" } -->
2323
[!INCLUDE [permissions-table](../includes/permissions/deviceregistrationpolicy-get-permissions.md)]
2424

25-
When calling on behalf of a user, the user needs to belong to the following [Microsoft Entra roles](/entra/identity/role-based-access-control/permissions-reference?toc=%2Fgraph%2Ftoc.json):
26-
+ Global Reader
27-
+ Cloud Device Administrator
28-
+ Intune Administrator
29-
+ Windows 365 Administrator
30-
+ Directory Reviewer
25+
[!INCLUDE [rbac-device-registration-policy-apis-read](../includes/rbac-for-apis/rbac-device-registration-policy-apis-read.md)]
3126

3227
## HTTP request
3328

api-reference/beta/api/deviceregistrationpolicy-update.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Choose the permission or permissions marked as least privileged for this API. Us
2121
<!-- { "blockType": "permissions", "name": "deviceregistrationpolicy_update" } -->
2222
[!INCLUDE [permissions-table](../includes/permissions/deviceregistrationpolicy-update-permissions.md)]
2323

24-
When calling on behalf of a user, the user needs the *Cloud Device Administrator* [Microsoft Entra role](/entra/identity/role-based-access-control/permissions-reference?toc=%2Fgraph%2Ftoc.json).
24+
[!INCLUDE [rbac-device-registration-policy-apis-update](../includes/rbac-for-apis/rbac-device-registration-policy-apis-update.md)]
2525

2626
## HTTP request
2727

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
author: msewaweru
3+
ms.topic: include
4+
---
5+
6+
> [!IMPORTANT]
7+
> 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 a supported role permission. The following least privileged roles are supported for this operation.
8+
> - Global Reader
9+
> - Cloud Device Administrator
10+
> - Intune Administrator
11+
> - Windows 365 Administrator
12+
> - Directory Reviewer
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
author: msewaweru
3+
ms.topic: include
4+
---
5+
6+
> [!IMPORTANT]
7+
> 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 a supported role permission. The following least privileged role is supported for this operation.
8+
> - Cloud Device Administrator

0 commit comments

Comments
 (0)