# Get Group

> `UiPath.MicrosoftOffice365.Activities.Groups.GetGroup`

`UiPath.MicrosoftOffice365.Activities.Groups.GetGroup`

## **Description**

Uses the Microsoft Graph [Get group](https://docs.microsoft.com/en-us/graph/api/group-get?view=graph-rest-1.0&tabs=http) API to look up a user group.

### Scopes

This activity requires the following scopes:

* Group.Read.All

OR

* Directory.Read.All

OR

* Group.ReadWrite.All

OR

* Directory.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

* **Mail Nickname** - The mail alias for the group. Maximum length: 64 characters. 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

* **Group** - The Group object with the specified ID. This field supports only `Group` 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 Group and Planner activities.
