Skip to content

Commit 124d8de

Browse files
authored
Update authorization-requestdenied-403-error-add-user-group.md
Edit review per CI 5502
1 parent 12374b5 commit 124d8de

1 file changed

Lines changed: 15 additions & 15 deletions

File tree

support/entra/entra-id/users-groups-entra-apis/authorization-requestdenied-403-error-add-user-group.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
---
2-
title: Troubleshoot 403 error when adding a user to a group using Microsoft Graph API
3-
description: Provides solutions to 403 Authorization_RequestDenied error that occurs when you add a user to a group using Microsoft Graph API.
2+
title: Troubleshoot Error 403 When Adding a User to a Group By Using Microsoft Graph API
3+
description: Provides solutions for the 403 Authorization_RequestDenied error that occurs when you add a user to a group by using Microsoft Graph API.
44
ms.date: 04/21/2025
55
ms.service: entra-id
66
ms.author: bachoang
77
ms.custom: sap:Getting access denied errors (Authorization)
88
---
99

10-
# Troubleshoot 403 error when adding a user to a group using Microsoft Graph API
10+
# Troubleshoot 403 error when adding a user to a group by using Microsoft Graph API
1111

12-
This article provides guidance on troubleshooting a 403 Authorization_RequestDenied error when you try to add a user to a group using the Microsoft Graph API.
12+
This article provides guidance for troubleshooting a "403 Authorization_RequestDenied" error that occurs when you try to add a user to a group by using the Microsoft Graph API.
1313

1414
## Symptoms
1515

16-
When you try to add a user to a group using Microsoft Graph API, you receive the 403 error with the following error message:
16+
When you try to add a user to a group by using Microsoft Graph API, you receive the following "403" error message:
1717

1818
```output
1919
{
@@ -31,15 +31,15 @@ When you try to add a user to a group using Microsoft Graph API, you receive the
3131

3232
## Cause
3333

34-
This issue might occur if the group you tried to add the user to can't be managed by Microsoft Graph. Microsoft Graph only supports Microsoft 365 groups and Security groups.
34+
This issue occurs if the group that you tried to add the user to can't be managed by Microsoft Graph. Microsoft Graph supports only Microsoft 365 groups and Security groups.
3535

3636
## Solution
3737

3838
### Step 1: Check the group type
3939

4040
Make sure that the group you trying to modify is supported by Microsoft Graph.
4141

42-
1. In Microsoft Graph, the type of group can be identified by the settings of its `groupTypes`, `mailEnabled`, and `securityEnabled` properties. Use the [Microsoft Graph Explorer](https://developer.microsoft.com/graph/graph-explorer) to check the group's attributes:
42+
1. In Microsoft Graph, the group type can be determined by the settings of its `groupTypes`, `mailEnabled`, and `securityEnabled` properties. Use the [Microsoft Graph Explorer](https://developer.microsoft.com/graph/graph-explorer) to check the group's attributes:
4343

4444
```http
4545
https://graph.microsoft.com/v1.0/groups/<Group Object ID>?$select=displayName,groupTypes,mailEnabled,securityEnable
@@ -58,7 +58,7 @@ Make sure that the group you trying to modify is supported by Microsoft Graph.
5858
5959
```
6060

61-
2. Review the following table to verify if the group type is supported by Microsoft Graph API. In the example response, the "Test group A" group is a Distribution group that cannot be supported by Microsoft Graph. For more information, see [Working with groups in Microsoft Graph](/graph/api/resources/groups-overview).
61+
2. Review the following table to verify that the group type is supported by Microsoft Graph API. In the example response, the "Test group A" group is a Distribution group that can't be supported by Microsoft Graph. For more information, see [Working with groups in Microsoft Graph](/graph/api/resources/groups-overview).
6262

6363
| Type |groupTypes | mailEnabled | securityEnabled | Can be managed by using Microsoft Graph APIs |
6464
|--|--|--|--|--|
@@ -69,26 +69,26 @@ Make sure that the group you trying to modify is supported by Microsoft Graph.
6969

7070
> [!NOTE]
7171
> - Group type can't be changed after creation. For more information, see [Edit group settings](/entra/fundamentals/how-to-manage-groups#edit-group-settings).
72-
> - Dynamic groups (groupTypes contains "DynamicMembership") can't have their membership managed via Microsoft Graph.
72+
> - The membership of a dynamic group (groupTypes contains "DynamicMembership") can't be managed through Microsoft Graph.
7373
7474
### Step 2: Verify required permissions
7575

76-
Different group member types require specific permissions. For user-type membership, ensure that the application or account performing the operation has the `GroupMember.ReadWrite.All` permission.
76+
Different group member types require specific permissions. For user-type membership, make sure that the application or account that performs the operation has the `GroupMember.ReadWrite.All` permission.
7777

7878
For detailed permission requirements, see [Add members documentation](/graph/api/group-post-members).
7979

80-
### Step 3: Check if the group is a role-assignable group
80+
### Step 3: Check whether the group is a role-assignable group
8181

82-
1. Role-assignable groups require extra permissions to manage their members. You can confirm if the group is role-assignable by using Azure portal or Microsoft Graph Explorer:
82+
1. Role-assignable groups require extra permissions to manage their members. You can verify that the group is role-assignable by using Azure portal or Microsoft Graph Explorer:
8383

8484
**Azure portal**
8585

8686
1. In the [Azure portal](https://portal.azure.com), go to **Microsoft Entra ID**, select **Groups**, and then select **All groups**.
87-
1. Locate the target group, select **Properties**. Check if the **Microsoft Entra role can be assigned to the group** setting is set to **Yes**,
87+
1. Locate the target group, select **Properties**, and then check whether **Microsoft Entra role can be assigned to the group** is set to **Yes**.
8888

8989
**Microsoft Graph Explorer**
9090

91-
Run the following request and check the `isAssignableToRoles` value.
91+
To check the `isAssignableToRoles` value, run the following request:
9292

9393
```http
9494
GET https://graph.microsoft.com/v1.0/groups/<group object="" id="">?$select=displayName,groupTypes,mailEnabled,securityEnabled,isAssignableToRole
@@ -108,4 +108,4 @@ For detailed permission requirements, see [Add members documentation](/graph/api
108108
109109
2. If the group is role-assignable, you need the `RoleManagement.ReadWrite.Directory` permission in addition to `GroupMember.ReadWrite.All`. For more information, see [Add members documentation](/graph/api/group-post-members).
110110
111-
[!INCLUDE [Azure Help Support](../../../includes/azure-help-support.md)]
111+
[!INCLUDE [Azure Help Support](../../../includes/azure-help-support.md)]

0 commit comments

Comments
 (0)