Connecting your first ContraForce workspace: what happens and who does what
Connecting a workspace means an admin in that Microsoft tenant consents to ContraForce's enterprise applications: two core consents, then one per Microsoft module, of which only Microsoft Sentinel needs an Azure subscription role. Once it's live, check incidents, the Workbench and Gamebook actions without touching production.
ContraForce platform · Explainer · 7 min read ·
Who this is for
Anyone connecting a Microsoft tenant to ContraForce for the first time: an internal security team connecting its own organization, or a service provider bringing on a first customer together with that customer's admin.
You'll learn
- What connecting a workspace grants, and what it never sets up
- Who has to approve it in Microsoft Entra ID and Azure, in your own tenant or a customer's
- What changes when Microsoft Sentinel is one of the modules
- How to tell the workspace is live, and what to check without touching production
Connecting a workspace is mostly approvals in Microsoft: an admin in the Microsoft Entra ID tenant approves a few ContraForce applications, the modules you picked start reading from Microsoft Defender XDR, Microsoft Sentinel or another supported tool, and incidents start to arrive.
The ContraForce docs cover each step. What takes planning is knowing who has to approve what, so the right people are in the session.
What happens when a workspace connects?
A workspace is how ContraForce holds one tenant, with its own data, modules, settings and user access. Connecting one happens in four parts:
- Core consent. The first time anyone from the tenant signs in, an admin approves two ContraForce applications, ContraForce API and ContraForce Portal, in two separate Microsoft consent prompts. It happens once: after that, the rest of the team signs in normally.
- Module consent. Each Microsoft module gets its own consent, in any order, and each module's application asks only for what that module does. Reading Microsoft Defender for Endpoint data, isolating a device and disabling a user each run through a different application.
- Sentinel deployment, only if Microsoft Sentinel is one of the modules. Consenting it makes ContraForce deploy a small set of supporting resources in the Azure subscription. More on that below.
- Incident sync. ContraForce syncs the incidents that exist in each connected source. If the source has none, neither does your queue, so check the source before you suspect the connection.
Non-Microsoft modules, such as CrowdStrike Falcon and SentinelOne, don't use a Microsoft consent. You create API credentials in that tool and enter them on the workspace's Modules tab. The Onboarding Overview for MSPs and Customers links the setup page for each module.
No partner relationship to set up
ContraForce doesn't use Azure Lighthouse or GDAP. Access to each tenant runs through the ContraForce enterprise applications its admin consents to in Microsoft Entra ID, each scoped to one job. The tenant's admins can review and revoke those permissions in the Microsoft Entra admin center, as they can for any enterprise application.
Is it different for your own organization than for a customer?
The mechanics are the same. What changes is who starts it and whose tenant the consents land in.
| Step | Your own organization | A customer's tenant |
|---|---|---|
| Who starts it | You sign up at portal.contraforce.com with Register with Microsoft, or with the sign-up link your ContraForce account team sends, then create the workspace for your organization. | You pre-onboard the customer's workspace with their Microsoft Entra tenant ID and pre-select their modules. Their admin gets an invite link. |
| Who consents | An admin in your own tenant. | An admin in the customer's tenant, starting from the invite link. Plan the session with them. |
| How you know it worked | Your detection sources show as connected, and incidents start to arrive. | The status light on the customer's workspace card turns green, and you get a notification in the portal. |
Who has to approve what?
There are three kinds of approval, and in many organizations they belong to different people. Find out who holds each role before you book the session.
- The two core consents: a Global Administrator, Privileged Role Administrator, Application Administrator or Cloud Application Administrator in the tenant.
- Security modules, such as Microsoft Defender for Endpoint and the Microsoft response modules: a Global Administrator or Privileged Role Administrator. These modules request application (app-only) Microsoft Graph permissions, which let an application act without a signed-in user, and Microsoft Entra ID doesn't let Application Administrators or Cloud Application Administrators grant those.
- Microsoft Sentinel: the ContraForce workspace role Owner and, on the Azure subscription, Owner, or Contributor with User Access Administrator or Role Based Access Control Administrator. A Global Administrator or Privileged Role Administrator is needed only to consent the Sentinel Hunting add-on.
The Microsoft Entra roles are needed for the one-time consent only, and ContraForce doesn't need anyone to keep them. If your tenant is licensed for Privileged Identity Management (PIM), activate the role just in time for the session and deactivate it afterwards.
Microsoft's consent prompts open in pop-up windows, so have the admin allow pop-ups for portal.contraforce.com before the session.
Get both admins in the same session
If the Microsoft Entra admin and the Azure subscription admin are different people, invite both: the Sentinel deployment fails without the subscription role.
What changes when Microsoft Sentinel is one of the modules?
Sentinel adds Sentinel incidents, the workspace's Content Management System (CMS) for its analytics rules, email notifications and log search. It's also the only module that deploys anything. Consenting it makes ContraForce create the supporting Azure resources in the subscription automatically, so there's no separate Azure deployment step:
- An Apollo resource group that holds the streaming resources.
- A Logic App and an automation rule that forward Sentinel incidents to ContraForce as they are created or updated.
- Azure role assignments of Microsoft Sentinel Contributor and Reader on the Sentinel resource group, held by the ContraForce API enterprise application.
Those role assignments are why the subscription role matters. Contributor can create resources but can't assign Azure roles. Owner, User Access Administrator and Role Based Access Control Administrator can.
Plan for two more things. An Azure Policy that blocks resource creation in the subscription stops the deployment, and standard Azure charges may apply for the Logic App runs.
The Sentinel Hunting add-on is separate. It lets ContraForce query the Sentinel workspace's Log Analytics data on behalf of the signed-in user, for incident evidence and threat hunting, and it's the one part of Sentinel that needs a Global Administrator or Privileged Role Administrator.
How do you know the workspace is live?
There's no completion screen. For a customer, watch for the status light on their workspace card in the Workspace Center to turn green, and for a notification in the portal when they finish. Workspace Center: Manage Customer Workspaces explains what each status light means.
For your own organization, check that each module you connected shows as connected, then look for incidents.
Connected doesn't mean verified yet. Before you call the workspace done, look at four things:
- Incidents arrive from each source. Allow time for the first sync.
- An incident opens in the Workbench with its entity context and timeline.
- Gamebook response actions appear on the incident's entities. Look at them; don't run them.
- For Sentinel, the module shows Real-time forwarding active, the workspace's CMS loads its analytics rules, and log search works.
Look, don't click
Don't test response actions on production entities. Gamebook actions such as Isolate Device or Disable User execute immediately. To watch a response run end to end, simulate it: a simulated run goes through planning, policies and approvals, but nothing changes in your environment. Or use a test account or device.
You can simulate a single Gamebook from an incident, or switch a demo or training workspace to Simulation mode so every Gamebook in it is simulated. Don't use Simulation mode on a workspace you're protecting: while it's on, nothing is isolated, disabled or blocked. See Gamebook Simulation in the ContraForce docs.
For the full go-live check, and what to do when a check fails, use the Workspace Onboarding Verification Checklist.
What comes after go-live?
Assign your team to the workspace through organization-level groups rather than individual users, so every workspace you add later is set up the same way.
Then decide who approves Gamebooks. The workspace setting Allow service providers to run gamebooks is off by default, and while it's off, every Gamebook a Security Delivery Agent submits waits for approval. In a customer workspace, so do your team's. Approvers must hold the Workspace Owner role, so agree on who approves before the first real incident.
For a customer, close the loop: tell them they're live, write down any permission exceptions you agreed, and book a check-in within the first week to review incident volume and rule tuning. For your own organization, hold the same review with your team.
When more customers follow, you don't have to set each one up by hand: Onboarding Workspaces at Scale covers importing up to 200 customer workspaces at a time from a CSV file and applying a Workspace Profile so they arrive already configured.
Recap
- Connecting a workspace is app consent, with no Azure Lighthouse or GDAP relationship to set up: an admin in the tenant approves ContraForce's enterprise applications, two core consents once and then one per Microsoft module.
- Line up the approvers first. Security modules need a Global Administrator or Privileged Role Administrator. Microsoft Sentinel needs the ContraForce workspace role Owner and, on the subscription, Owner, or Contributor with User Access Administrator or Role Based Access Control Administrator; only its Sentinel Hunting add-on needs a Global Administrator or Privileged Role Administrator.
- Connected isn't verified. Check incidents, the Workbench and Gamebook actions by looking, and use Gamebook Simulation or a test account to see a response run, never a production user or device.
Go deeper on contraforce.com
Sources
- Microsoft Learn, Grant tenant-wide admin consent to an application
- Microsoft Learn, Overview of permissions and consent in the Microsoft identity platform
- Microsoft Learn, Review permissions granted to enterprise applications
- Microsoft Learn, What is Privileged Identity Management?
- Microsoft Learn, Azure built-in roles
- ContraForce Docs, Onboarding Overview for MSPs and Customers
- ContraForce Docs, MSP and MSSP Platform Onboarding
- ContraForce Docs, Customer Workspace Onboarding
- ContraForce Docs, Onboarding Admin Roles and App Permissions
- ContraForce Docs, Microsoft Sentinel Module Deployment
- ContraForce Docs, Azure Resources Deployed for Sentinel and Agents
- ContraForce Docs, CrowdStrike Falcon Detection and Response Modules
- ContraForce Docs, SentinelOne Detection and Response Modules
- ContraForce Docs, Workspace Center: Manage Customer Workspaces
- ContraForce Docs, Workspace Onboarding Verification Checklist
- ContraForce Docs, What Are Gamebooks? No-Code Incident Response
- ContraForce Docs, Gamebook Simulation: Run With No Side Effects
Reviewed by the ContraForce team · Published · Updated
Next up
Step 2 of 3 · Get started with ContraForce
Rolling out Security Delivery Agents safely: a phased plan
Roll out Security Delivery Agents in phases: start on Manual, move the severities you trust On Queue, and let agent Gamebooks run without approval last.
ContraForce platform · Checklist
Read · 9 min
Put this lesson to work.
The ContraForce docs have every step, role and setting this lesson describes. Sign in to the portal when you're ready to do it.