# Adicionar grupo do Office365

### Descrição

Este runbook cria um grupo do Microsoft 365 e provisiona o site do SharePoint relacionado. Opcionalmente, ele pode promover o grupo para uma equipe do Microsoft Teams após a criação.

### Localização

Organization → General → Add Office365 Group

**Nome completo do Runbook**

rjgit-org\_general\_add-office365-group

### Permissões

#### Permissões de aplicativo

* **Tipo**: Microsoft Graph
  * Group.Create
  * Team.Create

### Parâmetros

#### MailNickname

Apelido de e-mail usado para a criação do grupo.

| Propriedade  | Valor  |
| ------------ | ------ |
| Obrigatório  | true   |
| Valor padrão |        |
| Tipo         | String |

#### DisplayName

Nome de exibição opcional. Se estiver vazio, MailNickname é usado.

| Propriedade  | Valor  |
| ------------ | ------ |
| Obrigatório  | false  |
| Valor padrão |        |
| Tipo         | String |

#### CreateTeam

Escolha "Criar apenas um site do SharePoint" (valor final: $false) ou "Criar uma equipe (e um site do SharePoint)" (valor final: $true). Uma equipe precisa de um proprietário, então, se CreateTeam estiver definido como true e nenhum proprietário for especificado, o runbook definirá o chamador como proprietário.

| Propriedade  | Valor   |
| ------------ | ------- |
| Obrigatório  | false   |
| Valor padrão | False   |
| Tipo         | Boolean |

#### Private

Escolha a visibilidade do grupo: "Público" (valor final: $false) ou "Privado" (valor final: $true).

| Propriedade  | Valor   |
| ------------ | ------- |
| Obrigatório  | false   |
| Valor padrão | False   |
| Tipo         | Boolean |

#### MailEnabled

Se definido como true, o grupo terá e-mail habilitado.

| Propriedade  | Valor   |
| ------------ | ------- |
| Obrigatório  | false   |
| Valor padrão | False   |
| Tipo         | Boolean |

#### SecurityEnabled

Se definido como true, o grupo terá segurança habilitada.

| Propriedade  | Valor   |
| ------------ | ------- |
| Obrigatório  | false   |
| Valor padrão | True    |
| Tipo         | Boolean |

#### Owner

Proprietário opcional do grupo.

| Propriedade  | Valor  |
| ------------ | ------ |
| Obrigatório  | false  |
| Valor padrão |        |
| Tipo         | String |

#### Owner2

Segundo proprietário opcional do grupo.

| Propriedade  | Valor  |
| ------------ | ------ |
| Obrigatório  | false  |
| Valor padrão |        |
| Tipo         | String |

[Voltar para a visão geral da Referência de Runbook](/pt/automacao/runbooks/runbook-references.md)


---

# 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.realmjoin.com/pt/automacao/runbooks/runbook-references/org/general/add-office365-group.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.
