Skip to main content
GET
Get the Microsoft 365 user sync

Authorizations

Authorization
string
header
required

Authorization: Bearer <token> where <token> is either a neo_sk_<env>_<secret> API key (service account) or a Microsoft Entra ID access token (dashboard user). A key created with scopes reaches only the permission groups they name, and gets 403 insufficient_scope elsewhere; GET /public-api/scopes lists them.

Response

Success.

data
PublicDirectoryUserSync · object
required

The Microsoft 365 user sync. Every person in groups gets a Chat only user, with no dashboard access and no email. Nested groups count; guests and accounts disabled in Microsoft 365 do not. A person who already has a user keeps their role, and Neo only ever disables a Chat only user it manages. Neo syncs every hour and when you save. Empty groups: the sync is off. directory_connected is false until the workspace's own Microsoft directory is connected, which the sync needs.

meta
object
required