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

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:

  1. 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.
  2. 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.
  3. 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.
  4. 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.

StepYour own organizationA customer's tenant
Who starts itYou 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 consentsAn 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 workedYour 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 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:

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:

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

Go deeper on contraforce.com

Sources

  1. Microsoft Learn, Grant tenant-wide admin consent to an application
  2. Microsoft Learn, Overview of permissions and consent in the Microsoft identity platform
  3. Microsoft Learn, Review permissions granted to enterprise applications
  4. Microsoft Learn, What is Privileged Identity Management?
  5. Microsoft Learn, Azure built-in roles
  6. ContraForce Docs, Onboarding Overview for MSPs and Customers
  7. ContraForce Docs, MSP and MSSP Platform Onboarding
  8. ContraForce Docs, Customer Workspace Onboarding
  9. ContraForce Docs, Onboarding Admin Roles and App Permissions
  10. ContraForce Docs, Microsoft Sentinel Module Deployment
  11. ContraForce Docs, Azure Resources Deployed for Sentinel and Agents
  12. ContraForce Docs, CrowdStrike Falcon Detection and Response Modules
  13. ContraForce Docs, SentinelOne Detection and Response Modules
  14. ContraForce Docs, Workspace Center: Manage Customer Workspaces
  15. ContraForce Docs, Workspace Onboarding Verification Checklist
  16. ContraForce Docs, What Are Gamebooks? No-Code Incident Response
  17. ContraForce Docs, Gamebook Simulation: Run With No Side Effects

Reviewed by the ContraForce team · Published · Updated

Next up

All lessons

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.

Open the docs Sign in to the ContraForce portal