Skip to main content

Microsoft 365 Inventory

The Microsoft 365 Inventory (Users, Devices, Apps) template collects an inventory of your Microsoft 365 tenant rather than a stream of events: users, groups, devices, registered applications, installed apps and conditional access policies, read periodically from Microsoft Graph and kept on Resources (v1: SIEM → Resources). An audit log tells you what happened; this tells you what exists, which is what lets a detection resolve an object GUID in an audit record to a person, check whether an account that just signed in is enabled, or find every application holding a given Graph permission.

You never open the Microsoft portal: you enter an administrator's email address, and Microsoft asks that administrator to approve FluencyOffice365ResourceWatch, an application Fluency already operates, so there is no app registration and no client secret. The person who finishes the setup, a Global Administrator or Privileged Role Administrator, may not be you, and until they approve, the application reports Running and collects nothing.

The setup has two halves, and the Fluency half comes first:

  1. In Fluency: install the Microsoft 365 Inventory (Users, Devices, Apps) template with Enable Admin Consent Mode? ticked and an email address that reaches the approver. The install sends the approval request.
  2. In Microsoft: a Global Administrator or Privileged Role Administrator opens the link, signs in, checks that the request is for FluencyOffice365ResourceWatch from Fluency Corp. with seven permissions, and clicks Accept.
Which Microsoft 365 template
TemplateCollectsAuthenticationLands in
Microsoft 365 Inventory (Users, Devices, Apps) (this page)Tenant resource inventoryAdministrator consent to FluencyOffice365ResourceWatchResources
Microsoft 365 Activity LogThe unified audit logAdministrator consent to Fluency Office365 Event ReaderIndex Office365
Microsoft Entra ID Logs (Graph API)Entra directory auditAdministrator consent to FluencyAzureADAuditIndex MSEntra
Microsoft 365 Bundle (Activity, Entra ID, Inventory)All threeClient secret only: the tenant ID, client ID and secret of an app registration you createBoth indexes and Resources

The three consent templates are separate Entra applications, each with its own permission set, so consenting to one does not consent to the others: installing all three means three requests and three approvals. The Microsoft 365 Bundle already reads this inventory, so if it is installed you very likely do not need this template; see Before you begin.

What arrives​

StreamWhat it holdsLands in
UsersDisplay name, account enabled, MFA enabled, user type, created on, rolesResources
GroupsGroup membership and typeResources
DevicesRegistered and joined devicesResources
ApplicationsRegistered applications, with publisher domain, application ID and the permissions each holdsResources
Installed AppsApplications installed in the tenantResources
Cond. Access PoliciesThe tenant's conditional access policiesResources

Nothing lands in a data-lake index: the inventory is listed under Office 365 on Resources and refreshed on a schedule rather than appended to, so the form has no index name to collide with another application's.

The permission behind each resource type, and where your install records its refresh cadence, are in Reference.

Before you begin​

Check that the Microsoft 365 Bundle is not already collecting this. The Microsoft 365 Bundle reads the same directory resources, so if Office 365 resources are already listed and populated on Resources (v1: SIEM → Resources), you do not need this template. Installing it as well collides with nothing; it means two applications reading the same objects from Graph on their own schedules (overlap with the Bundle).

A Global Administrator or Privileged Role Administrator to approve the request. This is stricter than the other Microsoft integrations and it is the most common reason this install stalls: the application requests Microsoft Graph application permissions, so Cloud Application Administrator and Application Administrator are not sufficient. Microsoft's rule, and how the consent screen shows which kind of permission is requested, are in Which roles can approve.

Unlike its siblings, it needs no licence and no tenant switch: reading directory objects does not need Microsoft Entra ID P1 or P2, as the directory audit does, so Microsoft 365 Inventory works on a Free tenant; and unlike the unified audit log, there is nothing to enable first, since the directory is always readable by an application that has been granted the permissions.

An email address that will get the consent link to the approver. It does not have to be the administrator's own; see Install the Application.

Access to the Fluency portal with permission to install applications.

Part 1: Fluency​

Install the Application​

In the navigation rail, open Applications and click Install Application, then choose Microsoft 365 Inventory (Users, Devices, Apps) from the Office Software (SaaS) and IAM category of the Application Catalog.

ParameterNotes
Enable Admin Consent Mode?Checkbox, ticked by default. Leave it ticked for the consent route. Unticking it changes the form; see If your tenant will not allow the consent route.
admin email addressWhere the consent link is sent: any valid email address. It plays no part in authentication: whoever opens the link signs in to Microsoft with the actual administrator account, so you can enter your own address and pass the link on. The Global Administrator or Privileged Role Administrator requirement applies to the account that signs in, not to the address the link was sent to.

Those two fields are the whole form. There is no datalake and no datalake index name.

Install Microsoft 365 Inventory (Users, Devices, Apps) form with the Application section's Instance name and Display name fields, and the Configuration section's Enable Admin Consent Mode? and admin email address fields, above Cancel, Dry run and Install Application

While Enable Admin Consent Mode? is ticked, Dry run is greyed out; there is no credential of yours for it to check. Click Install Application. The Applications page opens with the notice Default is launching. and lists the new application with its status badge.

Running means waiting

The badge reflects the pipeline, not the consent. Until the administrator approves in Microsoft, this application has nothing to read and looks identical to one that is collecting normally; there is no "waiting for approval" state to watch for. For this template the check is unusually clean, because a resource roster is never legitimately empty: see Confirm it is running.

If your organisation blocks consent to third-party applications, untick Enable Admin Consent Mode; the form replaces the email field with Azure Tenant ID, Azure ClientID and Azure ClientSecret, for an app registration you create and hold yourself.

Build the registration as described in Part 1 of the Microsoft 365 Bundle page, granting the Microsoft Graph application permissions listed in Review the request and accept below. Going this way means creating and rotating a client secret, and Microsoft 365 Bundle collects these same resources plus two event streams from one registration, so if you are registering an application anyway, that is usually the better destination.

Part 2: Microsoft​

This half is performed by the administrator who opens the consent link. Everything below is written for them.

What the administrator receives​

Fluency sends a message to the address entered on the install form, containing a link to Microsoft's admin consent page for the application. Opening it takes them to login.microsoftonline.com, where they sign in with their administrator account, which need not be the address the message was sent to, and are shown the permission request.

If nothing arrives, check spam quarantine first. Reinstalling does not change how the request is delivered.

Review the request and accept​

Microsoft consent prompt headed Permissions requested, Review for your organization, for the application FluencyOffice365ResourceWatch published by Fluency Corp. with a verified publisher badge, listing seven permissions

Seven permissions are requested, the widest set of the three consent templates:

Consent screen wordingPermissionWhat it buys
Read your organization's policiesPolicy.Read.AllThe Cond. Access Policies resource type.
Read all audit log dataAuditLog.Read.AllDirectory audit and sign-in data. Broader than the inventory needs; see the caution below.
Read all usage reportsReports.Read.AllPer-user and per-service usage counters.
Read all user mailbox settingsMailboxSettings.ReadMailbox configuration: forwarding rules, delegates, automatic replies.
Read directory dataDirectory.Read.AllUsers, Groups, Devices, Applications, Installed Apps. The core of what this template produces.
Read all users' authentication methodsUserAuthenticationMethod.Read.AllThe MFA Enabled column, and which methods each account has registered.
Sign in and read user profileUser.Read (delegated)Identifies the signing-in administrator during the consent itself. Not used for collection.

Three checks before accepting:

  1. The application is FluencyOffice365ResourceWatch and the publisher is Fluency Corp. If the name or publisher is anything else, stop.
  2. The list matches the table above. A consent screen asking for more than this is not this integration.
  3. The screen says Review for your organization: that is the tenant-wide grant.
Three broader permissions

Mailbox settings (forwarding rules, delegates and automatic replies for every mailbox), authentication methods, and Read all audit log data, which backs none of the resource types, go beyond inventory metadata (why each is asked for). The screen is all-or-nothing: to grant a subset, use the client-secret route and expect the resource types they back to be empty.

Click Accept. If the administrator clicks Cancel, Microsoft returns AADSTS65004: The resource owner or authorization server denied the request., no grant is created, and nothing on the Fluency side reports it.

What the grant is, and what it is not​

Once accepted, the grant lives on the tenant rather than on the administrator who approved it (how the consent route authenticates):

  • It does not expire, and there is no secret to rotate.
  • It survives the approver leaving: deactivating the administrator who clicked Accept does not affect collection.
  • It is revocable by anyone with the role, from Enterprise applications, without telling Fluency.
  • It does not grant a person anything. No Fluency user gains access to your tenant.

Confirm it is running​

A resource roster is the strictest health check any integration offers, because it is never legitimately empty. An event feed on a quiet tenant may have nothing to show; a directory that contains no users does not exist. If the roster is empty, something is wrong.

Open Resources from the navigation rail. Once the application has run, Office 365 is listed there with one entry per resource type it collects. Open a resource type to list its records; the list has a Back to Resources link, a Download Resource export and a Search this resource… field. A resource type that has loaded but holds nothing reads No data found.

The users list is the one worth checking first: compare its records against the number of accounts you expect. A count that is plausible means consent was granted and collection is working. The applications list is the other one to look at on first run: it is the inventory of every application in the tenant and the Graph permissions each holds, which most tenants have never actually taken.

If the roster never populates, check the Microsoft side: in the Microsoft Entra admin center, go to Entra ID → Enterprise apps → All applications and search for FluencyOffice365ResourceWatch. If it is not there, consent was never granted.

Enterprise application entry for FluencyOffice365ResourceWatch showing the Properties page, its Homepage URL of fluencysecurity.com, and a Delete button in the command bar

For the full page reference, see Resources (v1: SIEM → Resources).

Once Office 365 is listed on Resources with a plausible number of users, setup is complete.

Maintenance​

There is no credential to rotate: no secret expires, so nothing here needs a calendar entry. What can break the integration is someone revoking the consent, so the maintenance task is review rather than rotation.

Reviewing and revoking the grant​

From Entra ID → Enterprise apps → All applications → FluencyOffice365ResourceWatch → Permissions → Admin consent, use the ... control on a permission row and select Revoke permission.

The Admin consent tab of an enterprise application's Permissions page, with the Revoke Permission control open on a permission row

The Type column on that tab separates Delegated from Application, which matters here because several of the seven permissions display identical wording for both: Read directory data, Read your organization's policies, Read all usage reports and Read all users' authentication methods are worded the same either way. The consent screen cannot tell you which was granted; this tab can.

Nothing tells Fluency when a grant is revoked. Collection stops and the application keeps reporting Running. Because the roster is refreshed rather than appended to, a revoked grant shows up as an inventory that quietly stops ageing rather than as an empty one, which is harder to notice. If the Created On column has no recent accounts in it, check the grant.

Removing the integration​

Uninstall the application in Fluency first, with the Uninstall button at the top right of its details page (v1: the red Uninstall button at the foot of its details panel on Platform → Applications). Then, in Microsoft, delete the enterprise application (Properties → Delete) or revoke its permissions as above.

Troubleshooting​

SymptomLikely causeFix
No Office 365 entry on Resources (v1: SIEM → Resources) at allConsent was never granted, or the first collection has not finishedSearch Enterprise applications for FluencyOffice365ResourceWatch; if it is absent, resend the request.
The administrator sees Need admin approval rather than a consent screenAADSTS90094: the account cannot consent to Microsoft Graph application permissionsCloud Application Administrator is not enough for this template. Have a Global Administrator or Privileged Role Administrator open the same link (which roles).
Consent fails with AADSTS65004The administrator selected CancelSend the request again. No grant was created.
The administrator never received anythingWrong address, or the message was quarantinedCheck the address on the install form, then spam quarantine.
One resource type returns Resource Load Failed, the rest are fineThat type has not been collected yet, or its backing permission was not grantedWait out the first poll. If it persists, check the Admin consent tab for the permission behind it (resource types and permissions).
Cond. Access Policies is empty but everything else worksPolicy.Read.All was not granted, or the tenant has no policiesCheck the Admin consent tab. An empty list is correct for a tenant with no conditional access configured.
MFA Enabled is blank across all usersUserAuthenticationMethod.Read.All was not grantedConsent again with the full set, or grant that permission on your own registration on the client-secret route.
The inventory is populated but stale: recent joiners are missingThe grant was revoked, or the application was deletedCheck Enterprise applications → Permissions → Admin consent; re-consent if it is gone (Reviewing and revoking the grant).
Two Office 365 entries on Resources, or records that look duplicatedThe Microsoft 365 Bundle is also installed and reads the same objectsExpected: no collision, only duplicated work. Uninstall whichever you do not want (overlap with the Bundle).

Reference​

What the inventory holds once it lands and how it is read from Graph, for searches and detection rules written against it, and the reasoning behind the consent the steps above link to.

The three broader permissions

Most of the consent list is inventory metadata. Three entries are not, and an administrator is entitled to weigh them:

  • Read all user mailbox settings exposes forwarding rules, delegate access and automatic replies for every mailbox. That is a genuine detection asset (attacker-created forwarding rules are a classic persistence technique, and this is how you inventory them), but it is mailbox configuration for the whole organisation.
  • Read all users' authentication methods covers registered phone numbers and Authenticator settings. Microsoft is explicit about the limit: it "does not allow the app to see secret information like passwords, or to sign-in or otherwise use the authentication methods."
  • Read all audit log data is the widest permission on the list and it is not obviously needed by a resource inventory. Microsoft does pair the two routinely ("the Directory.Read.All permission is required to retrieve tenant licensing information if it isn't already cached"), but that explains why an audit integration needs Directory.Read.All, not why an inventory needs AuditLog.Read.All. None of the resource types in Resource types and permissions is backed by it, so treat it as an unexplained part of the ask rather than a justified one.

On the client-secret route you choose the permissions yourself and can leave the ones you object to unticked; the resource types they back are then empty or absent.

Overlap with the Microsoft 365 Bundle

The Microsoft 365 Bundle's catalog description is "One app registration with a client secret installs Microsoft 365 Activity Log, Microsoft Entra ID Logs (Graph API) and Microsoft 365 Inventory together. Do not install those three separately as well. No admin-consent mode.", and this template's own description ends "Already included in the Microsoft 365 Bundle."

There is no index collision to warn about, because this template writes to the Resources store rather than to a data-lake index, so nothing will fail. It will just be duplicated work.

Resource types and permissions
Resource typeContentsBacked by
UsersDisplay name, account enabled, MFA enabled, user type, created on, rolesDirectory.Read.All, UserAuthenticationMethod.Read.All
GroupsGroup membership and typeDirectory.Read.All
DevicesRegistered and joined devicesDirectory.Read.All
ApplicationsRegistered applications, with publisher domain, application ID and the permissions each holdsDirectory.Read.All
Installed AppsApplications installed in the tenantDirectory.Read.All
Cond. Access PoliciesThe tenant's conditional access policiesPolicy.Read.All
Collection: what is read from Graph

Directory objects come from ordinary Microsoft Graph collections, paginated through @odata.nextLink:

GET https://graph.microsoft.com/v1.0/users
GET https://graph.microsoft.com/v1.0/groups
GET https://graph.microsoft.com/v1.0/devices
GET https://graph.microsoft.com/v1.0/applications
GET https://graph.microsoft.com/v1.0/servicePrincipals
GET https://graph.microsoft.com/v1.0/identity/conditionalAccess/policies
GET https://graph.microsoft.com/v1.0/users/{id}/authentication/methods

The list above is what the granted permissions and the resource types on Resources account for.

Checking the refresh cadence on your own install. This template writes to the Resources store rather than to an index: its parameter schema has no datalake or datalake index name field at all, so there is nothing on the form to collide with another application. How often it refreshes, how a deleted object is aged out, and which Graph endpoints back each resource type are recorded on the install itself: open the application's details and read its Actions list.

Catalog observations. Two things distinguish this template from its sibling templates in the connector catalog, both visible in its schema:

  • It declares no datalake or index parameter, which is why the destination is the Resources store rather than a lake index.
  • It declares no resource groups, where Microsoft 365 Activity Log declares Office365, Microsoft Entra ID Logs (Graph API) declares AzureAD and Microsoft 365 Bundle (Activity, Entra ID, Inventory) declares Office365.

Microsoft documentation

Fluency

Other integrations