Oxelone Docs

Search docs and API

Find a guide, a section of one, or an API operation by its name.

Open console (opens in a new tab)

Connectors Microsoft 365

Microsoft 365

The Microsoft 365 connector reads your Microsoft Entra directory, SharePoint and OneDrive changes, Teams apps and Copilot through Microsoft Graph. How the connect flow works is on How connectors work.

Who can do it

Connecting needs connections:manage (Manage connections), held by Owner, Admin and Fleet operator. On Microsoft's side, a Global Administrator of your Microsoft tenant has to accept the permissions. Microsoft's word, tenant, means your Microsoft directory here.

Connect

  1. Go to Collection › Connectors and choose Connect on Microsoft 365.
  2. Give the connection a Name, and choose Modes (at least one):
    • Identity: Microsoft Entra users, groups, directory roles, enterprise applications and their grants, conditional access, sign-ins and audits.
    • Microsoft 365: SharePoint and OneDrive changes and sharing links, Teams apps and the organisation's app catalogue.
    • Copilot: Microsoft 365 Copilot usage per licensed user and, opted in, the interactions themselves.
  3. Sign in with one of two methods:
    • Grant Oxelone admin consent on Microsoft Entra. The hint reads "Microsoft asks a Global Administrator of your tenant to accept the permissions Oxelone requests, then to sign in as that administrator, then sends you back here." This method is offered once a global admin has registered Oxelone's app.
    • Your own registration. Upload a JSON file with tenant_id, client_id and client_secret from a registration your directory owns. The hint reads "A JSON file with tenant_id, client_id and client_secret from a registration your tenant owns."
  4. Continue through Check and Rules, then choose Create connection.

On Microsoft's side

For Your own registration, register an app in the Microsoft Entra admin center. Microsoft's steps are: sign in as at least an Application Developer, go to Entra ID › App registrations, choose New registration, name it, choose Single tenant only for most apps, choose Register, and record the Application (client) ID. The Graph permissions the connector reads with are listed under What it needs to be Readable below.

Vendor documentation: https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app

What it reads

Mode: Identity

RecordsWhat you get
UsersEvery user in the directory: sign-in enabled or not, member or guest.
GroupsEvery group: security, mail-enabled or Microsoft 365, and its visibility.
Group membersWho is in each group.
Directory role membersWho holds each activated directory role, such as Global Administrator.
Enterprise applicationsEvery enterprise application: enabled or not, and whether users need an assignment to sign in.
OAuth grantsDelegated permission grants: which application may act for which users, and with what scopes.
Application permission grantsApplications holding app-only Microsoft Graph permissions.
Conditional access policiesEach policy, whether it is enforced, and what it grants or blocks.
Sign-insSign-in events, fetched forward from a watermark.
Directory auditsDirectory changes (consents, role assignments, app changes), fetched forward from a watermark.

Mode: Microsoft 365

RecordsWhat you get
SitesEvery SharePoint site.
File changesFiles and folders that changed in tracked sites since the last sync, by name and size. Contents are never read.
Sharing linksSharing links and permissions on files that changed since the last sync.
Teams appsApps installed in each team and where each came from.
Organisation appsApps and agents the organisation published to its own catalogue.

Mode: Copilot

RecordsWhat you get
Copilot usageEach licensed user's last Copilot activity, from the 28-day report.
Copilot interactionsOff by default. "Prompts of licensed Copilot users are read from Microsoft Graph, checked by the engines and never stored; matches appear as Alerts."

What it can do

All need the matching Graph write permission.

ActionConsequenceReversible
Disable the accountThey cannot sign in to Microsoft 365 until a directory admin enables the user again.Yes
Revoke sign-in sessionsEvery refresh token and session cookie is invalidated within a few minutes; they sign in again. External users are not affected.No
Remove from groupThey lose whatever the group grants: access, licences and Teams membership.Yes
Revoke OAuth grantThe application loses this delegated permission once its current tokens expire.No
Remove application permissionThe application loses this app-only Microsoft Graph permission.No
Disable enterprise applicationNobody in the tenant can sign in to this application until it is enabled again.Yes
Remove sharing linkAnyone using this link or permission loses access to the file.No
Remove Teams appThe app is uninstalled from the team until somebody installs it again.Yes

What it checks

Twelve posture checks, no inspections.

RuleSeverityAction offered
Conditional access policy in report-only modeMediumNone
Conditional access policy disabledLowNone
Guest userLowNone
Global AdministratorHighNone
Enterprise application open to all usersMediumDisable enterprise application
Tenant-wide delegated permission grantMediumRevoke OAuth grant
Application holds app-only Microsoft Graph permissionsLowNone
Sign-in from a legacy clientMediumNone
Application consent grantedMediumNone
Anonymous sharing linkHighRemove sharing link
Sideloaded Teams appMediumRemove Teams app
Copilot licence unused for 60 daysLowNone

What it needs to be Readable

Reads need these Microsoft Graph application permissions: User.Read.All, Group.Read.All, GroupMember.Read.All, RoleManagement.Read.Directory, AuditLog.Read.All, Policy.Read.All, Sites.Read.All, Files.Read.All, TeamsAppInstallation.Read.Group, AppCatalog.Read.All, Application.Read.All, Directory.Read.All and Reports.Read.All. Copilot interactions also need AiEnterpriseInteraction.Read.All.

Actions need: User.EnableDisableAccount.All, User.RevokeSessions.All, GroupMember.ReadWrite.All, AppRoleAssignment.ReadWrite.All, Application.ReadWrite.All, Files.ReadWrite.All, TeamsAppInstallation.ReadWriteForTeam.All and DelegatedPermissionGrant.ReadWrite.All.

Copilot usage and Copilot interactions also need Microsoft 365 Copilot in the plan. Without it the row reads "Not readable — the organisation's plan does not include this (Microsoft 365 Copilot)."

Sync period

1 h, 6 h and 1 d. There is no 15-minute period.

When it goes wrong

The messages are the shared ones on How connectors work. The ones specific to this sign-in:

What you seeWhat it means
A global admin has not registered this platform with Oxelone, so the Oxelone app cannot be installed. Connect with your own registration or token instead.No Oxelone app is registered. Use Your own registration.
Oxelone's registration for this platform is not available, so this install cannot be finished.The registration was removed while you were signing in.

With the API

Not available with an API key.