Skip to content

Commit 64429cf

Browse files
committed
edit the article
1 parent b4bcb78 commit 64429cf

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ When you try to add a user to a group using Microsoft Graph API, you receive the
1818
```output
1919
{
2020
"error": {
21-
"code": "Authorization\_RequestDenied",
21+
"code": "Authorization_RequestDenied",
2222
"message": "Insufficient privileges to complete the operation.",
2323
"innerError": {
2424
"date": "2024-05-07T15:39:39",
@@ -33,13 +33,13 @@ When you try to add a user to a group using Microsoft Graph API, you receive the
3333

3434
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.
3535

36-
For the Microsoft Graph supported group types, see [Working with groups in Microsoft Graph](/graph/api/resources/groups-overview?view=graph-rest-1.0&tabs=http#group-types-in-microsoft-entra-id-and-microsoft-graph)
36+
For the Microsoft Graph supported group types, see [Working with groups in Microsoft Graph](/graph/api/resources/groups-overview?view=graph-rest-1.0&tabs=http#group-types-in-microsoft-entra-id-and-microsoft-graph).
3737

3838
## Solution
3939

4040
### Step 1: Check the group type
4141

42-
Make sure that the group you're working is supported by Microsoft Graph.
42+
Make sure that the group you trying to modify is supported by Microsoft Graph.
4343

4444
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) tool to check the group's attributes:
4545

@@ -60,13 +60,13 @@ Make sure that the group you're working is supported by Microsoft Graph.
6060
6161
```
6262

63-
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 security group. For more information, see [Working with groups in Microsoft Graph](/graph/api/resources/groups-overview?view=graph-rest-1.0&tabs=http#group-types-in-microsoft-entra-id-and-microsoft-graph).
63+
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 security group. For more information, see [Working with groups in Microsoft Graph](/graph/api/resources/groups-overview).
6464

6565
| Type |groupTypes | mailEnabled | securityEnabled | Can be managed by using Microsoft Graph APIs |
6666
|--|--|--|--|--|
67-
| [Microsoft 365 groups](#microsoft-365-groups) | `["Unified"]` | `true` | `true` or `false` | Yes |
68-
| [Security groups](#security-groups-and-mail-enabled-security-groups) | `[]` | `false` | `true` | Yes |
69-
| [Mail-enabled security groups](#security-groups-and-mail-enabled-security-groups) | `[]` | `true` | `true` | No; read-only through Microsoft Graph |
67+
| [Microsoft 365 groups](/graph/api/resources/groups-overview#microsoft-365-groups) | `["Unified"]` | `true` | `true` or `false` | Yes |
68+
| [Security groups](/graph/api/resources/groups-overview#security-groups-and-mail-enabled-security-groups) | `[]` | `false` | `true` | Yes |
69+
| [Mail-enabled security groups](/graph/api/resources/groups-overview#security-groups-and-mail-enabled-security-groups) | `[]` | `true` | `true` | No; read-only through Microsoft Graph |
7070
| Distribution groups | `[]` | `true` | `false` | No; read-only through Microsoft Graph |
7171

7272
> [!NOTE]
@@ -86,7 +86,7 @@ For detailed permission requirements, see [Add members documentation](https://le
8686
**Azure portal**
8787

8888
1. In the [Azure portal](https://portal.azure.com), go to **Microsoft Entra ID**, select **Groups**, and then select **All groups**.
89-
1. Locate the group that you're working on, select **Properties**. Review the **Microsoft Entra role can be assigned to the group** option.
89+
1. Locate the target group, select **Properties**. Review the **Microsoft Entra role can be assigned to the group** option.
9090

9191
**Microsoft Graph Explorer:**
9292

0 commit comments

Comments
 (0)