Managing the Microsoft Entra ID entity provider integration

The Microsoft Entra ID entity provider integrates one or more Microsoft Entra directories with Tanium to ingest directory object attributes from each associated Microsoft Entra tenant.

The Microsoft Entra ID entity provider does the following:

  • Ingests directory object attributes from your Microsoft Entra ID tenants

  • Lets you define eligibility sets that determine which Microsoft Entra ID groups you can use for targeting Tanium-managed endpoints

  • Verifies the identity of Microsoft Entra joined and hybrid-joined Windows endpoints against their Microsoft Entra ID device record

Important:

To use the Microsoft Entra ID entity provider integration, you must be:

  • A Microsoft Entra ID subscriber

  • A Microsoft Azure subscriber, if you use a managed identity deployment type. A subscription is not required for the app registration deployment type.

For more information about Microsoft Entra ID, see Microsoft Entra documentation: What is Microsoft Entra?.

Alongside default directory object attributes, you can configure additional custom attributes to synchronize between Microsoft Entra ID and Tanium, and view the directory objects in Tanium Console alongside devices managed using Tanium Client. The Microsoft Entra ID entity provider supports ingesting the following directory object types:

  • device

  • group

  • user

  • role

  • service principal

  • application (including its federated identity credentials and owners)

For more information about using Microsoft Entra ID entity provider data in Attack Path Mapping, see Investigating attack paths.

Before you begin

  • You must have a Microsoft Entra ID account plan. For more information, see Microsoft Entra plans and pricing.

    • Your Microsoft Entra ID subscription tier determines which attributes are available for synchronization. Confirm that your Microsoft Entra ID subscription provides the functionality related to the attributes that you want to synchronize. For more information about the functionality provided in Microsoft Entra plans, see Microsoft Entra plans and pricing.

  • You must have at least one Microsoft Entra tenant and directory.
    • If you want to create an eligibility set, you can scope the eligibility set to a single Microsoft Entra ID profile in the tenant.

  • Onboard at least one device if you want to ingest device attributes.

Architecture

Microsoft Entra ID group attributes become available for targeting a Tanium-managed endpoint after the following:

  1. Tanium ingests directory data from your Microsoft Entra tenant, establishing the connection using a configured Microsoft Entra ID entity provider profile.
  2. Configured eligibility set rules define which Microsoft Entra ID groups are eligible for targeting.
  3. Tanium verifies the identity of eligible endpoints against their Microsoft Entra device record. For more information about supported operating systems, see Supported operating systems.

After Tanium verifies a device identity, Tanium automatically associates the matched group data with that Tanium-managed endpoint for targeting.

Note: Until a device identity is verified, matched group data is available only for the corresponding Microsoft Entra ID entity, not for the endpoint itself.
Note: Advanced Device Identity verification runs on its own periodic cycle, separate from full attribute synchronization. Tanium reconciles device identity status approximately every hour and dispatches verification checks approximately every 15 minutes.

Tanium Core Platform establishes a secure connection with your Microsoft Entra ID instance and retrieves cloud entity data from the configured Microsoft Entra tenant. This data is stored in Tanium Data Service. Depending on the number of resources, the initial synchronization might take several hours to complete. Afterwards, data stays up to date within minutes.

Tanium operators who issue questions in Tanium Console can retrieve results from all types of managed entities, including resources managed using the Microsoft Entra ID entity provider. Tanium operators can also use Tanium Atlas to include this data in reports, or export the data using Tanium Connect.

Authentication flow

Tanium authenticates to your Microsoft Entra tenant without a client secret or certificate. Instead, your tenant trusts tokens that Tanium signs, using a federated credential that the deployment template creates.

You deploy one of two identity types (app registration or managed identity). Use an app registration if your directory has no Microsoft Azure subscription available for Tanium resources. Use a managed identity if you have a subscription. The identity that you deploy holds the federated credential and the Microsoft Graph permissions. The authentication flow is the same for both identity types. For more information, see Resources that the deployment templates create and Microsoft Graph permissions granted by the deployment templates.

The following figure shows both identity types and the authentication flow.

Figure 1. Authentication between Tanium Cloud and Microsoft Entra ID
Architecture diagram showing the overall Microsoft Entra ID entity provider integration.
  1. Token Exchange signs a JSON Web Token (JWT) for your Tanium environment and passes the JWT to the Cloud Entity service. The JWT does not contain a secret.
  2. The Cloud Entity service sends the JWT and the application (client) ID from your Microsoft Entra ID profile to the Microsoft Entra ID token endpoint.
  3. Microsoft Entra ID accepts the JWT only if the issuer and subject in the JWT exactly match the federated credential on the app registration or managed identity that you deployed.
  4. Microsoft Entra ID returns an access token to the Cloud Entity service.
  5. The Cloud Entity service presents the access token to Microsoft Graph to read directory objects. Microsoft Graph checks that the service principal for your app registration or managed identity has the required read-only app roles before returning data.

Requirements

Review the requirements before you install and use the Microsoft Entra ID entity provider integration.

Core platform dependencies

Make sure that your environment meets the following requirements:

  • Tanium Core

  • Tanium Client: No client requirements for attribute ingestion. Advanced Device Identity verification requires Tanium Client 7.9.4 or later.

Client extensions and endpoint tools

Tanium Endpoint Configuration installs Client Extensions and other tools for the Microsoft Entra ID entity provider on endpoints. Client extensions perform tasks that are common to certain Tanium solutions. Each Client Extension and tool might have recommended security exclusions to allow them to run without interference. For more information, see Security exclusions.

For a list of the Client Extensions and tools that the Microsoft Entra ID entity provider integration uses, see Reference: Microsoft Entra ID integration endpoint tools.

Endpoints and entities

Review the endpoint and entity requirements for the Microsoft Entra ID entity provider integration.

Supported Internet protocols

The Microsoft Entra ID entity provider integration supports IPv4 and IPv6 addresses.

Supported operating systems

The following endpoint operating systems are supported with the Microsoft Entra ID entity provider integration.

Table 1. Microsoft Entra ID entity provider supported operating systems
Operating system Supported onboarding methods Supports targeting and computer groups
Linux

Device registration requires Ubuntu 22.04 or later, or Red Hat Enterprise Linux 8 or later.

Device join requires Ubuntu 22.04 or later, or Red Hat Enterprise Linux 8 or later.

Note: Advanced Device Identity verification is not supported.
No
macOS

Device registration requires macOS 10.15 or later.

Device join requires macOS 13 or later.

Note: Advanced Device Identity verification is not supported.
No
Windows

Device registration requires Windows 10 or later.

Device join requires Windows 10 or later (excluding Home editions), or Windows Server 2019 or later.

Hybrid join requires Windows 10 or later (excluding Home editions), or Windows Server 2016 or later.

Note: Advanced Device Identity verification requires additional Microsoft prerequisites for device join or hybrid join. For more information, see Microsoft Entra documentation: Plan your Microsoft Entra join implementation.
Joined devices only. Device registration alone does not support targeting; Microsoft Entra join or hybrid join is required.

For more information about device onboarding methods, see Microsoft Entra documentation: Microsoft Entra registered devices, Microsoft Entra documentation: Microsoft Entra joined devices, and Microsoft Entra documentation: Microsoft Entra hybrid joined devices.

The Microsoft Entra ID entity provider integration does not install the Tanium Client or deploy packages to entities. For Tanium Client operating system support, see Tanium Client and Integrations Gallery requirements.

Third-party software

You must have a Microsoft Entra ID account plan to use the Microsoft Entra ID entity provider integration. For more information, see Microsoft Entra plans and pricing.

Host and network security requirements

Review the host and network security requirements for the Microsoft Entra ID entity provider integration.

Ports

No additional ports are required.

Security exclusions

The Microsoft Entra ID entity provider integration requires no specific security exclusions. For a list of all security exclusions to define across Tanium, see Reference: Endpoint security exclusions.

User role requirements

The following table lists the role permissions required to use the Microsoft Entra ID entity provider integration.

Note: The roles listed in this section cover entity provider configuration only. For Attack Path Mapping role requirements, see User role requirements.

For more information about role permissions and associated content sets, see RBAC overview.

Note: Assign the Integration Operator - Microsoft Entra ID and Integrations Gallery Operator system roles to a user to configure the Microsoft Entra ID entity provider integration. Assign the Integration Viewer - Microsoft Entra ID and Integrations Gallery Viewer system roles to a user to view Microsoft Entra ID entity provider integration details in Integrations Gallery.
Table 2. Partner Integration user role permissions
Permission Integration Operator - Microsoft Entra ID1 Integration Viewer - Microsoft Entra ID1
Partner Integration Gallery Microsoft Entra ID
View Microsoft Entra ID information in Integrations Gallery

Yes

READ

WRITE

Yes

READ

1The permissions for this role provide solution permissions for other solutions. To view the provided permissions, see View effective role permissions.
Table 3. Eligibility Set user role permissions
Permission Eligibility Set Operator - Microsoft Entra ID Eligibility Set Viewer - Microsoft Entra ID
Partner Integration Gallery Microsoft Entra ID
View Microsoft Entra ID information in Integrations Gallery

Yes

READ

Yes

READ

Entra ID Eligibility Set
View, create, edit, and delete eligibility sets

Yes

READ

WRITE

Yes

READ

Iris
View Microsoft Entra ID information related to Advanced Device Identity verification

Yes

SHOW

Yes

SHOW

Iris Api
Use APIs for Microsoft Entra ID and Advanced Device Identity verification

Yes

EXECUTE

Yes

EXECUTE

Read Data
Read Microsoft Entra ID graph data (in the Microsoft Entra ID content set)

Yes

GRAPH

Yes

GRAPH

Plugin
Run plugins in the Iris content set

Yes

EXECUTE

READ

Yes

EXECUTE

READ

Sensor
Ask questions with the Microsoft Entra ID sensors

Yes

READ

Yes

READ

To view the content sets to which the platform content permissions apply, see View effective role permissions.
Note: The Eligibility Set roles include read access to all Microsoft Entra ID graph data, including in Atlas. Without this permission, eligibility set queries do not work.

The following table lists the role permissions required to read Microsoft Entra ID data. Assign these roles for the Microsoft Entra ID content set.

Table 4. Data reader user role permissions
Permission Sensor Data Reader - Microsoft Entra ID Graph Data Reader - Microsoft Entra ID
Entra ID Graph Data
Query Microsoft Entra ID data in the graph

No

Yes

READ

Read Data
Read Microsoft Entra ID graph data

No

Yes

GRAPH

Sensor
Ask questions with the Microsoft Entra ID sensors

Yes

READ

No

Note: Do not assign the Iris Service Account and Iris Service Account – All Content Sets roles to users; these are for internal purposes only.

View the Details page

The Details page for the Microsoft Entra ID entity provider integration shows the following information:

  • Service Enablement toggle
  • Microsoft Entra ID Profiles count and link
  • Access link
  1. From the Main menu, go to Shared Services > Integrations Gallery.
  2. In the Integrations section, click Microsoft Entra.

View the Configuration page

The Configuration page for the Microsoft Entra ID entity provider integration shows the following information:

  • Microsoft Entra ID Profiles table
  • Attribute Mapping table
  • Role Assignment: For more information, see User role requirements.
  1. From the Main menu, go to Shared Services > Integrations Gallery.
  2. In the Integrations section, click Microsoft Entra.
  3. Click Configuration.

View the About page

The About page for the Microsoft Entra ID entity provider integration shows the following information:

  • Overview
  • Fix first
  • Choke points
  • One identity view
  • Native identity reporting
  1. From the Main menu, go to Shared Services > Integrations Gallery.
  2. In the Integrations section, click Microsoft Entra.
  3. Click About.

Configure integration between Tanium and Microsoft Entra ID

Each Microsoft Entra ID profile configuration connects to a Microsoft Entra ID directory in a one-to-one relationship, using the following components:

  • the Microsoft Azure directory (tenant) ID, to locate and connect to a Microsoft Entra ID directory

  • a template that creates a Microsoft Azure managed identity or a Microsoft Entra ID app registration, depending on the deployment type that you select
  • a subscription ID where the template creates the managed identity, in a new or existing resource group. The subscription must be in the same Microsoft Entra ID tenant as the Directory (Tenant) ID (for the Managed Identity type)
  • an application (client) ID associated with the managed identity or app registration, to authenticate the connection and provide the required permissions to ingest attribute data

The Microsoft Entra ID entity provider continuously synchronizes with your Microsoft Entra ID organization or account, ingesting attribute data into Tanium Core Platform as changes occur. The entity provider also performs a periodic full synchronization (every few days) to reconcile the data, including removing data for objects or attributes that no longer exist in Microsoft Entra ID. This cloud entity data is associated with the following attributes:

  • A Provider Type of Microsoft Entra ID

  • A Provider Name of the Microsoft Entra ID profile name

  • An Entity Type of Cloud

  • A Cloud Entity Type that starts with entraid

Depending on the number of attributes in the Microsoft Entra ID directory, this initial synchronization might take several hours but changes are recognized within minutes. If you retrieve data associated with cloud entities in Tanium Core Platform, such as by issuing a question, the information is accurate as of the synchronization time. After the initial full synchronization, attribute changes in Microsoft Entra ID are reflected in Tanium Core Platform in near real time.

Note the following:

  • The Microsoft Entra ID entity provider integration does not install Tanium Client on entities.
  • Because attribute data is cached during synchronization, questions that return cloud entity data might return the data for cloud entities much faster than for devices managed using Tanium Client, as the Tanium Clients might need time to respond to the question. For example, if you issue a question that targets all entities, the live updates percentage might significantly increase almost immediately as the cloud entity data is available, and then increase at a slower rate as Tanium Clients respond.

  • If you remove an attribute from Microsoft Entra ID, the corresponding attribute data is not removed from Tanium Core Platform until the next full synchronization.
  • Deleting a Microsoft Entra ID profile also removes all attribute data that the deleted profile ingested into Tanium Core Platform. For more information, see Delete a Microsoft Entra ID profile.

  • A verified device identity is periodically re-verified before it expires.

Group eligibility for targeting

An eligibility set allows you to specify a subset of the total Microsoft Entra ID groups available for targeting Tanium-managed endpoints. Every eligibility set is scoped to a Microsoft Entra ID tenant; you can optionally narrow a set further to a single Microsoft Entra ID profile within that tenant.

Rules in an eligibility set can match groups based on:

Table 5. Eligibility set rule types
Rule type Match criteria
Group display name Includes or does not include a string
Membership type Dynamic or assigned
Membership rule for a dynamic group Includes or does not include a string
Sync source Cloud-only or on-premises directory
Role-assignable Yes or no
Group type Microsoft 365, security
Note: Mail-enabled security groups and distribution groups are not supported as eligibility set targets.
Note: Eligibility set rules match a group's own properties only. Tanium does not evaluate nested or parent and child group relationships. A rule that matches a parent group does not automatically match its child groups, and a rule that matches a child group does not match its parent.

Tanium evaluates rules in an eligibility set live against your tenant Microsoft Entra ID groups. You can preview the groups that currently match an eligibility set to confirm the targeted Microsoft Entra ID groups before you save the set.

After you save an eligibility set, matched group data becomes available for targeting Tanium-managed endpoints whose device identity has been verified. For more information, see Advanced Device Identity verification.

Device identity

A device identity is a record that Microsoft Entra ID maintains for a device that has joined or registered with a Microsoft Entra tenant. Tanium uses this record as the basis for Advanced Device Identity verification. For more information, see Microsoft Entra documentation: What is a device identity?.

At join time, Microsoft Entra ID issues a device-identity certificate to the endpoint. Generation of the private key for the certificate happens on the device. The device stores the private key in the Trusted Platform Module (TPM), where the private key cannot be exported.

Microsoft Entra ID supports the following join types:

Table 6. Microsoft Entra ID device join types
Join type Description
Microsoft Entra joined A cloud-only join. The device establishes device identity directly with Microsoft Entra ID.
Microsoft Entra hybrid joined A device joined to an on-premises Active Directory and registered with Microsoft Entra ID.
Microsoft Entra registered A user-context registration, commonly used for personal devices (BYOD). Advanced Device Identity verification does not support Microsoft Entra registered devices.
Note: Advanced Device Identity verification supports Windows endpoints that are Microsoft Entra joined or hybrid joined only. For more information, see Supported operating systems.

Advanced Device Identity verification

When you Microsoft Entra join or hybrid join Windows 10 or Windows 11 endpoints to your Microsoft Entra ID tenant, Microsoft Entra issues a device-identity certificate to the endpoint. The certificate's private key is generated on the device and stored in the Trusted Platform Module (TPM), where it cannot be exported.

Advanced Device Identity verification is automatically enabled.

Tanium verifies device identity using a challenge-response process: Tanium sends the endpoint a one-time challenge, the endpoint signs the challenge using the private key stored in the TPM, and Tanium validates the signature against the device-identity certificate and the device's alternativeSecurityIds attribute in Microsoft Entra. If validation succeeds, Tanium links the endpoint to its Microsoft Entra device record. If validation fails (for example, because the signature could not be produced or did not match), Tanium marks the device as Needs Review.

Advanced Device Identity verification requires Tanium Client 7.9.4 or later, plus the Client extensions listed in Core platform dependencies (Core CX and Extras CX) installed on the endpoint, and the device must meet Microsoft's requirements for Microsoft Entra device join. This includes TPM 2.0, which ensures the private key cannot leave the hardware.

After Tanium verifies a device identity, the verified device identity remains valid for approximately 30 days. Tanium automatically re-verifies the device identity before the 30-day period expires (approximately day 23).

After Tanium verifies a device identity, matched Microsoft Entra ID group data becomes available for targeting that endpoint. For more information about configuring which groups are eligible for targeting, see Group eligibility for targeting.

Note: Only endpoints with a verified device identity are available for targeting.

Enable the Microsoft Entra ID entity provider integration

  1. From the Main menu, go to Shared Services > Integrations Gallery.
    Tip: You can also configure the integration in Atlas. Go to Command Palette Command Palette > Gallery Gallery Mode and then search for Microsoft Entra.
  2. In the Integrations section, click Microsoft Entra.
  3. Click Enable and then confirm your selection.

Create a Microsoft Entra ID profile

Create a Microsoft Entra ID profile to ingest Microsoft Entra ID attributes from a Microsoft Entra directory. The Microsoft Entra ID entity provider ingests attribute data from all management groups associated with the directory.

Note: Use the Integration Operator - Microsoft Entra ID system role to configure the Microsoft Entra ID profile.
  1. From the Main menu, go to Shared Services > Integrations Gallery.
  2. In the Integrations section, click Microsoft Entra and then click Configuration.
  3. Click Create Profile.

    The Create Microsoft Entra ID Profile page appears.

  4. Enter a Profile Name.
  5. Enter a Microsoft Entra Directory (Tenant) ID.
  6. Assign the Microsoft Entra ID profile to a Content Set.
    Important: Do not click Create until you complete the Microsoft Azure deployment steps. You must complete Microsoft Azure deployment before verifying the connection and creating the profile.
  7. Select the type of identity to use, and then download its deployment template. The downloaded template creates the resources and then grants the identity the required read-only Microsoft Graph application permissions. No client secrets or certificates are created or stored.
    • Managed identity (requires a Microsoft Azure subscription): Enter the Subscription ID of the subscription where the template creates the managed identity. Tanium adds this ID to the downloaded template and does not save it with the profile. The subscription must be in the same Microsoft Entra ID tenant as the Directory (Tenant) ID. Select Terraform, Bash, or Bicep as the Deployment Type, and then click Download Template.

    • App registration (no Microsoft Azure subscription required): Select Terraform or Bash as the Deployment Type, and then click Download Template. Use an app registration when your directory has no Azure subscription available for Tanium resources. The deployment creates an app registration and service principal in your directory and nothing in a subscription.

  8. Deploy the template in Microsoft Azure or Microsoft Entra ID.
    1. Sign in with an account that has the roles required to run the template.
    2. Deploy the template using the method that matches the template that you downloaded:
      • Terraform: Use the Terraform template to create an execution plan and apply the configuration update. For more information, see HashiCorp documentation: Build infrastructure.

      • Terraform (app registration): Apply the template. Creating the directory objects can take 7 to 10 minutes or more in a large tenant, and the template allows up to 30 minutes, so do not interrupt it.

      • Bash: Run the shell script in Azure Cloud Shell (Bash) or in any shell where the Azure CLI (az) is installed and signed in.

      • Bash (app registration): Sign in first by running az login --tenant <directory-id> --allow-no-subscriptions, and then run the script from a machine with the Azure CLI. Azure Cloud Shell requires a subscription, so you cannot use it for this deployment type.

      • Bicep: Ensure that the resource group already exists before you deploy the template. To create one, run az group create. For more information, see the template header. Then, run the Bicep script using Azure PowerShell. For more information, see Microsoft Azure documentation: Use deployment scripts in Bicep.

        If a deployment fails, or you need to run a template again, see Run a deployment template again.

  9. After the deployment completes, copy the application (client) ID from the output. Bash prints Application (client) ID, Terraform exposes client_id, and Bicep exposes clientId.
  10. In Tanium Console, on the Create Microsoft Entra ID Profile page, enter the Application (Client) ID.
  11. Click Verify Connection to confirm proper profile configuration. If an error is returned, fix the issue, wait 60 seconds, and then try again. For more information, see Verify Connection fails immediately.
  12. Click Create.

Resources that the deployment templates create

Each deployment type creates the resources in the following table. The <id> value in each name is derived from your Tanium environment, so running a template again targets the same objects, and two Tanium environments that onboard the same directory do not collide.

Resource Deployment type Name and details
Resource group Managed identity (optional) tanium-entraid-resource-group-<id>. Optional container for the managed identity. If the template created it, deleting it removes everything in it.
User-assigned managed identity Managed identity tanium-entraid-regional-identity-<id>. A standalone Microsoft Azure identity (user-assigned, so it is not tied to a virtual machine or app) that Tanium signs in as to read your directory data. It has no password or secret. The default region is eastus and can be edited.
App registration and service principal App registration tanium-entraid-regional-identity-<id>. This name is also used as the app registration display name. Tanium uses the app registration to authenticate to Microsoft Graph without a stored secret.
Federated credential Managed identity and app registration tanium-entraid-federated-credential-<id>. A trust setting on the identity that tells Microsoft Entra ID to accept sign-in tokens from Tanium. Tanium uses it to sign in as the identity without a password or secret. Entra accepts a token only if the credential's issuer (the address of Tanium's token service) and subject (an ID unique to your Tanium environment) match the token exactly. The audience is the fixed value api://AzureADTokenExchange that Microsoft requires. No client secret is stored.
Microsoft Graph role assignments Managed identity and app registration Read-only Microsoft Graph application permissions. See Microsoft Graph permissions granted by the deployment templates.
Note: No client secret or certificate is created. Do not add one.

Microsoft Graph permissions granted by the deployment templates

The deployment template gives the identity permission to read your directory data through Microsoft Graph. All of these permissions are read-only, so Tanium can view your directory data but cannot change it.

The template grants these permissions for you, which also counts as the administrator approval (admin consent) that Microsoft requires. You do not need to approve the permissions separately in the Azure portal.

The following table lists the permissions and the data that each one enables.

Permission Data that it enables
Directory.Read.All Users, groups and group membership, devices and device owners, directory roles and role members, service principals, app registrations, federated identity credentials, and OAuth2 permission grants. Also the organization read that Verify Connection performs.
CustomSecAttributeDefinition.Read.All Custom security attribute definitions, so that they appear in Attribute Mapping.
CustomSecAttributeAssignment.Read.All Custom security attribute values on users.
AuditLog.Read.All The authentication methods registration report (per-user MFA registration posture).
Policy.Read.All Conditional Access policies and Security Defaults (per-identity MFA enforcement posture).

Required roles and prerequisites for deployment

The Microsoft Azure or Entra ID account that runs the deployment template must have the following roles.

Deployment type Required roles
Managed identity Contributor (or equivalent create rights) on the subscription, or Managed Identity Contributor on an existing resource group, plus Privileged Role Administrator or Global Administrator to grant the Microsoft Graph permissions.
App registration

Application Administrator or Cloud Application Administrator, plus Privileged Role Administrator or Global Administrator to grant the Microsoft Graph permissions.

Important: Application Administrator and Cloud Application Administrator cannot grant Microsoft Graph app roles on their own. This is the usual cause of a deployment that is only partly applied.

Complete the following prerequisites for the managed identity Terraform template:

  • The subscription must belong to the directory that you are onboarding. If it belongs to a different directory, the role assignments fail after a few minutes with the error "Not a valid reference update".
  • The Terraform provider does not register resource providers. Make sure that the Microsoft.ManagedIdentity resource provider is already registered in the subscription.

Run a deployment template again

Whether you can run a template again depends on the deployment type and the tool.

  • App registration with Bash: Safe to run again. The script reuses the app registration that has the exact same name, updates the federated credential if the issuer or subject changed, and skips role assignments that already exist. It stops without making changes if you are signed in to the wrong directory.
  • Managed identity with Bash: Not safe to run again. The script posts every role assignment unconditionally, so a second run stops at the first duplicate. Delete the resources that the first run created, and then run the script again.
  • App registration with Terraform: Large tenants can take 7 to 10 minutes or more to create directory objects. The template has a 30-minute create timeout, so do not interrupt it.
  • Bicep: If the first deployment attempt returns an error, wait 30 seconds and apply the template again.

Configure attribute synchronization from Microsoft Entra ID to Tanium

After you configure the Microsoft Entra ID profile, configure which Microsoft Entra directory attributes that you want to ingest into Tanium, to review metrics and related data, and target specific entities based on the attribute values. Synchronization with one or more Microsoft Entra directories allows you to monitor Microsoft Entra ID cloud entities from across your Microsoft Azure deployment in Tanium as a central dashboard. This read-only attribute synchronization uses each Microsoft Entra directory as the authoritative source for directory information.

The Microsoft Entra ID entity provider integration supports ingesting device, group, user, role, service principal, and application attribute data. Certain required attributes are synchronized by default for each attribute type, such as Device ID under device attributes. For other, non-required attributes, you can choose not to synchronize these attributes into Tanium, or synchronize the attributes for reporting and entity targeting.

Note: Your Microsoft Entra ID subscription tier determines which attributes are available for synchronization. Confirm that your Microsoft Entra ID subscription provides the functionality related to the attributes that you want to synchronize. For more information about the functionality provided in Microsoft Entra plans, see Microsoft Entra plans and pricing.
Table 7. Microsoft Entra ID entity provider attribute synchronization settings
Sync Usage Description Use
Not synchronized (Sync Setting cleared)

This attribute data is not synchronized with Tanium.

Note: Default attributes are always synchronized.

Configure an attribute to not synchronize if the value is subject to internal or external regulations, such as an attribute that contains personal identifying information (PII).

Configure an attribute to not synchronize if the attribute data is not relevant to monitoring in Tanium Console, such as Quality Assurance attributes that contain fake test data.

Reporting

This attribute data is synchronized from a Microsoft Entra ID directory to Tanium and is available for Tanium Reporting reports and dashboards.

Cloud entities associated with this attribute data cannot be targeted, but can be aggregated into a report or dashboard.

Configure an attribute to synchronize for Reporting if the attribute data could expose personal or security-related data, such as an email address or username, but does not rise to the level of scrutiny required by internal or external regulations.

Configure an attribute for Reporting to view overall metrics in a report or dashboard without targeting individual cloud entities.

If you want to target Tanium-managed endpoints based on Microsoft Entra ID group membership, you can configure an eligibility set. For more information, see Group eligibility for targeting.

Note the following:

  • You cannot disable synchronization for any default attribute.
  • Attribute synchronization is read-only and does not update Microsoft Entra ID directory data.
  • You configure attribute synchronization per configured Microsoft Entra ID directory and associated tenant.
  • After the initial full synchronization, attribute changes in Microsoft Entra ID are synchronized with Tanium in near real time. For example, if you create a new Microsoft Entra ID directory attribute, the attribute becomes available to configure in Tanium Console after the next synchronization.
  • If you configured an attribute for Reporting or Targeting, and then delete the attribute from the Microsoft Entra ID directory, the attribute data is no longer synchronized with Tanium as of the next synchronization. The attribute configuration updates to show this attribute as disabled. Dynamic groups, simple and adaptive actions, and other Tanium content that relies on the attribute for entity targeting might not work as intended.
Important: Consult with your organizational legal or data compliance team as needed for guidance before synchronizing attribute data.
  1. From the Main menu, go to Shared Services > Integrations Gallery.

  2. Click Microsoft Entra.

  3. Click Configuration.

  4. In the Attribute Mapping section, select a Profile Name and then click Edit.

  5. Click Devices, Groups, Users, or Roles to configure that type of directory attribute.

  6. Select Sync Setting to enable synchronization for a custom attribute, or clear Sync Setting to not synchronize a custom attribute.

  7. Click Update Attribute Settings.

Create an eligibility set

Create an eligibility set to determine which Microsoft Entra ID groups are eligible for targeting Tanium-managed endpoints. Tanium evaluates the rules in an eligibility set live against your Microsoft Entra ID tenant, so the groups that currently match an eligibility set always reflect current group data rather than a snapshot from when you last saved the eligibility set.

Note: Ensure that the combination of eligibility set rules allows matching at least one group and does not conflict. For example, if you filter on security groups that do not contain the string "security" in the name, and your organization includes that string in every security group name, the eligibility set does not match any groups. If a profile has more than one eligibility set, also verify that the combined rules across all eligibility sets for the profile do not match a group that you do not want to target.
  1. From the Main menu, go to Shared Services > Integrations Gallery.
  2. Click Microsoft Entra and then click Configuration.
  3. In the Eligibility Sets section, click + Create.
  4. Select an Entra Profile to associate with the eligibility set.
  5. Enter an Eligibility Set Name and optional Description.
  6. Configure one or more of the following rule filters:
    • Enter an Includes value to match group names that contain the string.
    • Enter an Excludes value to match group names that do not contain the string.
    • Enter a Membership rule includes or Membership rule excludes value to match dynamic groups by membership rule.
    • Select a Membership type.
    • Select one or more Group types.
    • Select an Owners filter.
    • Select a Microsoft Entra roles assignable filter.
    • Select a Sync source.
  7. Review the Matched Groups count. If the results do not match the groups that you intend to target, review the eligibility set configuration and repeat these steps.
  8. Click Create eligibility set.

View the rules in an eligibility set

View the rules configured for an eligibility set to confirm which Microsoft Entra ID groups the eligibility set matches, without editing the eligibility set.

  1. From the Main menu, go to Shared Services > Integrations Gallery.
  2. Click Microsoft Entra and then click Configuration.
  3. In the Eligibility Sets section, click View rules for group View rules for group.

Edit an eligibility set

After you create an eligibility set, you cannot update the Entra Profile. If you want to change the profile, delete the eligibility set and then create a new one. Editing an eligibility set increments the eligibility set revision number.

Note: If you change an eligibility set's rules so that a group no longer matches, saving the change triggers an immediate synchronization. Tanium removes matched group data for endpoints that no longer match any eligibility set.
  1. From the Main menu, go to Shared Services > Integrations Gallery.
  2. Click Microsoft Entra and then click Configuration.
  3. In the Eligibility Sets section, click Edit group Edit group.
  4. Update the eligibility set name, description, or rule filters as needed.
  5. Click Save changes.

Duplicate an eligibility set

Duplicate an eligibility set to create a new eligibility set based on the target eligibility set.

  1. From the Main menu, go to Shared Services > Integrations Gallery.
  2. Click Microsoft Entra and then click Configuration.
  3. In the Eligibility Sets section, click Duplicate group Duplicate group.
  4. Make changes as needed.
  5. Click Create eligibility set.

Delete an eligibility set

Deleting an eligibility set removes the eligibility set and its rules. Deleting an eligibility set triggers an immediate synchronization. Tanium removes matched group data from endpoints that no longer match any eligibility set.

  1. From the Main menu, go to Shared Services > Integrations Gallery.
  2. Click Microsoft Entra and then click Configuration.
  3. In the Eligibility Sets section, click Delete group Delete group.

Edit a Microsoft Entra ID profile

Edit a Microsoft Entra ID profile to update the Content Set or to download the configuration template.

After you create a Microsoft Entra ID profile, you cannot update the Profile Name, Directory (Tenant) ID, or Application (Client) ID. If you want to change these values, delete the existing Microsoft Entra ID profile and then create a new one.

  1. From the Main menu, go to Shared Services > Integrations Gallery.
  2. In the Integrations section, click Microsoft Entra and then click Configuration.
  3. Click Edit.
  4. Update the Content Set if needed.
  5. Click Save.

Disable a Microsoft Entra ID profile

Disabling a Microsoft Entra ID profile also stops ingestion of Microsoft Entra ID cloud entity data for this entity provider. Cloud entity data that this entity provider ingested remains in Tanium, but does not reflect changes in Microsoft Entra ID that occur after the Microsoft Entra ID profile is disabled.

  1. From the Main menu, go to Shared Services > Integrations Gallery.
  2. In the Integrations section, click Microsoft Entra and then click Configuration.
  3. Click Enabled for the Microsoft Entra ID profile that you want to disable.

Delete a Microsoft Entra ID profile

Deleting a Microsoft Entra ID profile also removes all Microsoft Entra ID cloud entity data that this entity provider ingested into Tanium.

  1. From the Main menu, go to Shared Services > Integrations Gallery.
  2. In the Integrations section, click Microsoft Entra and then click Configuration.
  3. Click Delete for the Microsoft Entra ID profile that you want to delete.
  4. Optional: Remove the resources that the deployment template created in Microsoft Azure or Microsoft Entra ID. Deleting the profile does not remove the resources. Use one of the following methods:
    • Managed identity: If the template created the resource group, delete the resource group to remove everything that it contains. Otherwise, delete the user-assigned managed identity, or run terraform destroy for a Terraform deployment. Deleting the managed identity removes its federated credential and Microsoft Graph role assignments, but it does not delete the resource group.

    • App registration: Delete the app registration. Deleting it removes its service principal, federated credential, and role assignments.

Disable the Microsoft Entra ID entity provider integration

Disabling the Microsoft Entra ID entity provider integration disables all Microsoft Entra ID profiles. Microsoft Entra ID cloud entity data ingested remains in Tanium, but does not reflect changes in Microsoft Entra ID that occur after the Microsoft Entra ID entity provider integration is disabled.

  1. From the Main menu, go to Shared Services > Integrations Gallery.
  2. In the Integrations section, click Microsoft Entra.
  3. Click Service Enablement to disable the integration.

Use Microsoft Entra ID entity data

Review the following sections to learn how to use Microsoft Entra ID entity data in Tanium.

Issue questions to target Microsoft Entra ID entities

You can query Tanium Atlas using natural language prompts to return results from certain types of managed endpoints, such as endpoints managed using Tanium Client or endpoints managed using the Microsoft Entra ID entity provider. For more information, see Tanium Atlas User Guide: Exploring your environment and performing tasks through Atlas.

Note: To query Microsoft Entra ID data, you must have an appropriate role. Assign the Sensor Data Reader - Microsoft Entra ID role to ask questions with the Microsoft Entra ID sensors, and the Graph Data Reader - Microsoft Entra ID role to query Microsoft Entra ID graph data. For more information, see User role requirements.
Note:

To query Microsoft Entra ID device identity and group membership data, use the following sensors:

Microsoft Entra ID - Device Info
Retrieves the Microsoft Entra ID device join identity for an endpoint.
Microsoft Entra ID - Groups
Retrieves Microsoft Entra ID group membership data for an endpoint.

Tell me about all entities in my environment managed using either Tanium Client or the Microsoft Entra ID entity provider.

Which Microsoft Entra ID users have the Global Administrator role assigned?

List all Microsoft Entra ID service principals synced from my contoso.onmicrosoft.com tenant.

What Microsoft Entra ID groups are eligible for targeting under my Marketing eligibility set?

Show me Microsoft Entra ID groups with dynamic membership rules.

Are any Microsoft Entra ID devices missing a verified device identity?

Use my Marketing eligibility set to create a computer group.

Create a computer group from the groups matched by my Finance eligibility set.

Build a computer group of endpoints whose Microsoft Entra ID group membership matches my Engineering eligibility set.

Build a computer group of Windows endpoints whose Microsoft Entra ID group membership matches my Finance eligibility set.

Include Microsoft Entra ID attributes in a report

You can use Tanium Atlas to generate reports that include Microsoft Entra ID device, group, user, and role data. For more information, see Tanium Atlas User Guide: Exploring your environment and performing tasks through Atlas.

Create a report of all Microsoft Entra ID devices grouped by operating system.

Generate a report showing Microsoft Entra ID users with the Global Administrator role assigned.

Provide me a report of Microsoft Entra ID groups eligible for targeting under my Marketing eligibility set.

Create a report showing Microsoft Entra ID service principals synced from my tenant.

Generate a report of endpoints missing a verified Microsoft Entra ID device identity.

Provide me a report showing Microsoft Entra ID groups with dynamic membership rules.

Create a report of Microsoft Entra ID devices by join type: Microsoft Entra joined, Microsoft Entra hybrid joined, or Microsoft Entra registered.

Export Microsoft Entra ID attribute data using Tanium Connect

If the connection source supports Microsoft Entra ID attribute data, such as the Tanium Reporting (Source Data) source, you can export Microsoft Entra ID attribute data using Tanium Connect. For more information, see Integrations Gallery overview.

Troubleshooting

If the Microsoft Entra ID entity provider integration is not performing as expected, you might need to troubleshoot or change settings.

Connection to the Microsoft Entra tenant fails

If the Microsoft Entra ID profile is not configured correctly, establishing a connection between Tanium and your Microsoft Entra tenant fails. Verify that the Directory ID and Client ID in the Microsoft Entra ID profile configuration are correct. If the deployment did not complete, correct the cause and then deploy again. See Run a deployment template again, because running some templates a second time is not safe.

Template deployment fails with AuthorizationFailed

The signed-in Microsoft Azure user does not have permission to create resource groups or grant app role assignments. Ask a Global Administrator for the tenant to run the script or to grant you Privileged Role Administrator and Contributor access on the target subscription. For the app registration deployment type, Application Administrator or Cloud Application Administrator alone cannot grant Microsoft Graph app roles; you also need Privileged Role Administrator or Global Administrator. Azure Cloud Shell requires a subscription, so for a directory with no subscription, run the script from a machine that has the Azure CLI. For more information, see Required roles and prerequisites for deployment.

Verify Connection fails immediately

The federated credential might not have finished propagating. Wait 60 seconds and try again.

Verify Connection fails after waiting

The managed identity or app registration might not have been granted all five Microsoft Graph permissions, which usually happens when the signed-in user could create the resources but could not grant Microsoft Graph app roles. Confirm that the account that ran the deployment has Privileged Role Administrator or Global Administrator. For the managed identity Bash script, delete the resources that it created and then run the script again. For the other templates, apply the template again. See Run a deployment template again. After the deployment completes, try again.

Subscription count remains 0 after profile creation

The Subscriptions count updates after the first successful sync. If the count stays at 0 for more than 10 minutes after Verify Connection succeeds, check the status indicator next to the profile, then hover over the indicator to see the last error.

Initial synchronization takes a long time or does not resolve

After you create the Microsoft Entra ID profile, the initial synchronization might take 30 minutes or more if your Microsoft Entra tenant is large, or you ingested many directory object attributes. Confirm that your credentials are correct and up to date in the Microsoft Entra tenant, and wait at least 30 minutes. If this synchronization still does not complete, contact Tanium Support.

No Microsoft Entra rows appear in Explore Data after 30 minutes

Confirm the following:

  • The Enabled toggle for the profile is on.
  • At least one attribute is enabled with Targeting or Reporting in Attribute Mapping for each relevant tab.
  • The managed identity or app registration created by the template still has all five Microsoft Graph permissions. For a managed identity: In the Microsoft Azure portal, go to Microsoft Entra ID > Enterprise applications, set the Application type filter to Managed Identities, search for the managed identity created by the template, and open Permissions. For an app registration: go to Microsoft Entra ID > App registrations, open the app registration created by the template, and review API permissions.

No targeting based on group membership is available

If Tanium does not show matched Microsoft Entra ID group data for targeting, confirm that the intended attributes are synchronized and available to be targeted.

  • Confirm a Microsoft Entra ID profile is configured and connected to the Microsoft Entra tenant that contains the intended groups.
  • Confirm attribute synchronization is configured for the attributes that you intend to use for targeting.
  • Confirm an eligibility set exists and is associated with the correct Microsoft Entra ID profile.
  • Review the eligibility set rules and confirm the intended groups appear in the Matched Groups results. If a profile has more than one eligibility set, confirm the combined rules across all eligibility sets for the profile do not unintentionally exclude a group that you want to target.
  • Confirm Tanium has verified the identity of the endpoint that you want to target. Matched group data is not available for targeting an endpoint until Tanium verifies that device identity.
  • If you want to target a macOS or Linux endpoint, confirm expectations: Microsoft Entra ID group data for macOS and Linux endpoints is associated with the corresponding Microsoft Entra ID entity, but is not available for targeting the endpoint itself, because Advanced Device Identity verification supports Windows endpoints only. This is expected behavior, not a misconfiguration.

An eligibility set matches unintended groups

If an eligibility set matches groups that you do not intend to target, confirm that the configured eligibility set rules match the intended groups.

  • Review the eligibility set rule filters and confirm each filter matches only the intended criteria.
  • Preview the Matched Groups results and confirm every matched group is intended. If an eligibility set matches more than 10,000 groups, narrow the eligibility set rules to more precisely target the intended groups.
  • Confirm the group type that you intend to target is supported. Mail-enabled security groups and distribution groups are not supported as eligibility set targets; an eligibility set never matches these group types regardless of other filters.
  • Confirm a Sync source filter, if used, matches how the intended groups originate. For example, a group synced from an on-premises directory does not match a Sync source filter set to cloud-only.
  • If a profile has more than one eligibility set, review the combined rules across all eligibility sets for the profile. Overlapping rules can match a group that you do not want to target even if each individual set looks correct on its own.

Directory objects not appearing in Tanium after sync completes

The directory objects that appear in Tanium depend on the directory object attributes that you ingest from your Microsoft Entra tenant. In Microsoft Azure, confirm that you have the proper RBAC permissions to access the attributes that you want to ingest into Tanium. In Tanium, confirm that the Microsoft Entra attribute mapping configuration for the Microsoft Entra ID profile enables sync for at least one editable attribute that is associated with the directory objects that you want to ingest into Tanium.

Attribute updates in the Microsoft Entra tenant not appearing in Tanium

The Microsoft Entra ID entity provider performs periodic attribute synchronization. If you update an attribute in the Microsoft Entra tenant, the updated attribute does not appear in Tanium until the next synchronization.

Multiple tenant configuration does not work

A Microsoft Entra ID profile maps to a single Microsoft Entra tenant. The profile configuration, including the downloadable template, cannot be applied to multiple Microsoft Entra tenants. If you want to configure multiple Microsoft Entra tenants to send information to one Tanium environment, you must configure one Microsoft Entra ID profile for each tenant.

Reference: Microsoft Entra ID integration endpoint tools

Each solution includes a tool with the same name as the solution that appears in the Endpoint Configuration Toolset manifest but that does not appear in the following table. This tool is not deployed to the endpoint itself, but it manages the endpoint tooling dependencies for the solution, as listed in the table.

Table 8. Endpoint tools for the Microsoft Entra ID entity provider integration
Tool Description
core-cx Provides a management framework API for all other Client Extensions and exposes operating system metrics
cx-config Provides installation and configuration of extensions on an endpoint
extras-cx Provides a helper library that contains re-usable functions for various client extensions to use