> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/server/knowledge-base/how-to-articles/synchronize-user-groups.md).

# Synchronize user groups

Synchronize user groups in Devolutions Server with identity providers manually from the domain or on a recurring schedule with configurable intervals.

Maintaining the security and consistency of your systems requires up-to-date synchronization between user groups and their associated identity providers. Devolutions Server streamlines this process by offering flexible options for synchronization: ***manual (From domain)*** or ***scheduled***.

#### Manual synchronization (From domain)

1. Open Devolutions Server and go to ***Administration*** – ***User groups***.
2. Click ***Group synchronization***.
3. Select ***From domain***. The groups' information has been successfully updated from providers.

#### Scheduled synchronization

1. Open Devolutions Server and go to ***Administration*** – ***User groups***.
2. Click ***Group synchronization*** and select ***Synchronization schedule***.
3. In ***User and Group Scheduled Synchronization*** window, check the ***Enable*** box.
4. Choose recurrence type:
   * **Interval**: Select this to synchronize at consistent intervals (e.g., every 1 hour).
   * **Daily**: Specify a particular time of day for daily synchronization.
5. Set update time parameters:
   * For **Interval**, define the frequency in hours and minutes.
   * For **Daily**, set the number of days between synchronizations and the exact time for execution.
6. Check ***Replicate external provider state*** if needed. Accounts that are disabled or deleted will be replicated with the same status.
7. Check ***Unassign licenses for disabled users*** if needed. When enabled, Devolutions Server automatically unassigns licenses from disabled users so they can be reassigned to active users.
8. Click **Save** to apply the changes.


---

# 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.devolutions.net/server/knowledge-base/how-to-articles/synchronize-user-groups.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.
