> 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/es/automatizacion/runbooks/runbook-references/device/general/sync-device.md). Agents can also search and read this documentation through its [MCP server](https://docs.realmjoin.com/~gitbook/mcp).

# Sincronizar dispositivo

Activar una sincronización de Intune en este dispositivo

### Descripción

Pide a este dispositivo que haga check-in con Intune, para que las directivas, aplicaciones y configuración pendientes se apliquen sin esperar al siguiente check-in programado. Primero se muestran el nombre del dispositivo, el sistema operativo, el usuario principal y el último check-in. Si este dispositivo está sin conexión, se sincroniza cuando vuelve a estar en línea. El dispositivo debe estar inscrito en Intune.

### Cómo funciona

El runbook busca este dispositivo en Intune por su ID de dispositivo de Entra ID, muestra su estado actual y envía la misma solicitud de sincronización que **Sincronizar** en el centro de administración de Intune. Intune activa el dispositivo a través del servicio push de su plataforma; luego el dispositivo hace check-in, aplica las directivas, aplicaciones y configuración pendientes y devuelve su estado. Un dispositivo sin conexión recibe la solicitud cuando vuelve a estar en línea. La hora del último check-in en Intune cambia solo después de que el check-in se haya completado.

Si un registro anterior dejó más de un registro de Intune con el mismo ID de dispositivo de Entra ID, la solicitud de sincronización va al registro que hizo check-in más recientemente y la ejecución muestra una advertencia. Elimine los registros obsoletos en el centro de administración de Intune.

### Sincronizar sin el permiso de la aplicación RealmJoin

Los **Sincronizar** botón en el [detalles del dispositivo](https://docs.realmjoin.com/ugd-management/user-list/device-details) del Portal de RealmJoin solicita a Intune a través de la aplicación RealmJoin, que luego necesita el permiso de Intune para acciones remotas en dispositivos. Este runbook envía la solicitud con la identidad administrada de la cuenta de Automation en su lugar. Úselo cuando la aplicación RealmJoin no tenga ese permiso pero el personal de la mesa de ayuda aún deba poder sincronizar un dispositivo. Quién puede iniciar el runbook está controlado por los permisos del runbook en RealmJoin.

### Ubicación

Dispositivo → General → Sincronizar dispositivo

**Nombre completo del runbook**

rjgit-device\_general\_sync-device

### Detalles

| Propiedad          | Valor                                                                                    |
| ------------------ | ---------------------------------------------------------------------------------------- |
| Versión            | 1.0.0                                                                                    |
| Módulos requeridos | <p>RealmJoin.RunbookHelper (>= 0.8.10)<br>Microsoft.Graph.Authentication (>= 2.41.2)</p> |
| Programable        | no                                                                                       |

### Permisos

#### Permisos de aplicación

* **Tipo**: Microsoft Graph
  * DeviceManagementManagedDevices.PrivilegedOperations.All
    * *Envía la solicitud de sincronización al dispositivo mediante POST /deviceManagement/managedDevices/{id}/syncDevice*
  * DeviceManagementManagedDevices.Read.All
    * *Encuentra el registro de Intune de este dispositivo por azureADDeviceId y lee su nombre, sistema operativo, usuario principal, estado de cumplimiento y último check-in*

### Parámetros

#### DeviceId

ID de dispositivo de Entra ID del dispositivo sobre el que actúa el runbook. Establecido por el portal a partir del dispositivo seleccionado.

| Propiedad            | Valor                                                       |
| -------------------- | ----------------------------------------------------------- |
| Obligatorio          | true                                                        |
| Valor predeterminado |                                                             |
| Tipo                 | Cadena                                                      |
| Oculto en el portal  | sí (preestablecido mediante la personalización del runbook) |

[Volver al resumen de referencia de Runbook](https://docs.realmjoin.com/es/automatizacion/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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.realmjoin.com/es/automatizacion/runbooks/runbook-references/device/general/sync-device.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
