# Tenant settings

Octiga documentation > Tenants > Tenant settings
URL: https://docs.octiga.io/tenants/tenant-settings/

> Check a tenant's details, choose whether Octiga can remediate it automatically, turn on auto-block for every user, or remove the tenant from Octiga.

Scope: Tenant · Role: L1 Read to view · L2 Support to act

Tenant settings holds one tenant's details and the settings that apply to the whole tenant: whether Octiga can remediate it automatically, auto-block for every user, and removing the tenant from Octiga. It opens as a side sheet over the page you're on, so you keep your place.

## Opening Tenant settings

The tenant's menu has a **Tenant settings** item. You can open the menu in two ways:

- Right-click the tenant's name wherever it appears, such as the Tenants list, a breadcrumb or an alert.
- Open the tenant's menu (⋮) on its card or row in the Tenants list.

On the tenant's dashboard, select the cog beside the title instead.

When automatic remediation is off for the tenant, the **Auto** switches it locks on the tenant's Baselines page also link here.

## The Tenant settings sheet

*Screenshot: Tenant settings for one tenant: its details, the Allow auto-remediation switch and Auto-block, with Remove tenant behind the ⋮ menu.*

1. Tenant name
2. ⋮ menu — Remove tenant
3. Domain, with a count of the tenant's other verified domains
4. Status
5. Tenant ID — select it to copy
6. Allow auto-remediation switch
7. Turn on for all users

| Area                   | What it shows                                                                                                                                                                                                 |
| ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Domain                 | The tenant's default domain. A count such as **+2** means it has other verified domains; hover it to list them.                                                                                               |
| Status                 | The tenant's connection status, as its card on the Tenants list shows it, such as **Connected** or **Issues detected**. Hover it to see whether Octiga is collecting the tenant's Microsoft 365 audit events. |
| Tenant ID              | The tenant's Microsoft Entra tenant ID, shortened in the middle when it's long. Hover it to see the whole ID, or select it to copy.                                                                           |
| Activated              | The date the tenant was added to Octiga.                                                                                                                                                                      |
| Allow auto-remediation | Whether Octiga can remediate the tenant automatically.                                                                                                                                                        |
| Auto-block             | Turns auto-block on for every user in the tenant.                                                                                                                                                             |

If a setting can't be read, its block shows **Couldn't load** with **Retry** in place of the control.

## Allow auto-remediation

This switch decides whether Octiga can remediate the tenant automatically. A deviation is fixed automatically only when this switch is on and the baseline's own **Auto** switch is on too; in a user-level baseline's form, that switch is **Auto-remediation**. [Remediation](https://docs.octiga.io/baselines/remediation/) covers how remediation runs, and how to fix a deviation yourself whatever these are set to.

- **On** — Octiga remediates a baseline automatically when it becomes Deviated, as long as the baseline's own switch is on. A baseline that's already Deviated when you turn this on isn't fixed automatically; remediate it yourself.
- **Off** — Octiga doesn't remediate anything on this tenant automatically, whatever a baseline's own switch says. On the tenant's Baselines page, the **Org-level** tab's **Auto** switches on baselines that don't come from a scheme are locked with the message **Needs Allow auto-remediation on in Tenant settings**, and an **Open Tenant settings** link brings you back here.

Turning the switch on asks first: select **Allow** in the **Allow auto-remediation?** dialog. Turning it off takes effect straight away.

The switch saves as soon as you change it. The sheet's header shows **Saving…**, then **Saved**. If the change doesn't go through, the header shows **Failed** and the switch moves back; hover **Failed** to see why.

## Auto-block

Auto-block is Octiga's automatic lockout. When it's on for a user, Octiga blocks their sign-in as soon as it raises a **Critical** or **Danger** alert on a sign-in by that user. [User remedies](https://docs.octiga.io/tenants/user-remedies/) covers what a lockout does and how to undo one.

**Turn on for all users** turns auto-block on for each user in the tenant, as if you'd turned it on for each of them in [User management](https://docs.octiga.io/tenants/user-management/).

1. Select **Turn on for all users**.
2. Octiga asks **Turn on auto-block for N users?**, where N is the number of users it would change. Select **Turn on**.

A notification says how many users it turned auto-block on for. If some couldn't be changed, it says how many; if none could, it reads **Could not change auto-block**. Once every user has it on, the link reads **On for all users** and can't be selected. If someone joins the tenant later, the link offers **Turn on for all users** again.

There's no way to turn auto-block off for everyone from here. To turn it off, change it for one user or for a selection of users in [User management](https://docs.octiga.io/tenants/user-management/).

> **Caution:** A lockout needs no one's approval, so let the tenant's users know before you turn auto-block on for all of them.

## Remove tenant

Removing a tenant takes it out of Octiga: Octiga stops managing it and gives up its access to Microsoft 365.

1. In Tenant settings, open the ⋮ menu and select **Remove tenant**.
2. Type the tenant's name under **Type the tenant name to confirm**. Capitals and extra spaces don't matter, but the whole name has to match.
3. Select **Remove tenant**.

*Screenshot: The Remove tenant dialog. Remove tenant stays unavailable until the name you type matches the tenant's.*

1. The tenant you're removing
2. Type the tenant name to confirm
3. Remove tenant

When the removal is done, a notification confirms it, and if you were on any page inside a tenant, Octiga takes you to the Tenants list. If the removal doesn't go through, the dialog stays open and shows **Couldn't remove the tenant**. The tenant is still connected, so you can try again.

> **Danger:** Removing a tenant deletes what Octiga holds for it, including its baselines, deviations, report schedules and reports, and removes Octiga's application from the tenant in Microsoft 365. It can't be undone. To manage the tenant again, connect it as you would a new one; see [Connect a tenant](https://docs.octiga.io/start-here/connect-a-tenant/).

## Actions

| Action                                | What it does                                                | Minimum role |
| ------------------------------------- | ----------------------------------------------------------- | ------------ |
| View the tenant's details             | Shows its domain, status, tenant ID and activation date     | L1 Read      |
| Copy the tenant ID                    | Copies the whole ID                                         | L1 Read      |
| Turn Allow auto-remediation on or off | Lets Octiga remediate the tenant automatically, or stops it | L2 Support   |
| Turn on for all users                 | Turns auto-block on for every user in the tenant            | L2 Support   |
| Remove tenant                         | Removes the tenant from Octiga                              | L2 Support   |

> **Note:** With L1 Read/Write, you see the **Allow auto-remediation** switch, **Turn on for all users** and **Remove tenant**, but each is disabled with the message **Needs an L2 or Admin role**. With L1 Read, the sheet shows the tenant's details only.
