Microsoft Sentinel incident automation with Shuffle

Connecting Shuffle to Microsoft Sentinel so playbooks can pull and update incidents, with the Entra ID app, workspace values, admin consent and API version set up correctly.

On this page

How Shuffle reads and updates Sentinel incidents

Security teams that run Microsoft Sentinel as their SIEM usually want Shuffle playbooks to pull incidents from the workspace and write status changes or comments back into them. The supported method is the Shuffle Microsoft Sentinel app authenticating with an Entra ID app registration, so the connection starts with that registration rather than with a Sentinel setting. The app needs six values: the tenant ID, the client ID, a client secret, the subscription ID, the resource group name and the workspace name. Each one must match the Azure location where the Sentinel workspace actually lives, so collect them from the workspace itself and confirm the resource group and workspace names with the team that owns Sentinel before building anything. The app may also require admin consent in the tenant, which means someone with the right directory role must approve the permissions the registration requests. Plan that approval step early, because it is often the slowest part of the setup in a large tenant. This page covers the connection between Shuffle and Sentinel, not Sentinel detection engineering, analytics rule design or incident triage policy.

Every request the app makes carries an api-version query parameter, and the app uses 2021-10-01 by default. Treat that version as part of the integration contract: if your workflows depend on specific response fields, test them against the version the app sends and record it in your change documentation. Confirm with the Shuffle Microsoft Sentinel app documentation whether a different version can be selected in your release before you change any default. The client secret also has an expiry date set in Entra ID. When it lapses, every playbook that reads or updates incidents fails at the authentication step, so assign an owner, record the expiry date and schedule rotation. Store the secret as a credential in Shuffle, where it is encrypted in OpenSearch, and keep the SHUFFLE_ENCRYPTION_MODIFIER value backed up separately, since losing it breaks every saved app authentication. Finally, grant the registration only the Sentinel permissions your playbooks need to read and update incidents, and verify those permissions in a test workspace before you point production workflows at it.

What you need before connecting Shuffle to Sentinel

Five groups of prerequisites decide whether the Sentinel app connects on the first try. They span the Shuffle deployment that hosts the app, the Azure scope that holds the workspace, the Entra ID rights to register an app and consent to it, the network path from the runtime, and the Sentinel role the identity holds. Check each one before you touch the app configuration.

Shuffle version and host

Confirm which Shuffle release runs the app and where the Orborus runtime that executes it sits. Current releases are the supported baseline, and versions older than v2.1.1 are no longer supported, so an older install should be upgraded before you add the Sentinel app. The runtime host must be able to reach Azure, not only the Shuffle frontend. Confirm the app version and its api-version behavior against the Shuffle Microsoft Sentinel app docs for your release.

Shuffle configuration docs

Subscription and resource group

The Sentinel workspace lives inside an Azure subscription and a resource group, and the app asks for both alongside the workspace name. Record the exact subscription ID, resource group name and workspace name from the Azure portal, and confirm the workspace is in the tenant you plan to register the app in. Mismatched names are a common cause of failed first calls, so copy the values rather than retyping them.

Entra ID app registration rights

Someone with rights to register applications in the Entra ID tenant must create the app, generate a client secret, and record the tenant ID and client ID. Ask your identity team whether application registration is restricted to administrators in your tenant. The secret has an expiry you must plan for, and whoever owns it should be named in your runbook before go-live.

Admin consent for the app

The Shuffle Sentinel app may require admin consent for the permissions it requests. Only a user with the right directory role can grant that consent, so confirm early who that is and how long your approval process takes. Record which permissions are requested and why each one is needed, because reviewers will ask for that justification. Confirm the exact consent requirement against the Shuffle Microsoft Sentinel app docs.

Sentinel app docs

Network path to Azure management

The Shuffle runtime makes outbound HTTPS calls to Azure identity and management endpoints. Check that egress from the Orborus host is allowed through any proxy or firewall, and that DNS resolves the Azure hostnames. An air-gapped or tightly filtered network will block the app even when credentials are correct. Test egress from the runtime host itself, since the frontend host may have different routes.

Sentinel role for the app identity

The app identity needs an Azure role on the workspace that allows it to read incidents and, if you plan to update them, to change incident status, owner or comments. Map the minimum role to the actions your playbooks use, and keep it scoped to the workspace or resource group rather than the whole subscription. Confirm the exact role names and minimum permissions against the Shuffle Microsoft Sentinel app docs and Azure documentation for your tenant before assigning them.

Configuration sequence for the Sentinel app

This sequence connects a Microsoft Entra ID app registration to the Shuffle Microsoft Sentinel app so that Shuffle can read and update incidents in one workspace. Each step ends with a check you can confirm before moving on. Your Entra ID administrator and your Sentinel workspace owner are usually both needed.

  1. Register the Entra ID application

    In the Microsoft Entra admin center, an administrator registers a new application for Shuffle in the tenant that owns the Sentinel workspace. Record the directory (tenant) ID and the application (client) ID from the overview page. Keep the registration limited to this one purpose so its permissions can be reviewed on their own. Done when the app appears in App registrations and both IDs are copied into your secure notes.

  2. Create and record the client secret

    Under the registration's certificates and secrets settings, create a client secret and copy its value immediately, because Entra ID does not show it again. Record the expiry date in your renewal calendar, since an expired secret stops every Shuffle workflow that uses this app. Confirm the expiry shown matches the period your security policy allows. Done when the secret is stored in your secrets manager and the expiry is written down.

  3. Collect the Azure resource identifiers

    Open the Sentinel workspace in the Azure portal and record the subscription ID, the resource group name and the workspace name exactly as shown. Check that these values belong to the same tenant as the app registration, because a mismatch produces authorization errors that look like permission problems. Done when you have all five values (tenant ID, client ID, subscription ID, resource group and workspace name) recorded together.

  4. Assign the Sentinel role to the application

    In the workspace access control settings, an owner of the Azure resource assigns the registered application a role that can read incidents, such as a Sentinel reader or responder role, scoped to the resource group or workspace only. Avoid subscription-wide roles unless your design needs them. Done when the role assignment lists the application at the workspace scope.

  5. Grant admin consent where required

    If the Shuffle Microsoft Sentinel app requires admin consent for the permissions it requests, a tenant administrator grants consent from the API permissions page of the registration. Confirm the exact permissions with the Shuffle Microsoft Sentinel app documentation before consenting, and keep only the permissions the workflows need. Done when the consent status for each permission shows as granted, with no pending entries.

  6. Create the Shuffle authentication entry

    In Shuffle, open the Microsoft Sentinel app in the workflow editor and create an authentication entry using the tenant ID, client ID, client secret, subscription ID, resource group name and workspace name. Name the entry so that other builders can tell which tenant and workspace it targets. Done when the entry saves without a validation error and appears in the saved authentication list.

  7. Run a test action that reads incidents

    Add a single action to a test workflow that lists incidents in the workspace, leaving the trigger and any update actions out. Run it once and inspect the output. The request sends an api-version query parameter, and the app uses 2021-10-01 by default, so confirm that value in the request details. Done when the incident list returns the incidents you expect from the Sentinel portal, and a failed run is traced to a specific value rather than retried blindly.

Choosing identity and scope for the Sentinel app

When all incidents you automate live in a single Log Analytics workspace owned by one team, one Entra ID app registration is the simplest design. The Shuffle Microsoft Sentinel app authenticates with a tenant ID, client ID, client secret, subscription ID, resource group name and workspace name, so one set of values points the app at one workspace. Every workflow that uses that credential can reach every incident in that workspace, which is acceptable when one team owns the data and the playbooks.

  • Secrets to rotate: one client secret, stored once in Shuffle, rotated on a single schedule.
  • Consent scope: one admin consent decision covers the permissions for the whole workspace.
  • Blast radius: a leaked secret exposes every incident in that workspace and the playbooks that depend on it.
  • Operational simplicity: one set of subscription, resource group and workspace values to document and review.
  • Growth limit: adding a second workspace later means revisiting this design rather than adding a line to an existing setup.

Confirm with your Entra ID administrator which permissions the app requests and whether the workspace's access model in Azure lets the service principal see only the resources you intend.

Mapping Sentinel workspace values to Shuffle app fields

This table maps each value the Shuffle Microsoft Sentinel app asks for to where it comes from in Azure or Entra ID, what it controls in Shuffle, and the incident fields the playbook reads back. Use it while filling in the app authentication form and again when you run your first test call, since field names in the response should be confirmed against that call.

ValueWhere it comes fromWhat it controls in Shuffle
Tenant IDEntra ID directory overview (Directory ID)Identifies the Entra ID tenant that the app token request is issued against
Client IDApp registration overview (Application ID) for the Entra ID appIdentifies the app registration Shuffle authenticates as
Client secretCertificates and secrets blade of the app registration, value shown once at creationCredential Shuffle stores encrypted in OpenSearch; expiry requires rotation in the app and in Shuffle
Subscription IDSubscriptions blade in Azure, under the subscription that holds the workspaceScopes the Sentinel API path that Shuffle calls
Resource group nameResource groups blade, where the Sentinel workspace is deployedScopes the Sentinel API path to the group holding the workspace
Workspace nameLog Analytics or Sentinel workspace resource name in the resource groupSelects which Sentinel workspace incidents are read from and updated in
api-version parameterSet by the Shuffle app; default is 2021-10-01 per the app docsSent on every request as a query parameter; change only after confirming the endpoint supports the version
Admin consent stateAPI permissions blade of the app registrationMust be granted before the token can read or update incidents; confirm status in Entra ID before testing
Incident identifierReturned in the incident response from a test list or get callKey the playbook uses to fetch or update a specific incident
Title, severity, status, ownerIncident properties in the response bodyFields the workflow reads for routing and updates; confirm exact names against a test call

Protecting the Sentinel credentials in Shuffle

The Sentinel app in Shuffle holds a client secret that can read and change incidents in your workspace. The cards below cover where that secret lives, what happens to it if Shuffle's encryption key changes, and how to narrow and monitor what the app identity can do.

Store the client secret in Shuffle's encrypted store

Shuffle encrypts saved app credentials and API keys in its OpenSearch database with AES-256, using the SHUFFLE_ENCRYPTION_MODIFIER secret as the key material. Enter the Entra ID client secret through the app authentication form rather than hard-coding it into workflow steps or Liquid variables, so it is never printed in execution results. Confirm that the stored value is not visible in exported workflow files before you share them.

Configuration docs

Treat the encryption modifier as a critical secret

Losing or changing SHUFFLE_ENCRYPTION_MODIFIER breaks every saved app authentication, including the Sentinel credentials, and the stored secrets cannot be recovered by the app. Keep the value in your secrets manager, back it up alongside the OpenSearch data, and record which value each environment uses. Test a restore in a non-production instance before you rely on the backup.

Scope the app identity to Sentinel roles

The Entra ID app registration should hold only the Azure role on the Sentinel workspace that the playbooks need, for example reading incidents and updating their status, assigned at the workspace scope rather than the subscription or resource group. Review whether the playbooks ever delete or reassign incidents, and remove any role they do not use. Ask your Sentinel admin to confirm the exact role names in your tenant, since role definitions change over time.

Rotate the secret and track its expiry

Entra ID client secrets expire, and an expired secret stops every Sentinel workflow at its first call. Record the expiry date when you create the secret, set an alert in your calendar or monitoring system well before it, and rotate by adding a new secret, updating the Shuffle app authentication, testing a run, then deleting the old secret. Use a separate test workflow to confirm rotation before production runs depend on it.

Restrict who can view and edit app authentication

Anyone who can open a workflow's app authentication or export its configuration may be able to reach the Sentinel credential, so limit edit rights on the Sentinel app authentication to the few engineers who maintain it. Separate the people who build playbooks from those who manage credentials where your team size allows it. Review user roles after staff changes, and confirm with your Shuffle administrator how role-based access is configured in your version.

Log every incident update the workflow makes

Sentinel keeps its own audit trail of changes made through the API, but the record is only useful if you can tie a change to a workflow run. Keep Shuffle execution history for the playbooks that update incidents, and record the workflow name, execution ID and triggering alert in the incident comment or tags. Ask your SOC lead which fields must be attributable for investigations and reviews, and confirm retention periods for both Shuffle and Sentinel logs.

How a Shuffle playbook calls Sentinel

The request starts with a trigger that launches a Shuffle workflow. Orborus picks up the job and starts the Sentinel app container, which requests a token from Entra ID using the app registration. The app then calls the Azure management API for the subscription, resource group and workspace, sending the api-version parameter, and returns incident data to the workflow. Check the trust boundaries: the client secret and token cross from the Shuffle host to Entra ID, and the Azure call leaves your network to reach Azure.

Request path from trigger to Sentinel, with the three trust boundaries.

Common Sentinel connection failures and fixes

This table lists the failures teams most often hit when connecting the Shuffle Microsoft Sentinel app, with the likely cause and the check to run for each. Work down the rows in order, since tenant, consent and secret problems block everything after them. Confirm the api-version in the app configuration before changing anything else.

FailureLikely causeCheck or fix
Authorization fails with consent requiredAdmin consent was never granted for the app registration in the Entra ID tenantAsk a Global Administrator or Privileged Role Administrator to grant admin consent, then confirm the permissions show as granted in the app registration
Authentication fails for the tenantTenant ID belongs to a different directory than the one that owns the Sentinel workspaceCompare the tenant ID in the Shuffle app configuration with the directory shown in the Entra ID overview for the workspace owner
Authentication fails with invalid clientClient ID copied from the wrong app registration, or client secret expired or was pasted incorrectlyConfirm the client ID matches the registration, check the secret expiry date in Certificates and secrets, and create a new secret if needed
Resource not found on workspace callsSubscription ID, resource group name or workspace name does not match the Azure resourceCopy the three values from the workspace resource overview in the Azure portal rather than retyping them, and check for case or spelling differences
Request rejected for unsupported or invalid api-versionThe api-version sent by the app does not match what your configuration or Azure expectsThe app sends api-version 2021-10-01 by default. Confirm the version in the app configuration and keep it aligned with the version you tested
Forbidden on incident or alert operationsThe identity lacks a Microsoft Sentinel role on the workspace, such as one that permits reading and updating incidentsAssign the least-privileged Sentinel role that covers the actions the playbook performs, at the workspace scope, then retest each action
Timeouts or no response from the Azure endpointThe Shuffle runtime container cannot reach Entra ID or Azure Resource Manager endpoints outboundTest outbound HTTPS from the Orborus host and the app container, and review proxy settings and firewall egress rules with your network team

Questions teams ask before connecting Shuffle to Sentinel

How much effort does connecting Shuffle to Microsoft Sentinel take?

The connection itself is a bounded configuration task, but the total effort depends on how many Sentinel workspaces you connect, how many playbooks read or update incidents, and how long your consent process takes. The Shuffle Microsoft Sentinel app needs a tenant ID, client ID, client secret, subscription ID, resource group name and workspace name, so each additional workspace adds a set of values to collect and verify. Each playbook that reads or updates incidents needs its own testing against the workspace. Ask any partner for a written quote that lists workspaces, playbooks, environments and the consent steps separately.

Can an in-house team connect Shuffle to Sentinel without outside help?

Yes, a team with Azure and Shuffle experience can do the connection alone, because the required values and steps are documented in the Shuffle Microsoft Sentinel app documentation. The harder parts are usually organizational: getting an Entra ID app registration approved, obtaining admin consent, and building playbooks that behave correctly when incidents change. Teams with no Shuffle or Sentinel operator on staff often choose outside help for the design, testing and handover. Confirm internally who owns the app registration, the secret and the playbooks after go-live before deciding.

What do Azure and Entra ID administrators need to do?

Entra ID administrators register the application, record the tenant and client IDs, create a client secret, and may need to grant admin consent for the permissions the app requests. Azure administrators confirm the subscription ID, resource group name and workspace name, and make sure the registered identity has the Sentinel role it needs on that workspace. Keep these permissions narrow and limited to the workspace the playbooks use. Confirm the exact roles and consent steps with your own tenant policy and the current app documentation before requesting access.

How long does the Sentinel connection usually take?

Timing depends mainly on approval cycles, not on the Shuffle configuration itself. Entra ID app registration, secret creation, admin consent and workspace access often wait on people outside the security team, so these steps usually set the schedule. Build time then depends on how many playbooks you need and how thoroughly you test them in a non-production workspace. Ask a partner for a timeline in the written scope, and ask your own identity team how long consent requests take in your tenant.

What happens when the Sentinel client secret expires?

When the client secret expires, the Shuffle app can no longer authenticate to Sentinel, so workflows that read or update incidents will fail until a new secret is issued and saved. Plan for this before go-live by recording the expiry date, assigning an owner, and setting a reminder well before it passes. Store the replacement in Shuffle's encrypted credential store, and test that a failed run produces a clear notification. Use the same change process for rotation that you use for other production credentials.

What does DeployOpen's fixed-scope engagement cover for Sentinel?

DeployOpen agrees a fixed scope in writing before work starts, so the deliverables, the Sentinel workspaces covered, the playbooks built and the testing are defined in advance. Typical scope items include reviewing the app registration and permissions, configuring the Shuffle app, building and testing the incident playbooks, and documenting the secret rotation procedure for your team. Ongoing support and upgrades can be arranged as a retainer. DeployOpen does not publish a price list, so request a quote based on your written scope.

Which Shuffle app version and API version should we plan around?

The Shuffle Microsoft Sentinel app always sends an api-version query parameter and uses 2021-10-01 by default. Plan your playbooks and any custom changes against that default, and confirm the value in the app documentation before you change it. Keep your Shuffle server on a supported release, since versions older than v2.1.1 stopped receiving support after January 31, 2026. Test any upgrade in a non-production environment before it reaches production playbooks.

Testing the Sentinel integration before playbooks depend on it

Test the Sentinel connection in isolation before any production playbook calls it, because a failed token or a missing consent grant is far easier to find when no incident depends on the result. Start with a read-only incident pull against a non-production Log Analytics workspace, using the tenant ID, client ID, client secret, subscription ID, resource group name and workspace name you plan to use in production. Confirm that the app returns the incidents you expect and that the request carries the api-version parameter. The Shuffle Microsoft Sentinel app docs state that it uses 2021-10-01 by default, so confirm that value in the app version you actually run rather than assuming it. Record the exact app version and Docker tag used for the test so the result can be compared later.

Next, check consent and token acquisition as separate steps. Confirm that the Entra ID app registration has the permissions the app needs and that an administrator has granted admin consent where the app requires it. Then run a controlled update to a test incident, changing a non-sensitive field such as a comment or status, and verify the change in the Sentinel portal. Also confirm that the Shuffle runtime can reach the Azure login and management endpoints from the host or worker network, since a proxy or firewall rule on the runtime often breaks this path while the backend works fine. Run the same checks from each Orborus node if you run more than one.

Finally, record the client secret expiry date in your change calendar with an owner and a reminder well before it lapses, and add a regression test to your upgrade procedure. Re-run the read-only pull and the test update after every Shuffle upgrade and after any change to the app version, the runtime network or the Entra ID registration, and pin the app version used in production so an unplanned update cannot change behavior under a live playbook. Ask your Shuffle and partner support contacts to confirm which app version and API version any future release uses before you accept it.

How DeployOpen scopes and delivers the Sentinel connection

DeployOpen plans, implements, documents and supports self-hosted open-source platforms inside the client's own infrastructure. For Microsoft Sentinel incident automation with Shuffle, that means agreeing the Entra ID app, Azure scope and Shuffle workflow design in writing before any build starts, then handing over a tested, documented connection your team can run.

How we scope

  • Confirm the Sentinel tenant, subscription, resource group and workspace names that the connection will use.
  • Agree which incident read and update actions the Shuffle workflows need, so the app registration stays narrow.
  • Record in writing who creates the Entra ID app, who grants admin consent and who holds the client secret.

How we build

  • Configure the Shuffle Microsoft Sentinel app with the tenant, client, subscription, resource group and workspace values.
  • Confirm the api-version the app sends, which defaults to 2021-10-01, and check it against your deployment.
  • Test incident pulls and updates in a non-production workspace before any playbook touches live incidents.

How we hand over

  • Deliver written configuration notes covering each value, its owner and where it is stored in Shuffle.
  • Document the admin consent steps and the permissions granted, so your identity team can review them.
  • Provide a rotation plan for the client secret, including the expiry date and the workflow updates it requires.

How we support

  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
  • Ongoing support, upgrades and continuous testing are available as a retainer after handover.
  • Ask any partner for a quote that lists the scope items, the one-time setup work and any recurring support.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.