Skip to main content
The Microsoft 365 integration syncs users, groups, registered devices, and audit logs. No Azure AD app registration required — the connecting Global Admin signs in once and grants tenant-wide consent.

What you’ll need

  • Microsoft 365 Global Administrator role (or Privileged Role Admin who can grant tenant-wide consent).
  • Two minutes.

Set it up

1

Open the Microsoft 365 integration in Layer

In Layer, go to Integrations, find Microsoft 365, and click Connect.
2

Sign in with your Global Admin account

You’ll be redirected to Microsoft’s sign-in. Use the Global Admin account for the tenant you want to connect.
3

Grant tenant-wide admin consent

Microsoft will show the requested scopes. Tick Consent on behalf of your organization and click Accept.Scopes requested:
  • User.Read.All — list users
  • Group.Read.All — list groups and membership
  • Directory.Read.All — read directory metadata
  • AuditLog.Read.All — read sign-in and audit logs
  • Application.Read.All — list registered apps and service principals
4

Wait for the first sync

The initial sync runs immediately and typically finishes in 10–30 minutes depending on directory size.

What gets synced

ObjectFieldsRefresh cadence
UsersUPN, display name, account enabled, last sign-inEvery 6 hours
Groupsname, type, member UPNsEvery 6 hours
Devicesname, OS, compliance state, ownerEvery 6 hours
App registrationsname, scopes granted, sign-ins last 30 daysDaily

Token refresh

Microsoft delegated access tokens expire approximately one hour after they are issued. Layer automatically refreshes tokens in the background each time a sync runs, so your connection stays active without any manual re-authorization. If a refresh fails — for example, because an admin revoked consent in the Azure portal — the connection status changes to needs re-auth and you can reconnect with one click.

Troubleshooting

This means Layer could not refresh the access token automatically. The most common cause is revoked consent or a changed conditional-access policy. Go to Integrations → Microsoft 365 and click Reconnect to re-authorize.
Go to Integrations → Microsoft 365 → Disconnect in Layer. To fully revoke, also remove the Axiom app from Enterprise Applications in the Azure portal.