# Renomear dispositivo

### Descrição

Renomear um dispositivo (no Intune e no Autopilot).

### Localização

Dispositivo → Geral → Renomear dispositivo

**Nome completo do Runbook**

rjgit-device\_general\_rename-device

### Permissões

#### Permissões de aplicativo

* **Tipo**: Microsoft Graph
  * Device.Read.All
  * DeviceManagementManagedDevices.Read.All
  * DeviceManagementServiceConfig.ReadWrite.All
  * DeviceManagementManagedDevices.PrivilegedOperations.All

### Parâmetros

#### DeviceId

O ID do dispositivo de destino.

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

#### NewDeviceName

O novo nome do dispositivo a definir. Este runbook valida o nome em relação às restrições comuns de nome de host do Windows.

| Propriedade  | Valor  |
| ------------ | ------ |
| Obrigatório  | true   |
| 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/device/general/rename-device.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.
