> 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/org/devices/sync-device-serialnumbers-to-entraid_scheduled.md).

# Sincronizar números de serie de dispositivos con Entra ID programado

Copiar los números de serie de Intune en un atributo de extensión de Entra ID

{% hint style="info" %}
Este es un runbook programado. Está diseñado para ejecutarse según una programación recurrente en lugar de activarse para un único objeto. Véase [Programación](/es/automatizacion/runbooks/scheduling.md) para obtener detalles sobre cómo configurar las programaciones del runbook.
{% endhint %}

### Descripción

Escribe el número de serie de cada dispositivo administrado por Intune en uno de los atributos de extensión de su objeto de dispositivo de Entra ID. Eso hace que el número de serie pueda usarse en grupos dinámicos y filtros. De forma predeterminada, solo se actualizan los dispositivos con un valor faltante o diferente. Se puede enviar un informe por correo electrónico.

### Ubicación

Organization → Devices → Sync Device Serialnumbers To Entra ID (Scheduled)

**Nombre completo del runbook**

rjgit-org\_devices\_sync-device-serialnumbers-to-entraid\_scheduled

### Detalles

| Propiedad          | Valor                               |
| ------------------ | ----------------------------------- |
| Versión            | 1.0.1                               |
| Módulos requeridos | RealmJoin.RunbookHelper (>= 0.8.10) |
| Programable        | sí                                  |

### Permisos

#### Permisos de aplicación

* **Tipo**: Microsoft Graph
  * Organization.Read.All
    * *Lee /organization para obtener el nombre para mostrar del inquilino en el informe por correo electrónico*
  * Device.ReadWrite.All
    * *Enumera los dispositivos de Entra y actualiza sus extensionAttributes con el número de serie de Intune*
  * DeviceManagementManagedDevices.Read.All
    * *Lee los dispositivos administrados por Intune para obtener serialNumber y azureADDeviceId*
  * Mail.Send *(opcional — característica: informe por correo electrónico)*
    * *Envía el informe HTML de sincronización mediante /users/{sendReportFrom}/sendMail cuando sendReportTo está configurado*

### Parámetros

#### ExtensionAttributeNumber

Cuál de los atributos de extensión de Entra ID (1 a 15) recibe el número de serie.

| Propiedad                      | Valor                           |
| ------------------------------ | ------------------------------- |
| Requerido                      | falso                           |
| Valor predeterminado           | 1                               |
| Tipo                           | Int32                           |
| Nombre para mostrar del portal | Número de atributo de extensión |

#### ProcessAllDevices

Escribe el atributo en cada dispositivo, no solo donde falta o es diferente.

| Propiedad                      | Valor                             |
| ------------------------------ | --------------------------------- |
| Requerido                      | falso                             |
| Valor predeterminado           | Falso                             |
| Tipo                           | Booleano                          |
| Nombre para mostrar del portal | ¿Procesar todos los dispositivos? |

#### MaxDevicesToProcess

Se detiene después de este número de dispositivos; 0 significa sin límite.

| Propiedad                      | Valor                                |
| ------------------------------ | ------------------------------------ |
| Requerido                      | falso                                |
| Valor predeterminado           | 0                                    |
| Tipo                           | Int32                                |
| Nombre para mostrar del portal | Máximo de dispositivos por ejecución |

#### sendReportTo

Dirección a la que se envía el informe. Déjelo vacío para no enviar ninguno.

| Propiedad                      | Valor                    |
| ------------------------------ | ------------------------ |
| Requerido                      | falso                    |
| Valor predeterminado           |                          |
| Tipo                           | Cadena                   |
| Nombre para mostrar del portal | Destinatario del informe |

#### sendReportFrom

Dirección del remitente del correo del informe. Use un buzón que exista en el inquilino.

| Propiedad                      | Valor                     |
| ------------------------------ | ------------------------- |
| Requerido                      | falso                     |
| Valor predeterminado           | <runbook@glueckkanja.com> |
| Tipo                           | Cadena                    |
| Nombre para mostrar del portal | Remitente del informe     |

[Volver a la vista general de referencia del runbook](/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/org/devices/sync-device-serialnumbers-to-entraid_scheduled.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.
