# Group Exists

> Group Exists activity that checks if a group exists in Active Directory.

`UiPath.ActiveDirectoryDomainServices.Activities.GroupExists`

## Description

Checks if a group exists in Active Directory.

## Project compatibility

Windows - Legacy | Windows

## Configuration

### Common

* **DisplayName** - The display name of the activity.

### Input

* **CheckGroupBy** - Specifies which Active Directory property to be used for checking the existence of a group. The default value is **SAMAccountName**.
* **Location** - Specifies where exactly should the Active Directory check for the group existence.
* **Value** - Specifies the value of the selected Active Directory property.
* **Connection** - Establish the connection that needs to be used. There are two available options, **Primary** and **Secondary**. The default option is **Primary**.

### Misc

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

### Output

* **Exists** - Provides the result of the search, whether the group exists or not in the Active Directory.
