Microsoft Sentinel Integration
The Spur: IP Intelligence and Enrichment solution enriches public IP addresses associated with Microsoft Sentinel incidents using the Spur Context API.
This guide covers how to install the Spur solution, deploy the custom connector, create the enrichment playbook, configure and authorize its connections, enable automatic enrichment, and test the integration.
You can complete installation through the Microsoft Defender portal or the Microsoft Azure portal.
Deploy the Spur custom connector before creating the playbook. If you create the playbook first, it may show
Connector 'Spur-Context-Connector' not found.
Prerequisites
| Requirement | Details |
|---|---|
| Microsoft Sentinel | An active Microsoft Sentinel workspace |
| Log Analytics | An existing Log Analytics workspace connected to Microsoft Sentinel |
| Sentinel permissions | Microsoft Sentinel Contributor access at the resource-group level |
| Azure permissions | Permission to create Logic Apps, API connections, custom connectors, Data Collection Rules, and Data Collection Endpoints |
| Spur subscription | An active Spur Context API subscription |
| Spur API token | Available from the Spur application |
| Azure information | The subscription, resource group, and region used by your Sentinel workspace |
Do not include your Spur API token in screenshots, support requests, source control, or shared documents.
Install the Spur solution
- Open the Spur Microsoft Sentinel solution and select Get it now.
- Follow the prompts to install the solution in your Microsoft Sentinel workspace.
- In the Azure portal, search for and open Microsoft Sentinel.
- Select your workspace, then go to Content management → Content hub.
- Search for Spur, open Spur: IP Intelligence and Enrichment, and select Manage.
For more information, see Discover and manage Microsoft Sentinel content.
Deploy the Spur custom connector
The Spur custom connector must be deployed before you create the enrichment playbook.
- From the Spur solution management page, locate Spur IP Enrichment Incident Trigger.
- Select the playbook template, then select Configuration.
- Under Prerequisites, select Deploy Custom connector to Azure.
- Select the Azure subscription and resource group used by your Microsoft Sentinel workspace.
- Review the deployment settings:
| Setting | What to enter |
|---|---|
| Subscription | The Azure subscription containing your Microsoft Sentinel workspace |
| Resource group | The resource group used for the integration |
| Region | The Azure region used by your Sentinel resources |
| Spur Connector Name | The name used for the Spur custom connector |
| Location | The required Azure deployment location |
| Subscription ID | Your Azure subscription ID |
| Resource Group | The resource group containing your Sentinel workspace |
| Workspace Name | Your existing Log Analytics workspace connected to Microsoft Sentinel |
| DCR Name | A valid name for the Data Collection Rule |
| DCE Name | A valid name for the Data Collection Endpoint |
Workspace Name must be the name of your existing Log Analytics workspace connected to Microsoft Sentinel. The default
spur-log-workspacevalue is only an example — replace it with your actual workspace name. Spur does not require a separate Spur-owned workspace.
- Confirm the workspace exists in the selected subscription and resource group.
- Select Review + create, wait for validation, then select Create.
- Wait for the deployment to finish before returning to Microsoft Sentinel.
Expected result
The deployment creates:
- The Spur custom connector
- A Data Collection Rule
- A Data Collection Endpoint
- The resources required to connect the integration to your Log Analytics workspace
If the deployment reports a failure
Open Deployment details and review each resource individually. The overall deployment may report a failure even if some resources were created successfully — resolve any failed resources before creating the playbook.
Confirm the custom connector exists
Before creating the playbook:
- Open the deployment details.
- Confirm the Spur custom connector was created successfully.
- Confirm its name matches the Spur Connector Name entered during deployment.
- Note the connector name — you'll need it when creating the playbook.
The Spur custom connector should be available before you open the playbook's Connections tab.
Create the enrichment playbook
- Return to Microsoft Sentinel → Content management → Content hub.
- Open Spur: IP Intelligence and Enrichment, then select Manage.
- Select Spur IP Enrichment Incident Trigger, then select Create playbook.
- On the Basics tab, select your Azure subscription and the same resource group used for the custom connector, confirm the playbook name, and enable diagnostic logs if required.
- Select Next: Parameters and confirm that SpurConnectionName matches the name of the Spur custom connector deployed earlier.
- Select Next: Connections.
For more information, see Create and customize Microsoft Sentinel playbooks from templates.
Configure the connections
The playbook uses two connections:
| Connection | Purpose | Authentication |
|---|---|---|
| Microsoft Sentinel | Reads the incident and its associated IP entities | Managed identity |
| Spur Context Connector | Enriches IP addresses using the Spur Context API | Spur API token |
- On the Connections tab, expand Spur Context Connector.
- Create or select your Spur API connection, and enter your Spur API token when prompted.
- Confirm the Microsoft Sentinel connection will use the playbook's managed identity after deployment.
- Select Next: Review and create, review your configuration, then select Create playbook.
If you see
Connector 'Spur-Context-Connector' not found, cancel the playbook deployment and confirm you completed the custom connector deployment first.
Authorize and verify the connections
After creating the playbook, confirm both connections are active.
- Open the newly created Logic App and select Overview.
- Confirm the workflow is enabled.
- Go to Development Tools → Logic app designer and confirm the workflow contains the Microsoft Sentinel incident trigger, the actions that collect IP entities, the Spur enrichment actions, and the actions that return enrichment information to the incident.
- Look for any actions displaying a warning or authentication error.
Authorize the Spur connection
If the Spur connection requires authorization:
- Select the affected Spur action.
- Create or select your Spur API connection.
- Enter your Spur API token and confirm the connection.
Authorize the Microsoft Sentinel connection
If the Microsoft Sentinel connection reports a permissions error:
- Confirm the Logic App's managed identity is enabled.
- Grant the identity the Microsoft Sentinel permissions required for your environment — this commonly includes the Microsoft Sentinel Responder role at the appropriate workspace or resource-group scope.
- Return to the Logic App designer and select Save.
Neither connection should display an authentication warning.
Configure automatic enrichment
Creating the playbook does not automatically run it for every incident — create an automation rule to run it when the required conditions are met.
- In Microsoft Sentinel, go to Configuration → Automation.
- Select Create → Automation rule and enter a name, such as Run Spur IP enrichment.
- Configure the incident conditions that should trigger the playbook.
- Under Actions, select Run playbook and select your Spur incident-enrichment playbook.
- Review the rule order and expiration settings, then save and enable the automation rule.
Make sure Microsoft Sentinel has permission to run playbooks in the Logic App's resource group if the playbook isn't listed.
For more information, see Automate threat response with Microsoft Sentinel playbooks.
Test the integration
- Open or create a test incident containing at least one valid public IP address entity.
- Let the automation rule trigger the playbook, or run it manually from the incident's available actions.
- Open the deployed Logic App and select Run history, then open the relevant playbook run.
- Confirm the Microsoft Sentinel incident was received, at least one IP entity was found, the Spur enrichment action completed successfully, and the enrichment information was returned to the incident.
- Return to the Microsoft Sentinel incident and confirm the Spur enrichment information appears in the incident output or comments.
Use a valid public IP address — private, reserved, or malformed IP addresses may not return useful enrichment information.
Troubleshooting
Connector 'Spur-Context-Connector' not found
This means the playbook cannot find the required Spur custom connector.
- Cancel the playbook deployment.
- Return to the Spur playbook template and select Configuration, then Deploy Custom connector to Azure.
- Deploy the connector in the same subscription and resource group used for the integration.
- Confirm the deployed connector name matches SpurConnectionName.
- Return to the template and create the playbook again.
Spur Context Connector is unavailable
If the connector is greyed out or cannot be selected, confirm that:
- The custom connector deployment completed successfully.
- You are creating the playbook in the correct subscription and resource group.
- The connector name matches SpurConnectionName.
Refresh the playbook template after the connector deployment completes, or cancel and restart the playbook deployment if necessary.
The workspace fails to deploy
Confirm that:
- Workspace Name contains the name of your existing Log Analytics workspace.
- The workspace is connected to your Microsoft Sentinel deployment.
- The workspace exists in the selected Azure subscription and resource group.
- You replaced the example
spur-log-workspacevalue. - You have permission to access and update the workspace.
Spur does not require a separate Spur-owned Log Analytics workspace.
The Data Collection Rule or Data Collection Endpoint fails
Confirm that:
- The Log Analytics workspace exists and its name is entered correctly.
- The DCR and DCE names are valid and don't conflict with existing resources.
- The selected region supports the required resources.
- You have permission to create Data Collection Rules and Data Collection Endpoints.
Open Deployment details to identify whether the DCR, DCE, or another dependent resource failed.
The Spur connection is inactive
- Open the deployed Logic App and go to Development Tools → Logic app designer.
- Select the Spur action displaying the warning.
- Create or reauthorize your Spur API connection.
- Confirm your API token is correct, belongs to an active Spur Context API subscription, and that SpurConnectionName matches the deployed custom connector name.
- Save the workflow and run another test.
Microsoft Sentinel reports a permissions error
- Confirm the Logic App's managed identity is enabled.
- Grant the managed identity the appropriate Microsoft Sentinel role at the required workspace or resource-group scope.
- Confirm Microsoft Sentinel has permission to run the playbook.
- Save the workflow and run another test.
The playbook does not run automatically
Confirm that:
- You created and enabled an automation rule.
- The automation rule conditions match your test incident.
- The rule includes the Run playbook action with the correct Spur playbook selected.
- Microsoft Sentinel has permission to run the playbook.
- The automation rule has not expired.
The playbook runs but no enrichment appears
Confirm that:
- The incident contains a valid public IP entity that the workflow extracted successfully.
- The Spur API connection is active and your Spur API token is valid.
- Your subscription has remaining Context API usage.
- The Logic App run completed successfully.
Open Run history and inspect any failed action for its error response.
The enrichment heading contains a spelling error
Some earlier versions of the playbook contain a spelling error in the enrichment heading.
- Open the deployed Logic App and select Code view.
- Locate the misspelled enrichment heading and correct it to Enrichment.
- Save the workflow.
This only changes the wording displayed in the enrichment output.
Contact Spur Support
If the connection or enrichment action continues to fail, contact Spur Support with:
- The name of the failed Azure resource or Logic App action
- The error shown in Deployment details or Run history
- The Azure region used for the deployment
- Whether the custom connector deployed successfully
- Whether both connections appear active
- Whether the playbook succeeds when run manually
- Whether you configured an automation rule
Do not include your Spur API token when contacting support.
Related
- Context API Overview
- Context API Integrations
- Spur Microsoft Sentinel solution — View in Microsoft Marketplace
- Spur solution files — Microsoft Azure-Sentinel repository