Skip to content
Docs

Directory sync

How to connect Microsoft 365 or Google Workspace for directory sync, what the sync does and does not do, and how to review synced people.

GAOwnerLast updated 14 November 2026

Directory sync reads the list of people from your Microsoft 365 or Google Workspace directory. It matches them to team members in ProjectBrain by email address, so hours and timesheets line up with the right person. It is for owners and admins who manage people records.

  1. Go to Organization settings > Integrations and select Directory sync.
  2. On the Microsoft 365 card, select Connect Microsoft 365.
  3. Sign in to Microsoft with your work account.
  4. Microsoft asks for permission to read the users in your directory. Approve it.
  5. You come back to the directory sync page. The card shows Connected to and your Microsoft 365 organization’s name.
  6. Tick Enable directory sync, choose your settings and select Save Settings.

To stop syncing and delete the stored Microsoft credentials, select Disconnect on the Microsoft 365 card and confirm. People already synced or imported stay in ProjectBrain.

  1. Go to Organization settings > Integrations and select Directory sync.
  2. On the Google Workspace card, select Connect Google Workspace.
  3. Sign in to Google with a Google Workspace administrator account.
  4. Google asks for permission to see the users in your domain. Approve it.
  5. You come back to the directory sync page. The card shows Connected to and your Workspace domain.
  6. Tick Enable directory sync, choose your settings and select Save Settings.

If the card says Google Workspace is not set up on this server yet, the Connect button is missing on purpose. Whoever runs your ProjectBrain server must first create a Google Cloud OAuth client and add its details to the server’s settings. Creating that OAuth client is a step for the server owner, not something you can do from this page.

If Google later stops accepting the stored access (for example an administrator removed the app or the access was revoked), syncing stops and the card asks you to Connect Google Workspace again. A short outage at Google does not do this; the next sync just tries again.

To stop syncing and delete the stored Google credentials, select Disconnect on the Google Workspace card and confirm. People already synced or imported stay in ProjectBrain.

  • Reads people from your Microsoft 365 or Google Workspace directory.
  • Matches each person to an existing team member in ProjectBrain by email address. If no email matches, it can match a very similar name.
  • Can create a new team member for anyone it could not match, if you turn that on.
  • It does not create ProjectBrain accounts or send invitations. A team member is a people record used for hours, timesheets and resourcing. It is not a login.
  • It does not sync groups. Your directory’s groups do not become departments or teams.
  • It does not remove anyone. When someone is disabled in Microsoft 365 or suspended in Google Workspace, they stop appearing in the next sync, but nothing in ProjectBrain is deleted or changed.
  • It does not change how people sign in. See Signing in and single sign-on.

For each person, directory sync reads their name, work email, job title and department. From Microsoft 365 it also reads office location and phone numbers.

Microsoft 365 sync reads only accounts that are turned on. Google Workspace sync leaves out suspended accounts.

Directory sync only reads. It never writes anything back to your directory.

Once a directory is connected, its card has these settings:

Setting What it does
Enable directory sync Turns syncing on.
Sync Frequency Every hour, Daily or Weekly.
Auto-match users to team members On by default. Matches synced people to existing team members after each sync.
Auto-import unmatched users as team members Off by default. Creates a new team member for each person who could not be matched.

Select Save Settings to keep your changes. Select Sync Now to run a sync straight away. The card shows when it last synced.

Select View & manage synced directory users to see everyone the sync found. Each person has one of these statuses:

Status Meaning
Pending Not matched yet.
Matched Linked to an existing team member.
Imported A new team member was created for them.
Ignored You chose to leave them out.

For each person you can Match them to a team member by hand, Import them as a new team member, or Ignore them. You can select several people and use Import as Team Members at once.

  • A name match can be wrong when two people have similar names. Check Matched people who have no matching email.
  • If you turn on Auto-import unmatched users as team members, shared mailboxes and service accounts in your directory can become team members. Ignore them on the review page.
  • Ignoring someone in ProjectBrain does not change your directory.