Understanding Enterprise Applications
Before ContraForce can protect your organization, specific Microsoft Entra ID permissions must be granted to enable secure communication between ContraForce services and your Microsoft environment. This article explains the enterprise applications deployed during onboarding and the permissions each requires.Getting Started
ContraForce Portal: portal.contraforce.com
Required Roles for Onboarding
To complete the ContraForce onboarding process and consent to the required enterprise applications, the following roles must be assigned to the user performing the onboarding:Overview of ContraForce Enterprise Applications
ContraForce uses a modular application architecture designed around the principle of least privilege. Rather than requesting all permissions through a single application, ContraForce distributes responsibilities across purpose-built enterprise applications. This approach ensures that each application only receives the permissions necessary for its specific function. When you onboard with ContraForce, the following enterprise applications are registered in your Microsoft Entra tenant:Onboarding Consent Flow
Initial Registration
- Navigate to portal.contraforce.com
- Click Register with Microsoft
- Sign in with your Microsoft Work account (must have the Global Administrator role to grant admin consent for the service principals; Subscription Owner also needed for Sentinel and Agent Center)
- Consent to the ContraForce API permissions
- Consent to the ContraForce Portal permissions
Additional Permissions
After initial onboarding, additional enterprise application permissions can be configured from Settings → Permissions within the ContraForce portal based on the features your organization requires.Enterprise Application Details
ContraForce API
The ContraForce API is the core service principal that enables communication between ContraForce services and Microsoft APIs including Microsoft Graph and Azure Resource Manager.View ContraForce API Permissions
View ContraForce API Permissions
ContraForce Portal
The ContraForce Portal service principal handles user authentication through Microsoft’s OpenID Connect implementation and retrieves basic profile information for signed-in users.View ContraForce Portal Permissions
View ContraForce Portal Permissions
ContraForce Sentinel Hunting
This service principal enables direct queries to your Microsoft Sentinel workspace for incident investigation and advanced hunting capabilities.View ContraForce Sentinel Hunting Permissions
View ContraForce Sentinel Hunting Permissions
ContraForce for MDE
This service principal provides visibility into Microsoft Defender for Endpoint data, enabling endpoint monitoring and threat intelligence display in the ContraForce portal.View ContraForce for MDE Permissions
View ContraForce for MDE Permissions
ContraForce Gamebooks for Identity
This service principal enables automated response actions targeting user entities, including session invalidation, account lockout, and password reset capabilities.View ContraForce Gamebooks for Identity Permissions
View ContraForce Gamebooks for Identity Permissions
Delegated Permissions (on-behalf-of flows)
Application Permissions (Default)
Application permissions allow ContraForce to execute Gamebook actions without requiring a service provider user to be signed in. Password reset runs on-behalf-of (delegated) by default; enabling the optional service-provider password reset add-on lets it run app-only via a customer-consented permission and an Authentication Administrator directory role. See the Enterprise Applications Reference.
ContraForce Gamebooks for MDE
This service principal enables automated response actions targeting endpoint entities, including device isolation, antivirus scans, and file quarantine operations.View ContraForce Gamebooks for MDE Permissions
View ContraForce Gamebooks for MDE Permissions
Delegated Permissions (on-behalf-of flows)
Application Permissions (Default)
Application permissions enable service providers to execute endpoint response actions in customer tenants without requiring a user to be actively signed in.
Why This Architecture?
ContraForce’s modular application architecture provides several benefits:- Principle of Least Privilege — Each application only requests the permissions necessary for its specific function
- Granular Control — Organizations can enable only the features they need without granting unnecessary permissions
- Reduced Friction — Service providers can onboard customers incrementally based on their security maturity
- Improved Security Posture — Limiting permissions reduces potential attack surface
Managing Permissions
After onboarding, you can review and manage ContraForce enterprise application permissions in two locations:- ContraForce Portal: Navigate to Settings → Permissions to consent to additional service principals
- Microsoft Entra Admin Center: Review enterprise applications and their granted permissions under Enterprise Applications