# Deploy Group Templates

### Overview

The Deploy Group Templates page provides an interface for creating and deploying group templates in Microsoft 365. This feature offers an easy and efficient way to manage group creation, allowing users to select from a list of pre-defined templates and apply them across chosen tenants.

This document provides a step-by-step guide on how to navigate and utilize the Deploy Group Templates page.

{% stepper %}
{% step %}

### Tenant Choice

In this step, you choose the tenants for which you want to create the group. Each tenant has a `displayName` and `defaultDomainName`.
{% endstep %}

{% step %}

### Choose Template

In this step, you can choose to apply one of the previously created templates or manually enter the group information. If you opt for a template, select it from the dropdown menu. The page will automatically populate the rest of the fields based on the chosen template.

However, you have the flexibility to adjust the options as needed:

* **Group Type**: Select the type of group. Options include Dynamic Group, Security Group, Distribution Group, Azure Role Group, and Mail Enabled Security Group.
* **Group Display Name**: Enter the name that will be displayed for the group.
* **Group Description**: Provide a brief description of the group. This field is optional.
* **Group Username**: Specify the username for the group.
* **Let people outside the organization email the group**: Check this box if you want the group to be able to receive emails from outside the organization. This option is available only for Distribution Groups.
* **Membership Rule**: If you chose Dynamic Group as the group type, you can specify the rule for membership here.

Remember, the options presented depend on the Group Type selected. For instance, the "Membership Rule" field only appears if you select "Dynamic Group" as the Group Type.

For more details on these settings, please refer to [Group Templates](/user-documentation/identity/administration/group-templates.md).
{% endstep %}

{% step %}

### Review and Confirm

In this step, you review your input and confirm to apply. The application sends a POST request to the `AddGroup` endpoint listed below with your input as values.
{% endstep %}
{% endstepper %}

***

## 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/group-templates/deploy.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.
