# Create Bucket

> `UiPath.MicrosoftOffice365.Activities.Planner.Buckets.CreateBucket`

`UiPath.MicrosoftOffice365.Activities.Planner.Buckets.CreateBucket`

## **Description**

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

### 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

* **Name** - The name of the new bucket. This property supports `String` variables and string formatted values.
* **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

* **Bucket** - The newly created Bucket. This field supports only `PlannerBucket` 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.
