# Get Plan

> `UiPath.MicrosoftOffice365.Activities.Planner.Plans.GetPlan`

`UiPath.MicrosoftOffice365.Activities.Planner.Plans.GetPlan`

## Description

Uses the Microsoft Graph [Get plan](https://docs.microsoft.com/en-us/graph/api/plannerplan-get?view=graph-rest-1.0&tabs=http) API to retrieve a plan by its ID.

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

#### Common

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

#### Input

* **Plan ID** - The ID of the plan. This ID may be found in the last part of the plan's URL. For example: `https://tasks.office.com/tenant/en-US/Home/Planner/#/plantaskboard?groupId=ABC&planId=XYZ`. 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

* **Plan** - The Microsoft plan with the specific ID. This field supports only `PlannerPlan` 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.
