---
title: "Directory sync | Mango Inventory Docs"
url: "https://mangoinventory.com/en/docs/verzeichnis-sync"
description: "Connect Microsoft Entra or Google Workspace. Users join automatically and are deactivated when they leave."
language: "en"
other_languages:
  de: "https://mangoinventory.com/docs/verzeichnis-sync.md"
  fr: "https://mangoinventory.com/fr/docs/verzeichnis-sync.md"
  es: "https://mangoinventory.com/es/docs/verzeichnis-sync.md"
  it: "https://mangoinventory.com/it/docs/verzeichnis-sync.md"
---

# Directory sync

Connect your organization’s directory once, and Mango Inventory maintains the user list by itself: whoever is in the chosen groups joins. Whoever leaves them is deactivated. Your user list always matches your directory.

## Pick your guide

- **[Connect Microsoft Entra](https://mangoinventory.com/en/docs/verzeichnis-sync-entra)** for organizations on Microsoft 365.
- **[Connect Google Workspace](https://mangoinventory.com/en/docs/verzeichnis-sync-google)** for organizations on Google Workspace.

Setup takes 10 to 15 minutes, in three steps: choose your service, connect, set groups and role. Before anyone is added, you see the list.

## Prerequisites

- **Premium plan.** Directory sync is included. Details on the [pricing page](https://mangoinventory.com/en#preise).
- **Owner role in Mango Inventory.** You find the setup under Settings → Members, on the “Single sign-on” card with “Set up”.
- **Administrator rights in the directory.** With Microsoft for a one-time consent, with Google for the sign-in.

## What the sync does

Mango reconciles the chosen groups **every night**, or right away with “Sync now”.

- **New members join automatically** in the role you set (default: Member). They sign in with “Continue with Microsoft” or “Continue with Google”: no invitation, no new password.
- **Names and profile pictures stay up to date.**
- **Whoever leaves the groups is deactivated.** No more access; who had and reported what stays in the history. If the person comes back, their access is back too.
- **You can still invite people.** For external people or the temporary helper with a private address, see [Users & roles](https://mangoinventory.com/en/docs/sso-benutzer).

*The “Members” page with the “Single sign-on” card: Microsoft Entra with “Active” status, the line showing the last run and “Edit”*

## Check first, then sync

“Preview changes” shows beforehand who will join, be updated or be deactivated. Nothing changes until you click “Sync now”.

*The sync preview with the “New members” section and the “Sync now” button*

## What your team notices

Nothing. And that’s the point. Everyone opens `app.mangoinventory.com`, signs in with Microsoft or Google and is right inside your organization, in the right role.
