Skip to main content

Microsoft Sentinel Data Exploration

Microsoft hosts the data exploration collection at https://sentinel.microsoft.com/mcp/data-exploration over streamable HTTP. People sign in with Microsoft Entra. Willow needs a Microsoft Entra app registration: paste its client ID and secret. It is the Microsoft Sentinel Data Exploration card with the Official badge.

Microsoft marks this collection as a prerelease. The same Entra app steps are in Use the Microsoft Sentinel MCP connector in ChatGPT or Claude. Use Willow's callback from the Setup tab on that app.

Before you start​

  • A Microsoft Sentinel data lake. Graph queries also need the data lake onboarded to the Defender portal, and at least read-only access in Microsoft Security Exposure Management. Querying a graph uses the Microsoft Sentinel graph meter.
  • An account with the Security Administrator, Security Operator, or Security Reader role. Entity analysis also needs Security Copilot Contributor. That analysis uses Security Compute Units. Security Copilot Owner is only for viewing that usage.
  • Permission to create an app registration, and a tenant administrator who can grant consent. Microsoft lists tenant-level administrative privileges for this registration.

Add the Official card in Willow first so you can copy the redirect URI from the server Setup tab.

Set up Microsoft Entra​

  1. In the Microsoft Entra admin center, go to App registrations and select New registration.
  2. Enter a name. Under Redirect URI, choose Web and paste the URL from Willow. Copy the exact URL from the Setup tab:
    • SaaS: https://{org}.withwillow.ai/{org}/api/auth/callback
    • On-prem: {CONNECT_URL}/{org}/api/auth/callback
  3. Select Register.
  4. Go to Manage → API permissions → Add a permission → APIs my organization uses. Search for Sentinel Platform Services. Add SentinelPlatform.DelegatedAccess. Select Grant admin consent. A tenant administrator may have to complete that step.
  5. Go to Manage → Certificates & secrets and select New client secret. Set a description and an expiration, then select Add. Copy the secret value. Entra shows it only once. Copy the Application (client) ID from the app overview.

Before the client secret expires, create a new one and paste it into Willow.

Set up Willow​

  1. Go to MCP Servers → + Add MCP server, open the Microsoft Sentinel Data Exploration card with the Official badge, and click + Use.
  2. Setup says Willow couldn't register itself with Microsoft Sentinel Data Exploration and shows the redirect URL. Copy that URL into the app registration above.
  3. Keep OAuth sign-in. Paste the Client ID and Client secret.
  4. Open Advanced settings and set Scopes to 4500ebfb-89b6-4b14-a480-7f749797bfcd/.default. The server advertises that scope. For a client you entered yourself, Willow requests only the scopes in that list. An empty list sends no scope.
  5. Click Check connection and sign in with an account that has one of the roles above. Assign groups and Publish.

Troubleshooting​

Sentinel Platform Services does not appear​

Cause: The tenant is not enabled for the Sentinel MCP server yet, so the Sentinel Platform Services enterprise application is missing.

Solution: Confirm the tenant is onboarded to the Microsoft Sentinel data lake. Sign in once from Visual Studio Code to https://sentinel.microsoft.com/mcp/data-exploration. Microsoft says that sign-in creates the service principal. Search for Sentinel Platform Services again, add SentinelPlatform.DelegatedAccess, and grant admin consent. If the API is still missing, contact Microsoft Support.

Sign-in is rejected​

Cause: The Web redirect URI does not match Willow, the client secret is missing or expired, consent was not granted, or Scopes is empty.

Solution: Copy the redirect URI from the Setup tab again and add it as a Web redirect URI. Paste the current client secret. Set Scopes to 4500ebfb-89b6-4b14-a480-7f749797bfcd/.default. Select Grant admin consent on the app registration.

Additional Resources​