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

# Account restrictions

> Control which accounts employees can add or change, the creation of new users, and the guest account on macOS, Windows and Android.

The Account restrictions control decides which accounts employees can add to their device. Stop them from adding or changing accounts, creating new users on a Mac, or signing in with a personal Microsoft account on Windows.

## Platform compatibility

| macOS | Windows | Linux | iOS / iPadOS | Android |
| - | - | - | - | - |
| ✅ | ✅ | | | ✅ |

Requires macOS 15 or later, and Android 14 or later.

## Set up the control

**1. Add a configuration**

Go to **MDM** > **Controls** and open **Account restrictions**. Select the platform tab, then click **Add configuration**.

**2. Configure the settings**

Set each setting you want to enforce. See the settings below. Configure at least one setting.

**3. Select targeting**

Choose which devices to apply the configuration to: all devices on that platform, specific device groups, or a custom target. Click **Activate** to deploy the configuration. **Save** keeps it inactive.

A setting left empty or on **Not configured** isn't written: the device keeps its own setting.

## Settings

> [tab] macOS
>
> | Section | Setting | Options |
> | - | - | - |
> | **Accounts** | **Adding or changing accounts** | **Allowed**, **Blocked** |
> | | **Adding users** | **Allowed**, **Blocked** |
> | **Guest account** | **Guest account** | **Enabled**, **Disabled** |
>
> * **Adding or changing accounts** covers the accounts employees add in **System Settings**, such as their Apple Account or internet accounts.
> * **Adding users** covers the creation of new users on the Mac.

> [tab] Windows
>
> Under **Microsoft accounts**:
>
> | Setting | Options |
> | - | - |
> | **Microsoft accounts** | **Allowed**, **Users can't add Microsoft accounts**, **Users can't add or sign in with Microsoft accounts** |
> | **Microsoft account for services** | **Allowed**, **Blocked** |
> | **Optional Microsoft account in apps** | **Allowed**, **Blocked** |
> | **Adding other email accounts** | **Allowed**, **Blocked** |
>
> **Optional Microsoft account in apps** set to **Allowed** lets the apps that support it be used with an account other than a Microsoft account.

> [tab] Android
>
> Under **Accounts**:
>
> * **Adding or changing accounts**: **Allowed** or **Blocked**.
> * **Account types the user can't manage**: up to 20 account types, such as `com.google`. The employee can't add or remove accounts of these types.
>
> On an Android phone enrolled with a work profile, the settings apply to the work profile.

## How it works

> [tab] macOS
>
> Primo deploys a configuration profile with a restrictions payload for accounts and users, and an accounts payload for the guest account.

> [tab] Windows
>
> Primo applies the settings through Windows policies for the whole device.
>
> When you remove the configuration, Windows puts these account settings back to their Windows defaults, not to the values the device had before. The **Microsoft accounts** setting can stay in place.

> [tab] Android
>
> Primo adds the settings to the device's Android Management API policy.

## Modify or remove the control

Open the control from **MDM > Controls** to edit, deactivate or replace a configuration.

## Related articles

* [Controls overview](https://docs.getprimo.com/mdm/policies/overview.md)
* [Password and screenlock](https://docs.getprimo.com/mdm/policies/password-policy.md)


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