> ## Documentation Index
> Fetch the complete documentation index at: https://docs.contraforce.com/llms.txt
> Use this file to discover all available pages before exploring further.

# User Management: Add Users and Groups

> Add users from Microsoft Entra ID, organize them into groups, assign workspace roles in each workspace's IAM tab, and change or remove a user's access.

ContraForce provides flexible user management with role-based access control. Add users from your Microsoft Entra ID directory, assign organizational and workspace roles, and control exactly what each team member can access.

> [!NOTE]
>
> ContraForce integrates with Microsoft Entra ID (formerly Azure AD) to pull user identities. Users must exist in Microsoft Entra ID before they can be added to ContraForce.

## How Users, Roles, and Groups Fit Together

> [card] Organizational Roles
>
> Control who can manage users, groups, and workspace settings across your organization

> [card] Workspace Roles
>
> Define what users can do within specific customer workspaces

***

## User Roles at a Glance

ContraForce uses a two-tier role system: **Organizational Roles** control administrative access, while **Workspace Roles** control operational access.

### Workspace Roles Quick Reference

| Role | View Incidents | Work Incidents | Run Gamebooks | Configure Modules | Manage Workspace Users |
| - | :-: | :-: | :-: | :-: | :-: |
| **Owner** | ✓ | ✓ | ✓ | ✓ | ✓ |
| **Content Admin** | ✓ | ✓ | Request approval | Add modules only | — |
| **Incident Responder** | ✓ | ✓ | ✓ | — | — |
| **Incident Analyst** | ✓ | ✓ | Request approval | — | — |
| **Workspace Reader** | ✓ | — | — | — | — |

> [card] [Complete Role Reference](https://docs.contraforce.com/guides/general-support/roles-and-permissions-reference.md)
>
> View detailed permissions for all organizational and workspace roles

***

## When to Add Users

Adding users is **not** part of module onboarding. First, sign in at [portal.contraforce.com](https://portal.contraforce.com), grant the core ContraForce app consents, and deploy your modules. Once your organization is set up, add and manage users at any time from **Settings**.

> [!TIP]
>
> Add at least one Org Admin early. This ensures you always have full access to manage users, groups, and workspaces.

***

## Adding and Managing Users

You add and manage users through the **Settings** page. User and group management is handled entirely within the ContraForce portal — no separate enterprise application consent is required.

### Step 1: Access User Management

**1. Open Settings**

Click **Settings** in the navigation menu

**2. Select User Management**

Click the **User Management** tab

**3. View Current Users**

The user list displays all users with access to ContraForce

![Settings, User Management tab](https://mintcdn.com/contraforce/pIE5AEAm59CXnImm/images/user-management-settings-tab.png?fit=max\&auto=format\&n=pIE5AEAm59CXnImm\&q=85\&s=e183fd1d61184944f0be7d1ae84125ec)

### Step 2: Add New Users

**1. Click Add User**

Click the **Add User** button in the top right corner

**2. Search for User**

Search for the user by name or email in the Microsoft Entra ID directory

**3. Select User**

Click the user to select them

**4. Choose the Organization Role**

New users start as **Member**. Only an Org Admin can choose a higher role. Give workspace access afterwards from each workspace's **IAM** tab or through a group.

**5. Save**

Click **Add** to complete the process

![Invite people to the organization dialog](https://mintcdn.com/contraforce/pIE5AEAm59CXnImm/images/user-management-invite-users.png?fit=max\&auto=format\&n=pIE5AEAm59CXnImm\&q=85\&s=cfc9360fdef3e1fddd6b48f975df8f3d)

> [!NOTE]
>
> The **Add User** button appears for Org Admins and User Admins. A User Admin can add new users as **Member** only; adding someone with a higher role, or changing an existing user, needs an Org Admin.

***

## Understanding Role Types

### Organizational Roles

Organizational roles control administrative functions across your organization:

| Role | Add Members | Change Roles | Manage Groups | Add Workspaces | Manage Workspace Access | API Keys |
| - | :-: | :-: | :-: | :-: | :-: | :-: |
| **Org Admin** | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| **User Admin** | ✓ | — | ✓ | — | — | — |
| **Workspace Admin** | — | — | — | ✓ | ✓ | — |
| **Agent Admin** | — | — | — | — | — | — |
| **Content Admin / Content Operator** | — | — | — | — | — | — |
| **Member** | — | — | — | — | — | — |

Agent Admins run the AI agents, and the content roles work in the Content Management Center. See the [roles reference](https://docs.contraforce.com/guides/general-support/roles-and-permissions-reference.md) for every role's full permissions.

### Workspace Roles

Workspace roles control what users can do within specific customer workspaces:

> [tab] Owner
>
> **Full control of the workspace**
>
> * Work incidents and run Gamebooks
> * Configure modules, data connectors, notifications and policies
> * Manage the workspace's users, groups and Gamebook approvers
>
> *Best for: Team leads, senior analysts, workspace owners*

> [tab] Content Admin
>
> **Detection content focus**
>
> * Work incidents; request approval to run Gamebooks
> * Create, edit, enable and deploy analytic rules
> * Add modules and refresh environments
>
> *Best for: Detection engineers*

> [tab] Incident Responder
>
> **Operational access for active response**
>
> * Work incidents (status, assignment, comments, tickets)
> * Run Gamebooks and response actions
> * Cannot configure modules or manage users
>
> *Best for: SOC analysts who need to take action*

> [tab] Incident Analyst
>
> **Investigation and triage**
>
> * Work incidents (status, assignment, comments, tickets)
> * Request approval to run Gamebooks
> * Cannot configure the workspace
>
> *Best for: Tier 1 analysts who triage and escalate*

> [tab] Workspace Reader
>
> **Read-only access**
>
> * View incidents, rules and settings
> * Cannot change anything
>
> *Best for: Stakeholders and account managers*

***

## User Groups

Simplify access management by organizing users into groups.

### Benefits of Groups

> [card] Bulk Assignment
>
> Assign workspace access to multiple users at once

> [card] Easier Management
>
> Update group membership instead of individual users

> [card] Consistent Access
>
> Ensure team members have the same permissions

### Recommended Default Groups

Setting up default groups during initial configuration saves time and ensures consistent access patterns.

#### Suggested Partner Groups

| Group Name | Description | Suggested Workspace Role |
| :- | :- | :- |
| SOC Tier 1 | Front-line analysts handling initial triage | Incident Analyst |
| SOC Tier 2 | Senior analysts with response capabilities | Incident Responder |
| SOC Managers | Team leads overseeing operations | Owner |
| Detection Engineers | Staff tuning analytic rules | Content Admin |
| Account Managers | Customer relationship managers | Workspace Reader |

### Creating Groups

Groups are managed on the **Group Management** tab under **Settings**.

![Settings, Group Management tab with the Add Group button](https://mintcdn.com/contraforce/pIE5AEAm59CXnImm/images/settings-group-management-tab.png?fit=max\&auto=format\&n=pIE5AEAm59CXnImm\&q=85\&s=263f5cf78399611af3af205237274e25)

**1. Navigate to Group Management**

Go to **Settings** > **Group Management**

**2. Create New Group**

Click **Add Group** and enter a name

**3. Add Members**

Search for and add users to the group. Members get the group's workspace roles, so adding people to a group that is assigned to workspaces needs an Org Admin, or an Owner of every workspace the group is assigned to.

**4. Assign to Workspaces**

Assign the group to workspaces with appropriate roles

***

## Assigning Users to Workspaces

Users need workspace assignments to access customer data.

### Individual Assignment

1. Open the workspace settings
2. Navigate to **Users** or **Access**
3. Click **Add User**
4. Select the user and assign a workspace role
5. Save changes

### Group Assignment

1. Open the workspace settings
2. Navigate to **Groups** or **Access**
3. Click **Add Group**
4. Select the group and assign a workspace role
5. All group members inherit access

> [!TIP]
>
> Use groups for teams that need access to the same set of workspaces. This makes onboarding new team members faster—just add them to the appropriate group.

***

## Managing Existing Users

### Viewing User Details

Click any user in the User Management list to view:

* Assigned organizational role
* Workspace assignments and roles
* Group memberships
* Last login time

### Editing User Roles

**1. Organization role**

In **Settings → User Management**, pick the new role in the user's **Organizational Role** column. Only Org Admins can change organization roles; for everyone else the column is read-only.

**2. Workspace role**

Open the workspace's **IAM** tab and change the user's or group's role. Workspace Owners, Org Admins and Workspace Admins can do this.

> [!NOTE]
>
> An organization always keeps at least one working Org Admin: the last one cannot be demoted. Roles of users provisioned from Microsoft Entra ID through [SCIM provisioning](https://docs.contraforce.com/guides/technical/scim-provisioning.md) come from their Entra groups and cannot be changed in the portal.

### Removing Users

**1. Select User**

Click the user you want to remove

**2. Click Remove**

Click the **Remove User** or **Delete** button

**3. Confirm**

Confirm the removal when prompted

> [!WARNING]
>
> Removing a user revokes all their access to ContraForce immediately. This action cannot be undone—you'll need to re-add the user if you want to restore access.

***

## Best Practices

> [accordion] Follow the principle of least privilege
>
> Assign the minimum role necessary for each user's job function. Start with Incident Analyst or Workspace Reader and escalate to Responder or Owner only when needed.

> [accordion] Use groups for team-based access
>
> Create groups that mirror your team structure (e.g., "Tier 1 Analysts", "Senior Responders"). This simplifies access management as team members change.

> [accordion] Audit user access regularly
>
> Review user assignments quarterly to ensure former team members have been removed and current roles are still appropriate.

> [accordion] Document role assignments
>
> Maintain records of who has access to which workspaces and why. This helps with compliance audits and access reviews.

> [accordion] Separate admin duties
>
> Don't give everyone Org Admin or Owner access. Keep role changes and API keys with a few Org Admins, and use User Admins for day-to-day user management.

***

## Troubleshooting

### Common Issues

| Issue | Possible Cause | Solution |
| - | - | - |
| **Can't see Add User button** | Missing User Admin or Org Admin role | Contact your administrator for elevated permissions |
| **User not found in dropdown** | User doesn't exist in Microsoft Entra ID | Verify user exists in Microsoft Entra ID |
| **Consent flow fails** | Insufficient admin privileges | Admin consent for ContraForce enterprise applications requires a **Global Administrator** account |
| **User can't access workspace** | No workspace assignment | Assign user directly or via group to the workspace |
| **User has wrong permissions** | Incorrect role assignment | Edit user and assign correct workspace role |
| **"Only an organization Admin can…"** | Your organization role can't make this change | Ask an Org Admin. User Admins can add and remove Members, but not remove other roles, change roles or give access |
| **Role column is read-only** | You are not an Org Admin, or the user is provisioned through SCIM | Ask an Org Admin, or change the user's Entra groups |

***

## Related Guides

> [card] [User Roles Reference](https://docs.contraforce.com/guides/general-support/roles-and-permissions-reference.md)
>
> Complete permissions for all roles

> [card] [Workspace Center](https://docs.contraforce.com/guides/getting-started/workspace-manager.md)
>
> Manage workspace settings

> [card] [Enterprise Applications](https://docs.contraforce.com/guides/technical/enterprise-applications.md)
>
> Service principals and consent

> [card] [Multi-Tenant Features](https://docs.contraforce.com/guides/getting-started/multi-tenant-features.md)
>
> Managing multiple customers

***

> [!NOTE]
>
> Questions about user management? Contact us at [support@contraforce.com](mailto:support@contraforce.com).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.