# List Tasks

> `UiPath.MicrosoftOffice365.Activities.Planner.Tasks.ListTasks`

`UiPath.MicrosoftOffice365.Activities.Planner.Tasks.ListTasks`

## **Description**

Uses the Microsoft Graph [List tasks](https://docs.microsoft.com/en-us/graph/api/plannerplan-list-tasks?view=graph-rest-1.0&tabs=http) API to list all tasks in a plan.

### Scopes

This activity requires the following scopes:

* Tasks.Read

OR

* Tasks.ReadWrite

OR

* Group.Read.All

OR

* Group.ReadWrite.All

## Project compatibility

Windows - Legacy | Windows

## **Configuration**

**Properties**

#### Common

* **DisplayName** - The display name of the activity. This property supports `String` variables and string formatted values.

#### Input

* **Plan** - The PlannerPlan object. This field supports only `PlannerPlan` variables.

#### Misc

* **Private** - If selected, the values of variables and arguments are no longer logged at Verbose level. This field supports Boolean values.

#### Output

* **Tasks** - The collection of PlannerTask from the specific PlannerPlan. This field supports only `PlannerTask[]` variables. Required if you plan to use the output data in subsequent activities. You can also use this variable as an input variable in other Planner activities.
