Troubleshooting the Microsoft Security Copilot integration
Review troubleshooting tasks for common issues.
Allow Microsoft Security Copilot egress IP addresses
Depending on your geographical region, Microsoft Security Copilot uses one of several IP addresses for communication with the Tanium instance. Add the appropriate IP address to your network allow list to ensure inbound communication from Microsoft Security Copilot to your network. For more information about egress IP addresses, see Microsoft Security documentation: Microsoft Security Copilot egress IPs.
You can also generate an API token associated with a trusted IP address that corresponds to an Azure geographical region and configureMicrosoft Security Copilot to use that API token. For more information about how to create an API token, see Create an API token.
Rotate Microsoft Security Copilot API tokens
API tokens generated for the Microsoft Security Copilot integration are valid for 365 days from generation, associated with the user account creating the API token and the persona, and contain in the Notes field. To rotate an API token:
-
Administrator users can rotate their existing API token from the API Tokens page, using the original token string. For more information about how to rotate an API token, see Rotate an API token.
-
Non-administrator users can contact an administrator to revoke the existing API token from the API Tokens page. The non-administrator users can then generate a new API token. For more information about how to revoke an API token, see Revoke API tokens.
Review Microsoft Security Copilot-related API token audit logging
Review API token audit logging on a periodic basis to ensure that traffic using Microsoft Security Copilot-related API tokens is originating from trusted sources, such as a Microsoft egress IP address. You can configure a Connect connection using the Tanium Audit Source source, with a SIEM or other logging analysis solution as the destination. After the connection run finishes, filter the log entries for Security Copilot-related API token entries using a regular expression, such as .
-
From the Main menu, go to .
-
Click Create Connection.
-
Enter a destination Name.
-
Select the Tanium Audit Source source. Then select API Tokens Audit.
-
Select a Destination and configure destination settings.
-
Optionally, in the Schedule section, select Enable Schedule and configure a schedule for connection runs.
-
Click Save.
For more information about how to create a Connect connection to a SIEM destination, see Configuring Socket (SIEM) destinations.
Review Microsoft Security Copilot-related questions in Tanium
If Microsoft Security Copilot selects the Tanium API Plugin for Microsoft Security Copilot to evaluate a natural language prompt or prompt suggestion, it uses the configured API token to submit questions in Tanium and generate a response. Responses might include a URL to question results in Tanium Console. You can view the question history and filter results based on the user associated with the API token to review the questions Microsoft Security Copilot issues, and to confirm communication between Microsoft Security Copilot and Tanium. For more information about how to view question history, see View question history.
Improve selection of Tanium Skills
To respond to a natural language prompt, Microsoft Security Copilot analyzes available prompt and session context, and selects a relevant plugin and skill. If you want Microsoft Security Copilot to select Tanium Skills in response to natural language prompts, and Microsoft Security Copilot instead repeatedly selects non-Tanium Skills, you have the following options:
-
Add specific context to a natural language prompt. For example, adding Using Tanium to your prompt provides additional context to the Microsoft Security Copilot LLM to select a relevant Tanium Skill.
-
Submit a prompt suggestion for a specific Tanium Skill.
-
Submit additional Tanium Skill-related prompts in a session.
-
Provide response feedback to Microsoft to help improve future versions of Microsoft Security Copilot.
If Microsoft Security Copilot continues to select non-Tanium Skills, you can disable other Microsoft and non-Microsoft plugins, improving the possibility that Microsoft Security Copilot selects a Tanium Skill. For more information, see Microsoft Security Copilot documentation: Manage plugins in Microsoft Security Copilot.
- From the Microsoft Security Copilot home page, click Security Copilot plugin
. The Manage plugins modal appears.
- Select the toggle for each enabled non-Tanium plugin to turn off the plugin.
- Close the modal.