Skip to main content

Sync a client’s people from Microsoft 365

Read a client’s accounts from their own Microsoft 365, choose who counts, and sync them to People.

On Practice and Firm, you can bring a client’s people in from their own Microsoft 365 instead of typing them or importing a spreadsheet. Debut reads their accounts, you choose who counts, and you sync them to the client’s People tab. Then the client’s point of contact can confirm the list in their portal.

The census only reads. It never changes anything in your client’s Microsoft 365, and it reads only when someone on your team asks it to.

Before you start

  • The census comes with the Practice and Firm plans. On Free, the People tab shows Want to sync the users with Microsoft? Upgrade instead.

  • It reads with the Microsoft app your team signs in with. An owner or admin gets that app ready once, with the census permissions. See Set up Microsoft sign-in.

  • Owners, admins and engineers who work on the client can connect it. Read-only members can look but not change anything.

  • Someone who is a Global Administrator of the client’s Microsoft 365 approves your app, once.

Find their tenant

  1. Open the client and choose the People tab. In the side panel, under Microsoft 365, choose Connect Microsoft 365. An empty People list has the same link.

  2. Under One of their email domains, type a domain they use for email, or their tenant ID.

  3. Choose Find it.

The Microsoft 365 page for a client, with one of their email domains typed in and the Find it button

Microsoft says which tenant the domain belongs to. Nobody signs in for this step.

Approve your app in their tenant

A Global Administrator of the client’s Microsoft 365 approves your app, once. There are two ways.

  • If that is you, through your partner access or their admin account, choose Approve in Microsoft. Sign in as their administrator and accept. You come back to Debut, and it checks with Microsoft by itself every few seconds until the approval takes.

  • Otherwise, copy the link under Or send this link to their administrator and send it to them. It opens Microsoft’s approval page for your app and nothing else. When they are done, choose Check again.

Waiting for an administrator to approve: the Approve in Microsoft and Check again buttons, and the link to send to their administrator

Microsoft’s approval page lists every permission your app has, including the ones your team uses to sign in. Debut uses the approval only to read their users and groups.

Choose who counts

Once approved, Debut reads their accounts. Who counts lists every account, and the count beside it says how many are in. Every change counts at once. There is no Save button.

Who counts: the client’s accounts with the rules, licenses, domains and departments beside them, and the accounts a rule leaves out grayed
  • The rules. Only accounts that can sign in, Members only, no guests and Only accounts with a license start ticked. Shared mailboxes, rooms and most service accounts have no license, so they stay out. Accounts a rule leaves out are grayed, with the reason beside them.

  • Licenses, Domains and Departments. Each lists what their accounts have, with a count. Untick one to leave its accounts out.

  • Groups. Type part of a group’s name, then tick the groups you want. Only people in a ticked group count, nested groups included. Untick a group to drop it.

  • By hand. Tick or untick anyone. That choice stays through the next read.

  • Select all ticks everyone the rules allow. The grayed accounts stay out.

The Groups search, with part of a group’s name typed and the matching groups to tick

Groups need one more permission on your app, GroupMember.Read.All. Without it, the group search says so.

Sync to People

Choose Sync N to People. Everyone who counts is added to the client’s People tab, or brought up to date there if they are already on it. People are matched by email, so someone you typed in by hand is not added twice. Nobody already on the People tab is removed.

The People tab then says how many were added and how many were brought up to date. You can invite them straight away. You do not need to wait for the client to confirm the list.

The People tab after a sync, saying how many were added from Microsoft 365, with the Microsoft 365 and Confirmed by the client sections in the side panel

Read again later

Debut reads their accounts only when you ask. To catch people who joined or left, choose Read again on the Microsoft 365 page, then sync again.

If someone you synced earlier no longer counts, because they left or because you changed who counts, the top of the People tab says they no longer count in Microsoft 365. Nobody is removed for you. If they have left, remove them from their Edit panel. If they should still count, tick them on the Microsoft 365 page.

After you add a permission to your app

An approval covers the permissions your app had when it was given. If you add one later, such as GroupMember.Read.All for groups, the client’s administrator approves the app again. Choose Approve again in Microsoft at the top of the Microsoft 365 page and sign in as their administrator.

Disconnect

Choose Disconnect Microsoft 365 at the foot of the page. Debut stops reading their tenant, and the people already synced stay on the People tab. Canceling the onboarding disconnects it too.

Their approval stays in Microsoft, so connecting again later does not ask their administrator again. To take the approval away entirely, their administrator removes your app in Microsoft Entra, under Enterprise applications.

If Microsoft refuses

  • Microsoft says your app is not approved in this tenant yet. Their administrator has not approved it yet, or Microsoft has not caught up. Right after an approval, Microsoft can take a minute or two. Choose Check again.

  • The app is approved there, but without permission to read users. Add User.Read.All (Application) to your app, then have their administrator approve it again.

  • To find their groups, add GroupMember.Read.All. Add it to your app (Application), then have their administrator approve it again.

  • Microsoft refused your app’s secret. An owner or admin saves a current secret in Settings › Sign-in.

  • Microsoft knows no tenant by that name. Check the domain, or use their tenant ID.

  • Microsoft sign-in is not set up for your workspace. An owner or admin sets up the app first, in Settings › Sign-in.

Related guides

Did this answer your question?