---
title: MicrosoftAccountPolicy enum | Wartiva GraphQL API
description: Controls the level of restriction for Microsoft account usage on Windows. Wartiva GraphQL API reference with arguments, fields, and examples.
url: https://wartiva.com/api-docs/types/microsoft-account-policy.html
updated: 2026-10-07
---

Endpoint configuration · GraphQL enum

# `MicrosoftAccountPolicy` enum

Controls the level of restriction for Microsoft account usage on Windows.

## Values

| Enum Value | Description |
|---|---|
| `DISABLED` | No restriction on Microsoft account usage. |
| `USERS_CANT_ADD_MICROSOFT_ACCOUNTS` | Users cannot add Microsoft accounts. |
| `USERS_CANT_ADD_OR_LOGON_WITH_MICROSOFT_ACCOUNTS` | Users cannot add or log on with Microsoft accounts. |

## Used by

- [`LocalAccountPolicy`](https://wartiva.com/api-docs/types/local-account-policy.html) type: LocalAccountPolicy defines the policies for local user accounts on a Windows Endpoint.

## Example

### Example

```json
"DISABLED"

```

---

Wartiva is in early access. Request access: https://wartiva.com/early-access.html  
All pages: https://wartiva.com/llms.txt
