# Create Task

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

`UiPath.MicrosoftOffice365.Activities.Planner.Tasks.CreateTask`

## Description

Uses the Microsoft Graph [Create task](https://docs.microsoft.com/en-us/graph/api/planner-post-tasks?view=graph-rest-1.0&tabs=http) API to create a new task.

### Scopes

This activity requires the following scopes:

* Tasks.ReadWrite

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

* **Bucket** - The PlannerBucket object. This field supports only `PlannerBucket` variables.
* **Plan** - The PlannerPlan object. This field supports only `PlannerPlan` variables.
* **Title** - The title of the task. This property supports `String` variables and string formatted values.

#### Misc

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

#### Output

* **Task** - The newly created PlannerTask object. 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.
