website/src/app/kb/directory-sync/entra/readme.mdx
import Alert from "@/components/DocsAlert"; import PlanBadge from "@/components/PlanBadge"; import SupportOptions from "@/components/SupportOptions";
<PlanBadge plans={["enterprise"]}>
On Enterprise plans, Firezone can automatically synchronize users and groups from your Microsoft Entra ID directory. This eliminates the need to manually create and manage users in Firezone. You can add multiple Entra directories to sync from different tenants.
Firezone uses Microsoft Graph API to read users and groups from your Entra directory. When you complete the setup flow, you'll authorize Firezone to access your directory with read-only permissions.
Settings -> Directory Sync.Select how you want Firezone to sync groups from your directory:
Only groups assigned to the Firezone Directory Sync Enterprise Application in your Entra tenant will be synced. This gives you fine-grained control over which groups appear in Firezone.
<Alert color="warning"> This option requires **Entra ID P1/P2** or higher. It will not work with Entra ID Free. </Alert>To assign groups to the Firezone Directory Sync application:
Only users who are members of the assigned groups will be synced to Firezone.
All groups from your Entra directory will be synced to Firezone. Use this option if:
Click Verify Now to authorize Firezone to access your Entra directory. You'll be redirected to Microsoft to sign in and grant permissions.
<Alert color="warning"> Verify you're signing into the **correct tenant** before granting permissions. The tenant ID will be captured during this step. </Alert>If successful, you'll see a confirmation message. Click Save to complete the setup.
Directory sync runs automatically every 2 hours. To trigger a sync immediately,
click the Sync Now button on the directory card in
Settings -> Directory Sync.
This typically means the permissions were not granted correctly during setup. We recommend editing the directory in Firezone, clicking Reset Verification then click Verify Now. You should be asked to grant the appropriate permissions.
If you need to delete the Enterprise App in the Entra Portal, first disable the sync in the Firezone portal. After deleting the Enterprise App return to Firezone, edit the Entra directory sync, click Reset Verification, and then click Verify Now.
If you're using Assigned groups only and groups aren't appearing:
Users are synced based on their group membership. If a user isn't syncing:
If users or groups from the wrong tenant are syncing, remove the directory and add it again. During the Verify Now step, ensure you're signing into the correct Microsoft account and tenant.
<SupportOptions />