> For the complete documentation index, see [llms.txt](https://docs.realmjoin.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.realmjoin.com/pt/automacao/runbooks/runbook-references/org/general/export-all-autopilot-devices.md).

# Exportar todos os dispositivos Autopilot

### Descrição

Lista todos os dispositivos Windows Autopilot e, opcionalmente, exporta-os para um ficheiro CSV no Azure Storage. Se a exportação estiver ativada, o runbook carrega o relatório e devolve uma ligação SAS (descarregamento) com tempo limitado.

### Localização

Organização → Geral → Exportar Todos os Dispositivos Autopilot

**Nome completo do runbook**

rjgit-org\_general\_export-all-autopilot-devices

### Permissões

#### Permissões da aplicação

* **Tipo**: Microsoft Graph
  * DeviceManagementManagedDevices.Read.All
  * Directory.Read.All
  * Device.Read.All

### Parâmetros

#### ExportToFile

"Listar no Console" (valor final: $false) ou "Exportar para um ficheiro CSV" (valor final: $true) podem ser selecionadas como ação a executar.

| Propriedade       | Valor    |
| ----------------- | -------- |
| Obrigatório       | falso    |
| Valor predefinido | Falso    |
| Tipo              | Booleano |

#### ContainerName

Nome do contentor do Azure Storage para onde carregar o relatório CSV.

| Propriedade       | Valor  |
| ----------------- | ------ |
| Obrigatório       | falso  |
| Valor predefinido |        |
| Tipo              | String |

#### ResourceGroupName

Nome do Grupo de Recursos do Azure que contém o Storage Account.

| Propriedade       | Valor  |
| ----------------- | ------ |
| Obrigatório       | falso  |
| Valor predefinido |        |
| Tipo              | String |

#### StorageAccountName

Nome do Storage Account do Azure usado para carregamento.

| Propriedade       | Valor  |
| ----------------- | ------ |
| Obrigatório       | falso  |
| Valor predefinido |        |
| Tipo              | String |

#### StorageAccountLocation

Região do Azure para o Storage Account, caso precise ser criado.

| Propriedade       | Valor  |
| ----------------- | ------ |
| Obrigatório       | falso  |
| Valor predefinido |        |
| Tipo              | String |

#### StorageAccountSku

Nome da SKU para o Storage Account, caso precise ser criado.

| Propriedade       | Valor  |
| ----------------- | ------ |
| Obrigatório       | falso  |
| Valor predefinido |        |
| Tipo              | String |

[Voltar à visão geral da referência do runbook](/pt/automacao/runbooks/runbook-references.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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/export-all-autopilot-devices.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.
