Skip to content

Commit cfcaa1c

Browse files
Merge pull request #29997 from microsoftgraph/main
Auto Publish – main to live - 2026-11-26 00:30 UTC
2 parents 226dbfc + 9db4bcc commit cfcaa1c

49 files changed

Lines changed: 1617 additions & 62 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 115 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
---
2+
title: "List joinRequests"
3+
description: "Get a list of the pending join requests for a private or shared channel."
4+
author: "gverma"
5+
ms.date: 11/15/2026
6+
ms.localizationpriority: medium
7+
ms.subservice: "teams"
8+
doc_type: apiPageType
9+
---
10+
11+
# List joinRequests
12+
13+
Namespace: microsoft.graph
14+
15+
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
16+
17+
Get a list of the pending [join requests](../resources/channeljoinrequest.md) for a private or shared [channel](../resources/channel.md). Only channel owners can call this API.
18+
19+
## Permissions
20+
21+
Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference).
22+
23+
<!-- { "blockType": "permissions", "name": "channel_list_joinrequests" } -->
24+
[!INCLUDE [permissions-table](../includes/permissions/channel-list-joinrequests-permissions.md)]
25+
26+
## HTTP request
27+
28+
<!-- {
29+
"blockType": "ignored"
30+
}
31+
-->
32+
``` http
33+
GET /teams/{team-id}/channels/{channel-id}/joinRequests
34+
```
35+
36+
> **Note:** Join requests apply only to private and shared channels. For a standard channel, this method returns an empty collection.
37+
38+
## Optional query parameters
39+
40+
This method supports the `$select` [OData query parameter](/graph/query-parameters) to help customize the response.
41+
42+
## Request headers
43+
44+
|Name|Description|
45+
|:---|:---|
46+
|Authorization|Bearer {token}. Required. Learn more about [authentication and authorization](/graph/auth/auth-concepts).|
47+
48+
## Request body
49+
50+
Don't supply a request body for this method.
51+
52+
## Response
53+
54+
If successful, this method returns a `200 OK` response code and a collection of [channelJoinRequest](../resources/channeljoinrequest.md) objects in the response body. If the caller isn't a channel owner, this method returns a `403 Forbidden` response code.
55+
56+
## Examples
57+
58+
### Request
59+
60+
The following example shows a request.
61+
<!-- {
62+
"blockType": "request",
63+
"name": "list_channeljoinrequest",
64+
"sampleKeys": ["7e5c4b9a-1a2b-4c3d-9e8f-0a1b2c3d4e5f", "19%3Ae3a7c8d14b2f4f6e9a0d5c71b8e2f945%40thread.tacv2"]
65+
}
66+
-->
67+
``` http
68+
GET https://graph.microsoft.com/beta/teams/7e5c4b9a-1a2b-4c3d-9e8f-0a1b2c3d4e5f/channels/19%3Ae3a7c8d14b2f4f6e9a0d5c71b8e2f945%40thread.tacv2/joinRequests
69+
```
70+
71+
### Response
72+
73+
The following example shows the response.
74+
>**Note:** The response object shown here might be shortened for readability.
75+
<!-- {
76+
"blockType": "response",
77+
"truncated": true,
78+
"@odata.type": "Collection(microsoft.graph.channelJoinRequest)"
79+
}
80+
-->
81+
``` http
82+
HTTP/1.1 200 OK
83+
Content-Type: application/json
84+
85+
{
86+
"value": [
87+
{
88+
"@odata.type": "#microsoft.graph.channelJoinRequest",
89+
"id": "3f2a1b0c-9d8e-4f7a-b6c5-d4e3f2a1b0c9",
90+
"requester": {
91+
"user": {
92+
"@odata.type": "#microsoft.graph.teamworkUserIdentity",
93+
"id": "3f2a1b0c-9d8e-4f7a-b6c5-d4e3f2a1b0c9",
94+
"displayName": "Adele Vance",
95+
"userIdentityType": "aadUser",
96+
"tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47"
97+
}
98+
}
99+
},
100+
{
101+
"@odata.type": "#microsoft.graph.channelJoinRequest",
102+
"id": "8a7b6c5d-4e3f-4a1b-9c0d-1e2f3a4b5c6d",
103+
"requester": {
104+
"user": {
105+
"@odata.type": "#microsoft.graph.teamworkUserIdentity",
106+
"id": "8a7b6c5d-4e3f-4a1b-9c0d-1e2f3a4b5c6d",
107+
"displayName": "Alex Wilber",
108+
"userIdentityType": "aadUser",
109+
"tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47"
110+
}
111+
}
112+
}
113+
]
114+
}
115+
```
Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
1+
---
2+
title: "channelJoinRequest: approve"
3+
description: "Approve up to 20 pending requests to join a private or shared channel."
4+
author: "gverma"
5+
ms.date: 11/15/2026
6+
ms.localizationpriority: medium
7+
ms.subservice: "teams"
8+
doc_type: apiPageType
9+
---
10+
11+
# channelJoinRequest: approve
12+
13+
Namespace: microsoft.graph
14+
15+
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
16+
17+
Approve up to 20 pending [requests](../resources/channeljoinrequest.md) to join a private or shared [channel](../resources/channel.md). Each requester is added to the channel as a member, and the join request is removed. Only channel owners can call this API.
18+
19+
This action returns one [channelJoinRequestActionResult](../resources/channeljoinrequestactionresult.md) for each join request ID. The operation succeeds or fails independently for each join request.
20+
21+
## Permissions
22+
23+
Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference).
24+
25+
<!-- { "blockType": "permissions", "name": "channeljoinrequest_approve" } -->
26+
[!INCLUDE [permissions-table](../includes/permissions/channeljoinrequest-approve-permissions.md)]
27+
28+
## HTTP request
29+
30+
<!-- {
31+
"blockType": "ignored"
32+
}
33+
-->
34+
``` http
35+
POST /teams/{team-id}/channels/{channel-id}/joinRequests/approve
36+
```
37+
38+
## Request headers
39+
40+
|Name|Description|
41+
|:---|:---|
42+
|Authorization|Bearer {token}. Required. Learn more about [authentication and authorization](/graph/auth/auth-concepts).|
43+
|Content-Type|application/json. Required.|
44+
45+
## Request body
46+
47+
In the request body, supply a JSON representation of the parameters.
48+
49+
The following table lists the parameters that are required when you call this action.
50+
51+
|Parameter|Type|Description|
52+
|:---|:---|:---|
53+
|joinRequestIds|String collection|The IDs of the join requests to approve. The ID of a join request is the Microsoft Entra object ID of the requester. Duplicate IDs are ignored. The maximum number of IDs is 20. Required.|
54+
55+
## Response
56+
57+
If successful, this action returns a `200 OK` response code and a collection of [channelJoinRequestActionResult](../resources/channeljoinrequestactionresult.md) objects in the response body. The **error** property of each result is `null` when the operation succeeded for that join request.
58+
59+
The following table lists the error codes that can be returned in the **error** property of a result.
60+
61+
|Error code|Description|
62+
|:---|:---|
63+
|joinRequestNotFound|No pending join request exists with this ID. The request might already be approved, rejected, or canceled.|
64+
|requesterNotFound|The requester no longer exists in the directory and can't be added.|
65+
66+
This action returns a `400 Bad Request` response code if **joinRequestIds** is empty, contains more than 20 IDs, or contains an ID that isn't a GUID. If the caller isn't a channel owner, this action returns a `403 Forbidden` response code.
67+
68+
## Examples
69+
70+
### Request
71+
72+
The following example shows a request.
73+
<!-- {
74+
"blockType": "request",
75+
"name": "channeljoinrequest_approve",
76+
"sampleKeys": ["7e5c4b9a-1a2b-4c3d-9e8f-0a1b2c3d4e5f", "19%3Ae3a7c8d14b2f4f6e9a0d5c71b8e2f945%40thread.tacv2"]
77+
}
78+
-->
79+
``` http
80+
POST https://graph.microsoft.com/beta/teams/7e5c4b9a-1a2b-4c3d-9e8f-0a1b2c3d4e5f/channels/19%3Ae3a7c8d14b2f4f6e9a0d5c71b8e2f945%40thread.tacv2/joinRequests/approve
81+
Content-Type: application/json
82+
83+
{
84+
"joinRequestIds": [
85+
"3f2a1b0c-9d8e-4f7a-b6c5-d4e3f2a1b0c9",
86+
"8a7b6c5d-4e3f-4a1b-9c0d-1e2f3a4b5c6d",
87+
"1d2e3f4a-5b6c-4d7e-8f9a-0b1c2d3e4f5a"
88+
]
89+
}
90+
```
91+
92+
### Response
93+
94+
The following example shows the response.
95+
>**Note:** The response object shown here might be shortened for readability.
96+
<!-- {
97+
"blockType": "response",
98+
"truncated": true,
99+
"@odata.type": "Collection(microsoft.graph.channelJoinRequestActionResult)"
100+
}
101+
-->
102+
``` http
103+
HTTP/1.1 200 OK
104+
Content-Type: application/json
105+
106+
{
107+
"value": [
108+
{
109+
"@odata.type": "#microsoft.graph.channelJoinRequestActionResult",
110+
"joinRequestId": "3f2a1b0c-9d8e-4f7a-b6c5-d4e3f2a1b0c9",
111+
"error": null
112+
},
113+
{
114+
"@odata.type": "#microsoft.graph.channelJoinRequestActionResult",
115+
"joinRequestId": "8a7b6c5d-4e3f-4a1b-9c0d-1e2f3a4b5c6d",
116+
"error": null
117+
},
118+
{
119+
"@odata.type": "#microsoft.graph.channelJoinRequestActionResult",
120+
"joinRequestId": "1d2e3f4a-5b6c-4d7e-8f9a-0b1c2d3e4f5a",
121+
"error": {
122+
"code": "joinRequestNotFound",
123+
"message": "The join request was not found."
124+
}
125+
}
126+
]
127+
}
128+
```
Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
---
2+
title: "Get channelJoinRequest"
3+
description: "Get a pending join request for a private or shared channel."
4+
author: "gverma"
5+
ms.date: 11/15/2026
6+
ms.localizationpriority: medium
7+
ms.subservice: "teams"
8+
doc_type: apiPageType
9+
---
10+
11+
# Get channelJoinRequest
12+
13+
Namespace: microsoft.graph
14+
15+
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
16+
17+
Get a pending [join request](../resources/channeljoinrequest.md) for a private or shared [channel](../resources/channel.md). Only channel owners can call this API.
18+
19+
## Permissions
20+
21+
Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference).
22+
23+
<!-- { "blockType": "permissions", "name": "channeljoinrequest_get" } -->
24+
[!INCLUDE [permissions-table](../includes/permissions/channeljoinrequest-get-permissions.md)]
25+
26+
## HTTP request
27+
28+
<!-- {
29+
"blockType": "ignored"
30+
}
31+
-->
32+
``` http
33+
GET /teams/{team-id}/channels/{channel-id}/joinRequests/{channelJoinRequest-id}
34+
```
35+
36+
> **Note:** Join requests apply only to private and shared channels.
37+
38+
The ID of a join request is the Microsoft Entra object ID of the requester.
39+
40+
## Optional query parameters
41+
42+
This method supports the `$select` [OData query parameter](/graph/query-parameters) to help customize the response.
43+
44+
## Request headers
45+
46+
|Name|Description|
47+
|:---|:---|
48+
|Authorization|Bearer {token}. Required. Learn more about [authentication and authorization](/graph/auth/auth-concepts).|
49+
50+
## Request body
51+
52+
Don't supply a request body for this method.
53+
54+
## Response
55+
56+
If successful, this method returns a `200 OK` response code and a [channelJoinRequest](../resources/channeljoinrequest.md) object in the response body. If no pending join request exists with the specified ID, this method returns a `404 Not Found` response code. If the caller isn't a channel owner, this method returns a `403 Forbidden` response code.
57+
58+
## Examples
59+
60+
### Request
61+
62+
The following example shows a request.
63+
<!-- {
64+
"blockType": "request",
65+
"name": "get_channeljoinrequest",
66+
"sampleKeys": ["7e5c4b9a-1a2b-4c3d-9e8f-0a1b2c3d4e5f", "19%3Ae3a7c8d14b2f4f6e9a0d5c71b8e2f945%40thread.tacv2", "3f2a1b0c-9d8e-4f7a-b6c5-d4e3f2a1b0c9"]
67+
}
68+
-->
69+
``` http
70+
GET https://graph.microsoft.com/beta/teams/7e5c4b9a-1a2b-4c3d-9e8f-0a1b2c3d4e5f/channels/19%3Ae3a7c8d14b2f4f6e9a0d5c71b8e2f945%40thread.tacv2/joinRequests/3f2a1b0c-9d8e-4f7a-b6c5-d4e3f2a1b0c9
71+
```
72+
73+
### Response
74+
75+
The following example shows the response.
76+
>**Note:** The response object shown here might be shortened for readability.
77+
<!-- {
78+
"blockType": "response",
79+
"truncated": true,
80+
"@odata.type": "microsoft.graph.channelJoinRequest"
81+
}
82+
-->
83+
``` http
84+
HTTP/1.1 200 OK
85+
Content-Type: application/json
86+
87+
{
88+
"@odata.type": "#microsoft.graph.channelJoinRequest",
89+
"id": "3f2a1b0c-9d8e-4f7a-b6c5-d4e3f2a1b0c9",
90+
"requester": {
91+
"user": {
92+
"@odata.type": "#microsoft.graph.teamworkUserIdentity",
93+
"id": "3f2a1b0c-9d8e-4f7a-b6c5-d4e3f2a1b0c9",
94+
"displayName": "Adele Vance",
95+
"userIdentityType": "aadUser",
96+
"tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47"
97+
}
98+
}
99+
}
100+
```

0 commit comments

Comments
 (0)