Troubleshooting Zero Trust

If Zero Trust is not performing as expected, you might need to troubleshoot issues or change settings.

Collect logs

The information is saved as a ZIP file that you can download with your browser.

  1. From the Main menu, go to Shared Services > Zero Trust. Click Help help.
  2. From the Troubleshooting tab, click Download Support Bundle.

    A ZIP file downloads to the local download directory.

  3. Contact Tanium Support to determine the best option to send the ZIP file. For more information, see Contact Tanium Support.

Manually modify endpoint attribute

You can manually apply or remove an extension attribute from an existing rule for one or more endpoints. The option to manually modify an endpoint attribute uses enforcement rules only. Manually editing an extension attribute is useful to test a rule.

Note: For each endpoint, any attribute that you modify is subject to change the next time a rule runs and targets the endpoint.
  1. From the Main menu, go to Shared Services > Zero Trust > Modify Endpoint Attribute.
  2. Select the endpoints to target:
    1. In Target Endpoints, enter a string to search for endpoints by computer name, IP address, or device ID.
    2. Click Add Endpoint add next to the endpoint in the results that appear.
      Important:

      The Add Endpoint add option only appears for endpoints that have a device ID. The device ID is provided by your IAM provider. For more information about device IDs, see Microsoft Entra documentation: Manage device identities using the Microsoft Entra admin center.

    3. Repeat to add additional endpoints.
  3. Select an Action.
    • To apply the extension attribute, select Apply.

    • To remove the extension attribute, select Remove.

  4. For Rule Attributes, select the enforcement rule with the extension attribute and extension attribute string that you want to apply.
  5. Click Save.
Zero Trust attempts to apply the attribute to the selected endpoints. To verify the attribute was successfully applied, review the Entra ID audit log. For more information, see Review data sent to your IAM provider.

Endpoint does not appear in the audit log

Symptom

The audit log does not contain expected entries for an endpoint.

Cause

Possible causes include:

  • The endpoint might not be registered in Entra ID. Tanium Zero Trust does not monitor endpoints that are not registered with Entra ID.

  • There are no rules that target the endpoint.

  • The endpoint is registered in a different Microsoft Entra ID tenant than the one configured in Zero Trust settings. Endpoints from other tenants, such as a subsidiary tenant, are not processed.

Solution

Entra ID log shows endpoint does not exist

Symptom

The audit log contains error messages that an endpoint does not exist, such as the following:

JSON
making patch request: Call to https://graph.microsoft.com/v1.0/devices(deviceId='285a3512-728f-4ac1-9295-485f9e3312ee'): Bad Status Code Received: 404 Not Found {"error":{"code":"Request_ResourceNotFound","message":"Resource '285a3522-728f-4ae1-9295-485f5e3812ee' does not exist or one of its queried reference-property objects are not present.","innerError":{"date":"2023-06-23T20:31:25","request-id":"132288da-b683-4d24-b6ec-ff2a539f9752","client-request-id":"132288da-b683-4d24-b6ec-ff2a539f9752"}}}

Cause

These messages commonly occur when an endpoint de-registers from Entra ID. Although the endpoint is no longer registered in Entra ID, the endpoint still qualifies for one or more enforcement rules in Tanium Zero Trust.

Solution

  • To continue monitoring the endpoint:

    Re-register the endpoint in Entra ID. For more information, see Microsoft Entra documentation: Manage device identities using the Microsoft Entra admin center.

  • To discontinue monitoring for the endpoint:

    • Remove the following registry entry key on the endpoint:

      CODE
      HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\WorkplaceJoin\JoinInfo
    • Replace any rules that target the endpoint. After you create a rule, you can only edit the name and description of the rule. To update the targets for a rule, clone the rule, modify the targeting, and then save the new rule. For more information, see Clone a rule.

Zero Trust is unable to connect to Microsoft Entra ID

Symptom

A banner appears with the following message: Zero Trust is unable to connect to Microsoft Entra ID. Make sure your credentials are valid and Zero Trust is configured correctly for your Microsoft Entra ID instance. Go to Settings.

Cause

Possible causes include:

  • The credentials saved in the Zero Trust settings are invalid or have expired.

  • The Entra ID application registration is missing the Device.ReadWrite.All permission.

  • The selected cloud location does not match your Entra ID tenant. For example, a commercial tenant configured with a US Government endpoint.

Solution

  1. From the Main menu, go to Shared Services > Zero Trust. Click Settings cog.

  2. Verify that the Microsoft Entra ID Tenant ID, Microsoft Entra ID App ID are correct.

  3. Re-enter your client secret or upload a new certificate and save the configuration.

  4. In the Entra ID portal, confirm that the app registration has the Device.ReadWrite.All API permission granted.

Unable to preview rule

Symptom

When previewing a rule, the following message appears: Unable to preview rule. Make sure all sensors are registered with Tanium Data Service. The missing sensor is: [sensor name]

Cause

One or more sensors required to evaluate the targeting criteria for the rule have not been registered with Tanium Data Service and cannot be queried.

Solution

Register the missing sensors with Tanium Data Service and then retry the preview. For more information about registering sensors, see the Register or unregister sensors for collection.

Not authorized to modify endpoint attribute

Symptom

When manually modifying an endpoint attribute, the action fails with the following error: User does not have the device management rights to perform this action.

Cause

The signed-in user does not have device management rights for one or more of the selected endpoints. The user must have management rights for all selected endpoints for the action to proceed.

Solution

Remove endpoints that you do not have management rights for and retry the action, or contact your administrator to request the appropriate rights.

Cannot apply audit rule

Symptom

When manually modifying an endpoint attribute, the action fails with the following error: Cannot apply audit rule.

Cause

The selected rule is in audit mode. Manual endpoint attribute modifications can only use rules that are in enforcement mode.

Solution

Select an enforcement rule, or clone the audit rule and set the mode to enforcement on the new rule. For more information, see Clone a rule.

Extension attribute is also applied by another rule

Symptom

When removing an extension attribute from one or more endpoints, a warning indicates that the same extension attribute is also applied by other rules.

Cause

The extension attribute is targeted by more than one rule. Removing the attribute through one rule does not prevent another rule from reapplying the same attribute to the same endpoints.

Solution

To completely remove the attribute from the affected endpoints, delete or modify the other rules that apply the same extension attribute. After you create a rule, you can only edit the name and description of the rule. To change the targeting, attribute, or action, clone the rule, modify the new rule, and then delete the original. For more information, see Clone a rule.

Audit log export errors

Symptom

The audit log export does not download, or an error occurs when initiating an export.

Cause

Possible causes include:

  • An export is already in progress. Only one export can run at a time.

  • No export has been initiated yet.

  • A previous export failed before it completed.

Solution

  • If an export is in progress, wait for the Audit log export is in progress status to change to Audit log export is available. Download. before initiating a new export.

  • If no export has been initiated, click Export in the Audit Log view to start one.

  • If a previous export failed, click Export to start a new export.

Cannot view the audit log

Symptom

The audit log fails to load, or an error indicates that unrestricted management rights are required.

Cause

Viewing the Zero Trust audit log requires unrestricted management rights. Users assigned to a restricted computer group cannot view audit log entries.

Solution

Sign in as a user that has unrestricted management rights, or contact your administrator to update your computer group assignment. For more information about user role requirements, see User role requirements.

Rule and audit log statuses

The following statuses appear in the Zero Trust audit log and rule views.

Table 1. Rule and audit log statuses

Status

Description

Pending

Tanium data has been sent to Microsoft Entra ID and is awaiting confirmation.

Success

Microsoft Entra ID successfully received and applied the Tanium data.

Error

The operation failed. Review the error detail in the audit log row for more information. For help with specific error messages, see "Failed due to shutdown" error in audit log and "Update failed due to tenant change" error in audit log.

Audit

The rule is running in audit mode. No changes are made to Entra ID. If the rule were enforced, the configured action would be applied.

Enforce

The rule is running in enforcement mode. Extension attributes are applied to or removed from endpoints in Entra ID.

"Failed due to shutdown" error in audit log

Symptom

One or more entries in the audit log show Failed due to shutdown in the Error column.

Cause

When the Zero Trust service restarts, it marks any enforcement audit events that were pending execution at the time of shutdown with this error. These events were not sent to Microsoft Entra ID before the service stopped.

Note: Audit-only rule events are not affected by this error. Only enforcement rule events that were pending at shutdown are marked.

Solution

No action is required. This error is expected after a service restart and does not indicate data loss, a misconfiguration, or erroneous policy enforcement. After the service starts, the engine creates new actions on the next processing interval, which automatically retries any work that was pending at shutdown. To confirm that enforcement is working correctly, verify that recent audit log entries show a Success status.

"Update failed due to tenant change" error in audit log

Symptom

One or more entries in the audit log show Update failed due to tenant change in the Error column.

Cause

The Microsoft Entra ID tenant was reconfigured after an audit event was created but before the event was sent to Entra ID. The pending event was abandoned because the tenant ID no longer matched the updated configuration.

Solution

No action is required for audit events that already have this error. After the tenant is reconfigured, new audit events are created and processed using the updated tenant configuration.

Rule or configuration operation fails

Symptom

A Zero Trust operation fails, and a notification appears with a message such as the following:

  • Failed to create rule.

  • Failed to update rule.

  • Failed to delete rule.

  • Failed to prioritize rules.

  • Failed to update rule owner.

  • Failed to modify endpoint attribute.

  • Configuration update failed.

  • Failed to delete configuration.

Cause

The Zero Trust service could not complete the requested operation. Common causes include a temporary service issue, insufficient privileges, or a problem connecting to Microsoft Entra ID.

Solution

  1. Retry the operation.

  2. If the operation continues to fail, verify that you have the required Zero Trust role and that the connection to Microsoft Entra ID is working. For more information, see Zero Trust is unable to connect to Microsoft Entra ID.

  3. If the operation still fails, contact Tanium Support. For more information, see Contact Tanium Support.

Not authorized to view this page

Symptom

When opening a Zero Trust page, the following message appears: Not authorized to view this page.

Cause

The signed-in user does not have the role required to view the requested page.

Solution

Contact your administrator to request the required role. For more information about user role requirements, see User role requirements.

Uninstall Zero Trust

If you need to uninstall Zero Trust, perform the following steps.

Important: Consult with Tanium Support before you uninstall or reinstall Zero Trust.
  1. Sign in to Tanium Console as a user with the Administrator role.

  2. From the Main menu, go to Administration > Configuration > Solutions.

  3. In the Content section, select the Zero Trust row and click Uninstall.

  4. Review the summary and click Yes to proceed with the uninstallation.

  5. When prompted to confirm, enter your password.

Note: The uninstall does not remove the Zero Trust log from the Tanium Module Server. To remove the log after the uninstall completes, manually delete the \Program Files\Tanium\Tanium Module Server\services\zero-trust-files\services\zero-trust-files\ directory.