windows-itpro-docs/windows/client-management/mdm/policy-csp-admx-msapolicy.md
2022-08-10 18:08:08 -04:00

3.1 KiB

title, description, ms.author, ms.localizationpriority, ms.topic, ms.prod, ms.technology, author, ms.date, ms.reviewer, manager
title description ms.author ms.localizationpriority ms.topic ms.prod ms.technology author ms.date ms.reviewer manager
Policy CSP - ADMX_MSAPolicy Learn about Policy CSP - ADMX_MSAPolicy. vinpa medium article w10 windows vinaypamnani-msft 09/14/2020 aaroncz

Policy CSP - ADMX_MSAPolicy

Tip

These are ADMX-backed policies and require a special SyncML format to enable or disable. For details, see Understanding ADMX-backed policies.

You must specify the data type in the SyncML as <Format>chr</Format>. For an example SyncML, refer to Enabling a policy.

The payload of the SyncML must be XML-encoded; for this XML encoding, there are a variety of online encoders that you can use. To avoid encoding the payload, you can use CDATA if your MDM supports it. For more information, see CDATA Sections.


ADMX_MSAPolicy policies

ADMX_MSAPolicy/IncludeMicrosoftAccount_DisableUserAuthCmdLine

ADMX_MSAPolicy/MicrosoftAccount_DisableUserAuth

Edition Windows 10 Windows 11
Home No No
Pro Yes Yes
Windows SE No Yes
Business Yes Yes
Enterprise Yes Yes
Education Yes Yes

Scope:

[!div class = "checklist"]

  • Device

This policy setting controls whether users can provide Microsoft accounts for authentication, applications or services. If this setting is enabled, all applications and services on the device are prevented from using Microsoft accounts for authentication.

This functionality applies both to existing users of a device and new users who may be added. However, any application or service that has already authenticated a user won't be affected by enabling this setting until the authentication cache expires.

It's recommended to enable this setting before any user signs in to a device to prevent cached tokens from being present. If this setting is disabled or not configured, applications and services can use Microsoft accounts for authentication.

By default, this setting is Disabled. This setting doesn't affect whether users can sign in to devices by using Microsoft accounts, or the ability for users to provide Microsoft accounts via the browser for authentication with web-based applications.

ADMX Info:

  • GP Friendly name: Block all consumer Microsoft account user authentication
  • GP name: MicrosoftAccount_DisableUserAuth
  • GP path: Windows Components\Microsoft account
  • GP ADMX file name: MSAPolicy.admx

ADMX-backed policies in Policy CSP