ESC
Type to search...

Tasks.Read

Export JSON
Export CSV
Copy URL
Print
Delegated Read User Scope

Allows the app to read the signed-in user’s tasks and task lists, including any shared with the user. Doesn't include permission to create, delete, or update anything.

Permission data: April 6, 2026 at 4:06 AM UTC
Delegated Access App-Only Access

Permission Details

Delegated Permission User consent allowed

Read user's tasks and task lists

Allows the app to read the signed-in user’s tasks and task lists, including any shared with the user. Doesn't include permission to create, delete, or update anything.

Properties

Microsoft Graph beta exact-category-docs

Properties is shown from beta metadata because a stable v1.0 schema is not available for this resource mapping.

Property Type Description
attachments attachmentBase collection A collection of file attachments for the task.
attachmentSessions attachmentSession collection
body object The task body that typically contains information about the task.
bodyLastModifiedDateTime date-time The date and time when the task body was last modified. By default, it is in UTC. You can provide a custom time zone in the request header. The property value uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2020 would look like this: '2020-01-01T00:00:00Z'.
categories string collection The categories associated with the task. Each category corresponds to the displayName property of an outlookCategory that the user has defined.
checklistItems checklistItem collection A collection of checklistItems linked to a task.
completedDateTime object The date and time in the specified time zone that the task was finished.
createdDateTime date-time The date and time when the task was created. By default, it is in UTC. You can provide a custom time zone in the request header. The property value uses ISO 8601 format. For example, midnight UTC on Jan 1, 2020 would look like this: '2020-01-01T00:00:00Z'.
dueDateTime object The date and time in the specified time zone that the task is to be finished.
extensions extension collection The collection of open extensions defined for the task. Nullable.
hasAttachments booleanNullable Indicates whether the task has attachments.
id string The unique identifier for an entity. Read-only.
importance importance
isReminderOn boolean Set to true if an alert is set to remind the user of the task.
lastModifiedDateTime date-time The date and time when the task was last modified. By default, it is in UTC. You can provide a custom time zone in the request header. The property value uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2020 would look like this: '2020-01-01T00:00:00Z'.

Showing 15 of 21 properties.

JSON Representation

Microsoft Graph beta exact-category-docs

JSON representation is shown from beta metadata because a stable v1.0 schema is not available for this resource mapping.

JSON representation
{
  "@odata.type": "#microsoft.graph.tasks",
  "id": "String (identifier)"
}

Relationships

Microsoft Graph beta exact-category-docs

Relationships is shown from beta metadata because a stable v1.0 schema is not available for this resource mapping.

Relationship Type Description
alltasks baseTask collection All tasks in the users mailbox.
lists baseTaskList collection The task lists in the users mailbox.
linkedResources linkedResource collection Resources linked to the task.
checklistItems checklistItem collection Checklist items linked to the task.
attachments attachmentBase collection Attachments linked to the task.
attachmentSessions attachmentSession collection Related attachmentSessions data exposed by this resource.
categories string collection The categories associated with the task. Each category corresponds to the displayName property of an outlookCategory that the user has defined.
extensions extension collection The collection of open extensions defined for the task. Nullable.
importance importance Related importance data exposed by this resource.
status taskStatus Related status data exposed by this resource.
singleValueExtendedProperties singleValueExtendedProperty collection A collection of custom fields linked to the task.

Graph Methods

Delegated access App-only access
Exact Microsoft Learn match

Microsoft Graph v1.0 endpoints are mapped directly from refreshed Microsoft Learn permissions tables.

Methods
GET /drive/root/createdByUser/planner/plans
GET /groups/{group-id}/planner/plans
GET /me/planner/plans
GET /me/planner/tasks
GET /me/todo/lists
GET /me/todo/lists/{id}/tasks/{id}/attachments/{id}
GET /me/todo/lists/{id}/tasks/{id}/attachments/{id}/$value
GET /me/todo/lists/{id}/tasks/delta
GET /me/todo/lists/{todoTaskListId}
GET /me/todo/lists/{todoTaskListId}/tasks
GET /me/todo/lists/{todoTaskListId}/tasks/{taskId}
GET /me/todo/lists/{todoTaskListId}/tasks/{taskId}/linkedResources
GET /me/todo/lists/{todoTaskListId}/tasks/{taskId}/linkedResources/{linkedResourcesId}
GET /me/todo/lists/{todoTaskListId}/tasks/{todoTaskId}/attachments
GET /me/todo/lists/{todoTaskListId}/tasks/{todoTaskId}/checklistItems
GET /me/todo/lists/{todoTaskListId}/tasks/{todoTaskId}/checklistItems/{checklistItemId}
GET /planner/buckets
GET /planner/buckets/{id}
GET /planner/buckets/{id}/tasks
GET /planner/plans
GET /planner/plans/{id}/details
GET /planner/plans/{plan-id}
GET /planner/plans/{plan-id}/buckets
GET /planner/plans/{plan-id}/tasks
GET /planner/tasks
GET /planner/tasks/{id}
GET /planner/tasks/{id}/assignedToTaskBoardFormat
GET /planner/tasks/{id}/bucketTaskBoardFormat
GET /planner/tasks/{id}/details
GET /planner/tasks/{id}/progressTaskBoardFormat
GET /users/{id | userPrincipalName}/todo/lists/{todoTaskListId}/tasks/{todoTaskId}/checklistItems
GET /users/{id | userPrincipalName}/todo/lists/{todoTaskListId}/tasks/{todoTaskId}/checklistItems/{checklistItemId}
GET /users/{id}/planner/plans
GET /users/{id}/planner/tasks
GET /users/{id}/todo/lists/{id}/tasks/{id}/attachments
GET /users/{id}/todo/lists/{id}/tasks/{id}/attachments/{id}
GET /users/{id}/todo/lists/{id}/tasks/{id}/attachments/{id}/$value
GET /users/{id|userPrincipalName}/todo/lists
GET /users/{id|userPrincipalName}/todo/lists/{todoTaskListId}
GET /users/{id|userPrincipalName}/todo/lists/{todoTaskListId}/tasks
GET /users/{id|userPrincipalName}/todo/lists/{todoTaskListId}/tasks/{taskId}
GET /users/{id|userPrincipalName}/todo/lists/{todoTaskListId}/tasks/{taskId}/linkedResources
GET /users/{id|userPrincipalName}/todo/lists/{todoTaskListId}/tasks/{taskId}/linkedResources/{linkedResourcesId}
GET /users/{id|userPrincipalName}/todo/lists/{todoTaskListId}/tasks/delta
DELETE /me/todo/lists/{todoTaskListId}
DELETE /users/{id|userPrincipalName}/todo/lists/{todoTaskListId}
Exact Microsoft Learn match

Microsoft Graph beta endpoints are mapped directly from refreshed Microsoft Learn permissions tables.

Methods
GET /drive/root/createdByUser/planner/plans
GET /groups/{group-id}/planner/plans
GET /groups/{group-id}/planner/plans/delta
GET /me/outlook/taskFolders
GET /me/outlook/taskFolders/{id}
GET /me/outlook/taskFolders/{id}/tasks
GET /me/outlook/taskGroups
GET /me/outlook/taskGroups/{id}
GET /me/outlook/taskGroups/{id}/taskFolders
GET /me/outlook/taskGroups/{id}/taskFolders/{id}
GET /me/outlook/taskGroups/{id}/taskFolders/{id}/tasks
GET /me/outlook/tasks
GET /me/outlook/tasks/{id}
GET /me/outlook/tasks/{id}/attachments
GET /me/planner
GET /me/planner/all/delta
GET /me/planner/favoritePlans
GET /me/planner/myDayTasks
GET /me/planner/plans
GET /me/planner/recentPlans
GET /me/planner/tasks
GET /me/planner/tasks/delta
GET /me/tasks/alltasks/{baseTaskId}
GET /me/tasks/lists
GET /me/tasks/lists/{baseTaskListId}
GET /me/tasks/lists/{baseTaskListId}/tasks
GET /me/tasks/lists/{baseTaskListId}/tasks/{baseTaskId}
GET /me/tasks/lists/{baseTaskListId}/tasks/{baseTaskId}/checklistItems
GET /me/tasks/lists/{baseTaskListId}/tasks/{baseTaskId}/checklistItems/{checklistItemId}
GET /me/tasks/lists/{baseTaskListId}/tasks/{baseTaskId}/linkedResources
GET /me/tasks/lists/{baseTaskListId}/tasks/{baseTaskId}/linkedResources/{linkedResourceId}
GET /me/tasks/lists/{baseTaskListId}/tasks/delta
GET /me/tasks/lists/delta
GET /me/todo/lists
GET /me/todo/lists/{id}/tasks/{id}/attachments/{id}
GET /me/todo/lists/{id}/tasks/{id}/attachments/{id}/$value
GET /me/todo/lists/{id}/tasks/delta
GET /me/todo/lists/{todoTaskListId}
GET /me/todo/lists/{todoTaskListId}/tasks
GET /me/todo/lists/{todoTaskListId}/tasks/{taskId}
GET /me/todo/lists/{todoTaskListId}/tasks/{taskId}/linkedResources
GET /me/todo/lists/{todoTaskListId}/tasks/{taskId}/linkedResources/{linkedResourcesId}
GET /me/todo/lists/{todoTaskListId}/tasks/{todoTaskId}/attachments
GET /me/todo/lists/{todoTaskListId}/tasks/{todoTaskId}/checklistItems
GET /me/todo/lists/{todoTaskListId}/tasks/{todoTaskId}/checklistItems/{checklistItemId}
GET /planner/buckets
GET /planner/buckets/{id}
GET /planner/buckets/{id}/tasks
GET /planner/plans
GET /planner/plans/{id}/details
GET /planner/plans/{plan-id}
GET /planner/plans/{plan-id}/buckets
GET /planner/plans/{plan-id}/buckets/delta
GET /planner/plans/{plan-id}/tasks
GET /planner/plans/{plannerPlanId}/getUsageRights
GET /planner/rosters/{plannerRosterId}
GET /planner/rosters/{plannerRosterId}/members
GET /planner/rosters/{plannerRosterId}/members/{plannerRosterMemberId}
GET /planner/rosters/{plannerRosterId}/plans
GET /planner/rosters/{plannerRosterId}/plans/delta
GET /planner/tasks
GET /planner/tasks/{id}
GET /planner/tasks/{id}/assignedToTaskBoardFormat
GET /planner/tasks/{id}/bucketTaskBoardFormat
GET /planner/tasks/{id}/details
GET /planner/tasks/{id}/progressTaskBoardFormat
GET /planner/tasks/{task-id}/messages
GET /planner/tasks/delta
GET /teams/{team-id}/channels/{channel-id}/planner/plans
GET /users/{id | userPrincipalName}/tasks/lists/{baseTaskListId}/tasks/{baseTaskId}/checklistItems
GET /users/{id | userPrincipalName}/tasks/lists/{baseTaskListId}/tasks/{baseTaskId}/checklistItems/{checklistItemId}
GET /users/{id | userPrincipalName}/tasks/lists/{baseTaskListId}/tasks/{baseTaskId}/linkedResources
GET /users/{id | userPrincipalName}/tasks/lists/{baseTaskListId}/tasks/{baseTaskId}/linkedResources/{linkedResourceId}
GET /users/{id | userPrincipalName}/todo/lists/{todoTaskListId}/tasks/{todoTaskId}/checklistItems
GET /users/{id | userPrincipalName}/todo/lists/{todoTaskListId}/tasks/{todoTaskId}/checklistItems/{checklistItemId}
GET /users/{id}/planner
GET /users/{id}/planner/all/delta
GET /users/{id}/planner/favoritePlans
GET /users/{id}/planner/myDayTasks
GET /users/{id}/planner/plans
GET /users/{id}/planner/recentPlans
GET /users/{id}/planner/tasks
GET /users/{id}/todo/lists/{id}/tasks/{id}/attachments
GET /users/{id}/todo/lists/{id}/tasks/{id}/attachments/{id}
GET /users/{id}/todo/lists/{id}/tasks/{id}/attachments/{id}/$value
GET /users/{id|userPrincipalName}/outlook/taskFolders
GET /users/{id|userPrincipalName}/outlook/taskFolders/{id}
GET /users/{id|userPrincipalName}/outlook/taskFolders/{id}/tasks
GET /users/{id|userPrincipalName}/outlook/taskGroups
GET /users/{id|userPrincipalName}/outlook/taskGroups/{id}
GET /users/{id|userPrincipalName}/outlook/taskGroups/{id}/taskFolders
GET /users/{id|userPrincipalName}/outlook/taskGroups/{id}/taskFolders/{id}
GET /users/{id|userPrincipalName}/outlook/taskGroups/{id}/taskFolders/{id}/tasks
GET /users/{id|userPrincipalName}/outlook/tasks
GET /users/{id|userPrincipalName}/outlook/tasks/{id}
GET /users/{id|userPrincipalName}/outlook/tasks/{id}/attachments
GET /users/{id|userPrincipalName}/todo/lists
GET /users/{id|userPrincipalName}/todo/lists/{todoTaskListId}
GET /users/{id|userPrincipalName}/todo/lists/{todoTaskListId}/tasks
GET /users/{id|userPrincipalName}/todo/lists/{todoTaskListId}/tasks/{taskId}
GET /users/{id|userPrincipalName}/todo/lists/{todoTaskListId}/tasks/{taskId}/linkedResources
GET /users/{id|userPrincipalName}/todo/lists/{todoTaskListId}/tasks/{taskId}/linkedResources/{linkedResourcesId}
GET /users/{id|userPrincipalName}/todo/lists/{todoTaskListId}/tasks/delta
GET /users/{userId|userPrincipalName}/tasks/alltasks/{baseTaskId}
GET /users/{userId|userPrincipalName}/tasks/lists
GET /users/{userId|userPrincipalName}/tasks/lists/{baseTaskListId}
GET /users/{userId|userPrincipalName}/tasks/lists/{baseTaskListId}/tasks
GET /users/{userId|userPrincipalName}/tasks/lists/{baseTaskListId}/tasks/{baseTaskId}
GET /users/{userId|userPrincipalName}/tasks/lists/{baseTaskListId}/tasks/delta
GET /users/{userId|userPrincipalName}/tasks/lists/delta
GET /users/{usersId}/planner/rosterPlans
POST /planner/plans/{planId}/moveToContainer
DELETE /me/todo/lists/{todoTaskListId}
DELETE /users/{id|userPrincipalName}/todo/lists/{todoTaskListId}
Exact Microsoft Learn PowerShell match

Microsoft Graph PowerShell v1.0 commands are mapped directly from refreshed Microsoft Learn PowerShell snippets.

Commands
Get-MgGroupPlannerPlan /groups/{group-id}/planner/plans
List plans
Get-MgPlannerBucket /planner/buckets
List buckets
Get-MgPlannerBucket /planner/buckets/{id}
Get plannerBucket
Get-MgPlannerBucketTask /planner/buckets/{id}/tasks
List tasks
Get-MgPlannerPlan /planner/plans
List plans
Get-MgPlannerPlan /planner/plans/{plan-id}
Get plannerPlan
Get-MgPlannerPlanBucket /planner/plans/{plan-id}/buckets
List buckets
Get-MgPlannerPlanDetail /planner/plans/{id}/details
Get plannerPlanDetails
Get-MgPlannerPlanTask /planner/plans/{plan-id}/tasks
List tasks
Get-MgPlannerTask /planner/tasks
List plannerTask objects
Get-MgPlannerTask /planner/tasks/{id}
Get plannerTask
Get-MgPlannerTaskAssignedToTaskBoardFormat /planner/tasks/{id}/assignedToTaskBoardFormat
Get plannerAssignedToTaskBoardTaskFormat
Get-MgPlannerTaskBucketTaskBoardFormat /planner/tasks/{id}/bucketTaskBoardFormat
Get plannerBucketTaskBoardTaskFormat
Get-MgPlannerTaskDetail /planner/tasks/{id}/details
Get plannerTaskDetails
Get-MgPlannerTaskProgressTaskBoardFormat /planner/tasks/{id}/progressTaskBoardFormat
Get plannerProgressTaskBoardTaskFormat
Get-MgUserPlannerPlan /me/planner/plans
List plans
Get-MgUserPlannerTask /me/planner/tasks
List tasks
Get-MgUserTodoList /me/todo/lists
List lists
Get-MgUserTodoList /me/todo/lists/{todoTaskListId}
Get todoTaskList
Get-MgUserTodoTask /me/todo/lists/{todoTaskListId}/tasks
List Todo tasks
Get-MgUserTodoTask /me/todo/lists/{todoTaskListId}/tasks/{taskId}
Get todoTask
Get-MgUserTodoTaskAttachment /me/todo/lists/{id}/tasks/{id}/attachments/{id}
Get taskFileAttachment
Get-MgUserTodoTaskAttachment /me/todo/lists/{todoTaskListId}/tasks/{todoTaskId}/attachments
List taskFileAttachments
Get-MgUserTodoTaskChecklistItem /me/todo/lists/{todoTaskListId}/tasks/{todoTaskId}/checklistItems
List checklistItems
Get-MgUserTodoTaskChecklistItem /me/todo/lists/{todoTaskListId}/tasks/{todoTaskId}/checklistItems/{checklistItemId}
Get checklistItem
Get-MgUserTodoTaskDelta /me/todo/lists/{id}/tasks/delta
todoTask: delta
Get-MgUserTodoTaskLinkedResource /me/todo/lists/{todoTaskListId}/tasks/{taskId}/linkedResources
List linkedResources
Get-MgUserTodoTaskLinkedResource /me/todo/lists/{todoTaskListId}/tasks/{taskId}/linkedResources/{linkedResourcesId}
Get linkedResource
Remove-MgUserTodoList /me/todo/lists/{todoTaskListId}
Delete todoTaskList
Exact Microsoft Learn PowerShell match

Microsoft Graph PowerShell beta commands are mapped directly from refreshed Microsoft Learn PowerShell snippets.

Commands
Get-MgBetaGroupPlannerPlan /groups/{group-id}/planner/plans
List plans
Get-MgBetaGroupPlannerPlanDelta /planner/rosters/{plannerRosterId}/plans/delta
plannerPlan: delta
Get-MgBetaPlannerBucket /planner/buckets
List buckets
Get-MgBetaPlannerBucket /planner/buckets/{id}
Get plannerBucket
Get-MgBetaPlannerBucketTask /planner/buckets/{id}/tasks
List plannerTask objects for a plannerBucket
Get-MgBetaPlannerPlan /planner/plans
List plans
Get-MgBetaPlannerPlan /planner/plans/{plan-id}
Get plannerPlan
Get-MgBetaPlannerPlanBucket /planner/plans/{plan-id}/buckets
List buckets
Get-MgBetaPlannerPlanDetail /planner/plans/{id}/details
Get plannerPlanDetails
Get-MgBetaPlannerPlanTask /planner/plans/{plan-id}/tasks
List tasks
Get-MgBetaPlannerPlanUsageRights /planner/plans/{plannerPlanId}/getUsageRights
plannerPlan: getUsageRights
Get-MgBetaPlannerRoster /planner/rosters/{plannerRosterId}
Get plannerRoster
Get-MgBetaPlannerRosterMember /planner/rosters/{plannerRosterId}/members
List plannerRosterMembers
Get-MgBetaPlannerRosterMember /planner/rosters/{plannerRosterId}/members/{plannerRosterMemberId}
Get plannerRosterMember
Get-MgBetaPlannerRosterPlan /planner/rosters/{plannerRosterId}/plans
List plans
Get-MgBetaPlannerRosterPlan /planner/rosters/{plannerRosterId}/plans/delta
plannerPlan: delta
Get-MgBetaPlannerTask /planner/tasks
List plannerTask objects
Get-MgBetaPlannerTask /planner/tasks/{id}
Get plannerTask
Get-MgBetaPlannerTaskAssignedToTaskBoardFormat /planner/tasks/{id}/assignedToTaskBoardFormat
Get plannerAssignedToTaskBoardTaskFormat
Get-MgBetaPlannerTaskBucketTaskBoardFormat /planner/tasks/{id}/bucketTaskBoardFormat
Get plannerBucketTaskBoardTaskFormat
Get-MgBetaPlannerTaskDelta /planner/tasks/delta
plannerTask: delta
Get-MgBetaPlannerTaskDetail /planner/tasks/{id}/details
Get plannerTaskDetails
Get-MgBetaPlannerTaskProgressTaskBoardFormat /planner/tasks/{id}/progressTaskBoardFormat
Get plannerProgressTaskBoardTaskFormat
Get-MgBetaTeamChannelPlannerPlan /teams/{team-id}/channels/{channel-id}/planner/plans
List plans
Get-MgBetaUserOutlookTask /me/outlook/tasks
List tasks
Get-MgBetaUserOutlookTask /me/outlook/tasks/{id}
Get outlookTask
Get-MgBetaUserOutlookTaskAttachment /me/outlook/tasks/{id}/attachments
List attachments
Get-MgBetaUserOutlookTaskFolder /me/outlook/taskFolders
List taskFolders
Get-MgBetaUserOutlookTaskFolder /me/outlook/taskFolders/{id}
Get outlookTaskFolder
Get-MgBetaUserOutlookTaskFolderTask /me/outlook/taskFolders/{id}/tasks
List tasks
Get-MgBetaUserOutlookTaskGroup /me/outlook/taskGroups
List taskGroups
Get-MgBetaUserOutlookTaskGroup /me/outlook/taskGroups/{id}
Get outlookTaskGroup
Get-MgBetaUserOutlookTaskGroupTaskFolder /me/outlook/taskGroups/{id}/taskFolders
List taskFolders
Get-MgBetaUserPlanner /me/planner
Get plannerUser
Get-MgBetaUserPlannerAllDelta /me/planner/all/delta
Planner: delta
Get-MgBetaUserPlannerFavoritePlan /me/planner/favoritePlans
List favoritePlans
Get-MgBetaUserPlannerMyDayTask /me/planner/myDayTasks
List myDayTasks
Get-MgBetaUserPlannerPlan /me/planner/plans
List plans
Get-MgBetaUserPlannerRecentPlan /me/planner/recentPlans
List recentPlans
Get-MgBetaUserPlannerRosterPlan /users/{usersId}/planner/rosterPlans
List rosterPlans
Get-MgBetaUserPlannerTask /me/planner/tasks
List tasks
Get-MgBetaUserPlannerTaskDelta /planner/tasks/delta
plannerTask: delta
Get-MgBetaUserTodoList /me/todo/lists
List lists
Get-MgBetaUserTodoList /me/todo/lists/{todoTaskListId}
Get todoTaskList
Get-MgBetaUserTodoTask /me/todo/lists/{todoTaskListId}/tasks
List Todo tasks
Get-MgBetaUserTodoTask /me/todo/lists/{todoTaskListId}/tasks/{taskId}
Get todoTask
Get-MgBetaUserTodoTaskAttachment /me/todo/lists/{id}/tasks/{id}/attachments/{id}
Get taskFileAttachment
Get-MgBetaUserTodoTaskAttachment /me/todo/lists/{todoTaskListId}/tasks/{todoTaskId}/attachments
List taskFileAttachments
Get-MgBetaUserTodoTaskChecklistItem /me/todo/lists/{todoTaskListId}/tasks/{todoTaskId}/checklistItems
List checklistItems
Get-MgBetaUserTodoTaskChecklistItem /me/todo/lists/{todoTaskListId}/tasks/{todoTaskId}/checklistItems/{checklistItemId}
Get checklistItem
Get-MgBetaUserTodoTaskLinkedResource /me/todo/lists/{todoTaskListId}/tasks/{taskId}/linkedResources
List linkedResources
Get-MgBetaUserTodoTaskLinkedResource /me/todo/lists/{todoTaskListId}/tasks/{taskId}/linkedResources/{linkedResourcesId}
Get linkedResource
Remove-MgBetaUserTodoList /me/todo/lists/{todoTaskListId}
Delete todoTaskList

Code Examples

C# / .NET SDK
Delete todoTaskList
// Code snippets are only available for the latest version. Current version is 5.x

// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=csharp
await graphClient.Me.Todo.Lists["{todoTaskList-id}"].DeleteAsync();
JavaScript
Delete todoTaskList
const options = {
	authProvider,
};

const client = Client.init(options);

await client.api('/me/todo/lists/AAMkADIyAAAhrbPXAAA=')
	.delete();
PowerShell
Delete todoTaskList
Import-Module Microsoft.Graph.Users
# A UPN can also be used as -UserId.
Remove-MgUserTodoList -UserId $userId -TodoTaskListId $todoTaskListId
Python
Delete todoTaskList
# Code snippets are only available for the latest version. Current version is 1.x
from msgraph import GraphServiceClient
# To initialize your graph_client, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=python

await graph_client.me.todo.lists.by_todo_task_list_id('todoTaskList-id').delete()

App Registration

1

Navigate to Azure Portal

Go to App registrations in Microsoft Entra admin center

2

Add API Permission

Select your app → API permissions → Add a permission → Microsoft Graph

3

Select Permission Type

Choose Delegated permissions and search for Tasks.Read

4

Grant Admin Consent

Users can consent to this permission during sign-in.