# Add Group

On this page you will enter all of the necessary information to create a group.

## Basic Group Info

| Field               | Description                                                                                       |
| ------------------- | ------------------------------------------------------------------------------------------------- |
| Display Name        | Set the display name that you want visible for this group                                         |
| Description         | Set the description for the group                                                                 |
| Username            | Set the group's username. This will be used in setting the mail nickname, e-mail address, etc.    |
| Primary Domain Name | Select the domain from the dropdown that you wish to set as the primary domain name for the group |
| Owners              | Select one or more owners of the group from the dropdown                                          |
| Members             | Select one or more members of the group from the dropdown                                         |

## Group Types

| Type                        | Additional Settings                                                                                                                       |
| --------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
| Azure Role Group            | None                                                                                                                                      |
| Security Group              | None                                                                                                                                      |
| Microsoft 365 Group         | None                                                                                                                                      |
| Dynamic Group               | Dynamic Group Parameters (see below)                                                                                                      |
| Dynamic Distribution Group  | Dynamic Group Parameters (see below)                                                                                                      |
| Distribution List           | Let people outside the organization email the group - Allows the group to receive messages from both inside and outside the organization. |
| Mail Enabled Security Group | None                                                                                                                                      |

### Dynamic Group Parameters

For Dynamic Groups, a text box for entering the dynamic group parameters syntax becomes available e.g.: `(user.userPrincipalName -notContains "#EXT#@") -and (user.userType -ne "Guest")`.

***

## Feature Requests / Ideas

We value your feedback and ideas. Please raise any [feature requests](https://github.com/KelvinTegelaar/CIPP/issues/new?template=feature.yml) on GitHub.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cipp.app/user-documentation/identity/administration/groups/add.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
