> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.middesk.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.middesk.com/_mcp/server.

# Enable directory sync

> Configure Directory Sync to automatically synchronize your enterprise user directories with Middesk.

Use Directory Sync to automatically synchronize user accounts and group membership between your enterprise identity provider and Middesk. It provides a single source of truth for directory data so you maintain accurate, up-to-date access without managing users in two places.

Directory Sync supports the most common identity providers — including Okta, Azure AD, JumpCloud, and Google Workspace — through a guided setup, plus custom SAML 2.0 and OpenID Connect integrations for everything else.

After you connect a provider, Middesk provisions matching users in your account and keeps membership in sync as people are added, moved between groups, or deprovisioned in your IdP. New hires gain access automatically, and offboarded users lose it without a manual step.

## Enable directory sync

#### Navigate to team settings

Go to the [team settings page](https://app.middesk.com/settings/team) of the Dashboard.

#### Open Directory Sync configuration

Under **Directory Sync**, click **Configure**.

There's a guided setup process available to help you configure Directory Sync with many of the most popular identity providers. For more advanced configurations, you can also configure a custom SAML or OpenID Connect integration.

![Available directory providers](/_fern-img/07c82e5b8014d3e7344b57164bbd62f26ff9b736b9a8065ee638de248a45629e.webp)

After you've successfully set up the connection, Middesk begins creating the corresponding users in your Middesk account.

> **Get a demo**
>
> Contact your account manager or [contact sales](https://www.middesk.com/contact-sales) to inquire about access.