Tasks.Read.All
Allows the app to read all users’ tasks and task lists in your organization, without a signed-in user.
Permission Details
Read all users’ tasks and tasklist
Allows the app to read all users’ tasks and task lists in your organization, without a signed-in user.
f10e1f91-74ed-437f-a6fd-d6ae88e26c1f
Properties
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
JSON representation is shown from beta metadata because a stable v1.0 schema is not available for this resource mapping.
{
"@odata.type": "#microsoft.graph.tasks",
"id": "String (identifier)"
}
Relationships
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
Microsoft Graph v1.0 endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
Microsoft Graph beta endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
Microsoft Graph PowerShell v1.0 commands are mapped directly from refreshed Microsoft Learn PowerShell snippets.
Microsoft Graph PowerShell beta commands are mapped directly from refreshed Microsoft Learn PowerShell snippets.
Code Examples
// 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
var result = await graphClient.Me.Todo.Lists["{todoTaskList-id}"].Tasks["{todoTask-id}"].ChecklistItems["{checklistItem-id}"].GetAsync();
const options = {
authProvider,
};
const client = Client.init(options);
let checklistItem = await client.api('/me/todo/lists/AAMkADliMmU5YjJlLTVmMmQtNGQzNS1iYjA0LTdmZTA2NTI0MTE5YwAuAAAAAADdOMUbUmCfTKa7OC-fqjkdAQBnu3olF7NfToRyJ2f__TNcAAAAAAESAAA=/tasks/AAkALgAAAAAAHYQDEapmEc2byACqAC-EWg0AZ7t6JRezX06Ecidn-vkzXAABPDii4gAA/checklistItems/51d8a471-2e9d-4f53-9937-c33a8742d28f')
.get();
Import-Module Microsoft.Graph.Users
# A UPN can also be used as -UserId.
Get-MgUserTodoTaskChecklistItem -UserId $userId -TodoTaskListId $todoTaskListId -TodoTaskId $todoTaskId -ChecklistItemId $checklistItemId
# 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
result = await graph_client.me.todo.lists.by_todo_task_list_id('todoTaskList-id').tasks.by_todo_task_id('todoTask-id').checklist_items.by_checklist_item_id('checklistItem-id').get()
App Registration
Navigate to Azure Portal
Go to App registrations in Microsoft Entra admin center
Add API Permission
Select your app → API permissions → Add a permission → Microsoft Graph
Select Permission Type
Choose Application permissions and search for Tasks.Read.All
Grant Admin Consent
Application permissions always require admin consent.