> For the complete documentation index, see [llms.txt](https://docs.harmony.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.harmony.io/asset-management/automatic-device-sync-when-connecting-an-mdm-integration.md).

# Automatic Device Sync When Connecting an MDM Integration

When you connect a new Mobile Device Management (MDM) integration in Harmony, a device sync starts automatically as soon as the setup is complete. This means your managed devices appear in your asset inventory right away, without any extra steps on your part.

### How It Works

Once you finish configuring a new MDM integration, Harmony immediately triggers a device sync in the background. The sync pulls in all devices managed by that MDM and populates your device inventory automatically.

You do not need to:

* Wait for a scheduled sync to run
* Manually trigger a sync after setup

Your devices are available as soon as the initial sync completes.

### Getting Started

To take advantage of automatic device sync, connect your MDM integration as you normally would:

1. Navigate to **Asset Management** and open the integrations settings.
2. Select your MDM provider and complete the configuration steps.
3. Once the integration is saved, Harmony automatically starts syncing your devices.
4. Refresh your device inventory to see your managed devices as they are pulled in.

No additional configuration is required to enable the automatic sync - it happens by default for every new MDM integration you connect.

### What to Expect After Setup

* **Immediate sync** - A sync begins the moment your integration setup is complete.
* **Populated inventory** - Your managed devices appear in the asset inventory once the sync finishes, typically within a few minutes depending on the size of your device fleet.
* **Ongoing scheduled syncs** - After the initial automatic sync, Harmony continues to sync your devices on the regular scheduled cadence to keep your inventory up to date.

### Troubleshooting

If your devices do not appear after connecting an MDM integration, check the following:

* Confirm the integration was saved successfully and shows an active status.
* Verify that the credentials or permissions provided during setup allow Harmony to read device data from your MDM.
* If the inventory still appears empty after several minutes, you can manually trigger a sync from the integration settings to retry.


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.harmony.io/asset-management/automatic-device-sync-when-connecting-an-mdm-integration.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
