# Creating a scheme

Octiga documentation > Baselines > Creating a scheme
URL: https://docs.octiga.io/baselines/creating-a-scheme/

> Create an org-level or user-level scheme, fill it with baselines and their values, and import, duplicate, star or delete schemes.

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

Create a scheme to write down your security standard once, as a set of baselines with the values you want, ready to deploy to as many tenants, groups or users as you look after. You build and maintain schemes on the **Baseline schemes** screen. Changes on a scheme's page save as you make them: renaming it, adding, importing or removing baselines, and switching **Auto**. Baseline values are the exception, saved from each baseline's own editor. What a scheme is, and how org-level and user-level schemes differ, is on [Schemes](https://docs.octiga.io/baselines/schemes/).

Every role can open a scheme and see what it contains. L1 Read/Write sees **New scheme**, **Import**, **+ Baseline** (**+ Add baseline** on a user-level scheme) and the scheme menu's actions disabled, with **Needs an L2 or Admin role** on hover; L1 Read isn't offered them.

## Create the scheme

1. **Open Baseline schemes** from the sidebar.
2. **Select New scheme**, then **Org-level scheme** or **User-level scheme**. An org-level scheme covers whole tenants; a user-level scheme covers Azure groups and individual users. The level can't be changed later.
3. **Name it.** The scheme opens on its own page as **Untitled org scheme** (or **Untitled user scheme**). Select the title, type the name, and it saves a moment after you stop typing: the indicator beside the title shows **Saving…**, then **Saved**.

*Screenshot: The New scheme menu on Baseline schemes.*

1. New scheme
2. Org-level scheme
3. User-level scheme

Scheme names are unique within a level, so a name another org-level (or user-level) scheme already uses doesn't save, and the indicator shows **Failed**. A title can't be left empty: clearing it puts the last name back.

*Screenshot: An org-level scheme with no baselines yet.*

1. Title — select it to rename the scheme
2. Star
3. Scheme menu — Duplicate, Make default, Delete
4. Import — copies baselines from another scheme
5. \+ Baseline — opens the baseline picker

## Add baselines

In an org-level scheme:

1. **Select + Baseline** to open **Select baselines**.
2. **Find what you want.** Search across every category, or pick a category on the left. Conditional Access policies sit in their own category and aren't listed under **All Baselines**. **Service plans** shows how many Microsoft service plans the baseline needs; hover the number for their names.
3. **Tick the baselines and select Add Selected.** Each joins the scheme with its default values and **Auto** off.

*Screenshot: Select baselines, opened from a scheme.*

1. Show added — lists baselines the scheme already has
2. Search
3. Service plans
4. Add Selected

In a user-level scheme, select **+ Add baseline**, tick the baselines in **Add baselines**, then select **Add selected**. Each lands with its default value and its own default automatic-remediation setting.

Baselines the scheme already holds are hidden from the picker until you turn on **Show added**, and deprecated baselines aren't offered. If the scheme is already deployed, a baseline you add reaches every tenant, group and user following it straight away, with no new deploy; a target that isn't licensed for it is skipped.

## Create a custom Conditional Access policy

When none of Octiga's named Conditional Access baselines fits, write your own policy into an org-level scheme. You can hold up to ten custom policies in each scheme.

1. **Select Create a new CAP** at the foot of the **Select baselines** picker. The editor opens on a new policy called **Untitled conditional access policy**, set to **Report-only**.
2. **Name the policy** by selecting its title, then work down the sections: **General settings**, **Assignments**, **Target resources**, **Network**, **Conditions**, **Grant** and **Session**.
3. **Select Save.** The policy joins the scheme on its first save; closing the editor before then adds nothing. If something the policy needs is missing (who it applies to, which resources, a grant or session control, or, with two or more grant controls, a choice under **For multiple controls**), a banner says how many things are left, and **Go to field** takes you to the first one.

*Screenshot: The editor for a new custom policy in a scheme.*

1. Master banner — changes apply to all managed tenants
2. Policy name
3. Sections
4. Save

In a scheme, ticking **Users** or **Groups**, or choosing **Specific organisations**, **Named locations** or **Tenant's custom strength**, leaves that choice to each tenant, and the field shows **Value required at tenant deployment**. When all ten policies are in use, **Create a new CAP** is disabled, and hovering it shows **All 10 policy slots are in use**. Each field is described on [Octiga Generic Conditional Access Policy](https://docs.octiga.io/baselines/conditional-access-policy/cap-generic/).

## Set each baseline's values

In an org-level scheme, select a baseline's row (or **Edit baseline** from its row menu) to open it as the **Master baseline**; a custom policy opens as the **Master CAP**. Change the fields and select **Save**. As the banner in the dialog says, the values apply to every tenant the scheme manages.

The **Auto** column switches automatic remediation for that baseline on every tenant the scheme manages. Turning it on asks you to confirm, because the change reaches all of them; select **Turn on**. It only acts on a tenant whose **Allow auto-remediation** setting is on ([Tenant settings](https://docs.octiga.io/tenants/tenant-settings/)); other tenants are skipped. Turning it off needs no confirmation. [Remediation](https://docs.octiga.io/baselines/remediation/) covers what automatic remediation does.

*Screenshot: Turning on Auto for a baseline in an org-level scheme.*

1. Auto
2. Confirmation — names the baseline
3. Turn on

In a user-level scheme, select a row to open its side sheet. Set the value and the **Auto-remediation** toggle, then select **Save**. The table's **Auto** column switches it too, asking the same question when you turn it on.

*Screenshot: A user-level scheme's baseline, opened in its side sheet.*

1. Value
2. Auto-remediation
3. Remove
4. Save

In an org-level scheme, a row showing **Needs a tenant value** in the **Requires input** column has a field the scheme leaves blank. Hover it to see which; a deploy asks for each tenant's own value instead ([Deploying a scheme](https://docs.octiga.io/baselines/deploying-a-scheme/)).

## Import baselines from another scheme

Import copies baselines, with their values and **Auto** settings, from another scheme of the same level into this one.

1. **Select Import** on the scheme's page.
2. **Choose the source scheme.** Only schemes of the same level are listed; one with no baselines shows **No baselines** and can't be chosen.
3. **Choose the baselines to import.** Everything that can be imported starts ticked; untick what you don't want. A baseline already in this scheme shows **Already in this scheme**: importing only adds baselines and never replaces a value you've set.
4. **Review and select Import.** The summary shows the source, how many baselines, and the scheme they go into.

*Screenshot: Step 2 of Import, choosing the baselines to bring in.*

1. Steps — Source, Baselines, Confirm
2. Count of baselines being imported
3. Configured — the source carries its own value
4. Already in this scheme
5. Next

If the scheme is already deployed, imported baselines reach every tenant, group and user following it, as with **+ Baseline**.

## Remove a baseline from a scheme

Open the row menu and select **Remove** (in a user-level scheme, **Remove baseline**, or **Remove** in the baseline's side sheet), then confirm.

When an org-level scheme manages tenants, a **Remove baseline?** dialog asks what happens to their copies:

- **Keep and unlink** — each tenant keeps the baseline as an independent copy, no longer tied to the scheme.
- **Delete baselines** — the baseline is removed from the tenants, and Octiga stops checking it there.

Choose one and select **Proceed**.

## Duplicate a scheme

Select **Duplicate** from the scheme's menu on its page, or from its row menu on **Baseline schemes**. The copy is called "Copy of" followed by the scheme's name, carries the same baselines, values and **Auto** settings, and isn't deployed anywhere. From a scheme's page the copy opens; from the list it's highlighted where it lands.

To customise a system scheme, duplicate it: its baselines are read-only, but the copy is yours to edit. The system scheme banner has its own **Duplicate** button.

The same menus hold **Make default**, covered on [Schemes](https://docs.octiga.io/baselines/schemes/).

## Delete a scheme

Select **Delete** from the scheme's menu on its page, or from its row menu on **Baseline schemes**. System schemes can't be deleted. What happens next depends on whether the scheme is deployed:

- **Not deployed anywhere** — confirm **Do you want to delete this scheme?** with **Delete**.
- **An org-level scheme managing tenants** — **Delete scheme?** names the tenants and asks what happens to their baselines: **Keep and unlink** leaves each tenant an independent copy, **Delete baselines** removes them. Choose one and select **Proceed**.
- **A user-level scheme deployed to groups or users** — **Delete this scheme?** says how many groups and users it's deployed to. **Delete scheme** detaches them all: groups keep their current baselines, and users go back to what their groups give them. **Keep scheme** leaves everything as it is.

*Screenshot: Deleting an org-level scheme that manages tenants.*

1. The tenants the scheme manages
2. Keep and unlink
3. Delete baselines
4. Proceed

> **Caution:** **Delete baselines** removes the scheme's baselines from every tenant it manages, so Octiga stops checking those settings there. Microsoft 365 itself isn't changed.

## Star a scheme

Select the star beside a scheme's title to keep it in **Starred**, the panel the star in the sidebar opens. Select it again to take the scheme off. You can star the **Baseline schemes** screen itself the same way.

## Check it worked

Back on **Baseline schemes**, the scheme is listed under **Org-level** or **User-level**, with its **Baselines** count and when it was last modified. Nothing changes on a tenant until you deploy it: [Deploying a scheme](https://docs.octiga.io/baselines/deploying-a-scheme/) walks through that.

## If it didn't

- **"Your role can view baseline schemes but not change them."** Creating and editing schemes needs L2 Support or Admin; see [Roles and permissions](https://docs.octiga.io/start-here/roles-and-permissions/).
- **A baseline you want isn't in the picker.** It may already be in the scheme (turn on **Show added**), it may be a Conditional Access policy (choose that category, since **All Baselines** leaves them out), or it may be deprecated.
- **The indicator beside the title shows Failed.** Hover it for the reason. If another scheme of the same level already has that name, choose a different one.
