Ask Learn
Preview
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Namespace: microsoft.graph
Important
APIs under the /beta
version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.
Get a list of plannerPlan objects owned by a shared channel in Teams.
This API is available in the following national cloud deployments.
Global service | US Government L4 | US Government L5 (DOD) | China operated by 21Vianet |
---|---|---|---|
✅ | ✅ | ✅ | ❌ |
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. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.
Permission type | Least privileged permissions | Higher privileged permissions |
---|---|---|
Delegated (work or school account) | Tasks.Read | Tasks.ReadWrite |
Delegated (personal Microsoft account) | Not supported. | Not supported. |
Application | Tasks.Read.All | Tasks.ReadWrite.All |
GET /teams/{team-id}/channels/{channel-id}/planner/plans
This method doesn't support OData query parameters to customize the response.
Name | Description |
---|---|
Authorization | Bearer {token}. Required. Learn more about authentication and authorization. |
Don't supply a request body for this method.
If successful, this method returns a 200 OK
response code and a collection of plannerPlan objects in the response body.
This method can return any of the HTTP status codes. The most common errors that apps should handle for this method are the 403
and 404
responses. For more information about these errors, see Common Planner error conditions.
The following example shows a request.
GET https://graph.microsoft.com/beta/teams/a738af50-90f1-472c-b3c3-a468f88ceaba/channels/19:yVS-hfmJ8w61Vu4oehlAr-y9G0eeyY11D8elrrDSvCU1@thread.tacv2/planner/plans
The following example shows the response.
Note: The response object shown here might be shortened for readability.
HTTP/1.1 200 OK
Content-type: application/json
{
"value": [
{
"@odata.etag": "W/\"JzEtUGxhbiAgQEBAQEBAQEBAQEBAQEBARCc=\"",
"createdDateTime": "2025-01-14T18:03:25.8457422Z",
"isArchived": false,
"owner": "ba2b2488-cb8c-4dbc-882e-a9a8311bfee9",
"title": "travel plan",
"id": "TQZYwVBC4E6BUIg4nfSnfJUADdBY",
"createdBy": {
"application": {
"id": "de8bc8b5-d9f9-48b1-a8ad-b748da725064"
},
"user": {
"id": "ba2b2488-cb8c-4dbc-882e-a9a8311bfee9"
}
},
"container": {
"containerId": "a738af50-90f1-472c-b3c3-a468f88ceaba/channels/19:yVS-hfmJ8w61Vu4oehlAr-y9G0eeyY11D8elrrDSvCU1@thread.tacv2",
"type": "teamsChannel",
"url": "https://graph.microsoft.com/beta/teams/a738af50-90f1-472c-b3c3-a468f88ceaba/channels/19:yVS-hfmJ8w61Vu4oehlAr-y9G0eeyY11D8elrrDSvCU1@thread.tacv2"
}
}
]
}
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in