windows-itpro-docs/windows/client-management/mdm/policy-csp-appruntime.md

4.3 KiB

title, description, author, manager, ms.author, ms.date, ms.localizationpriority, ms.prod, ms.technology, ms.topic
title description author manager ms.author ms.date ms.localizationpriority ms.prod ms.technology ms.topic
AppRuntime Policy CSP Learn more about the AppRuntime Area in Policy CSP vinaypamnani-msft aaroncz vinpa 12/12/2022 medium windows-client itpro-manage reference

Policy CSP - AppRuntime

Tip

Some of 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.

AllowMicrosoftAccountsToBeOptional

Scope Editions Applicable OS
✔️ Device
User
Home
✔️ Pro
✔️ Enterprise
✔️ Education
✔️ Windows SE
✔️ Windows 10, version 1803 [10.0.17134] and later
./Device/Vendor/MSFT/Policy/Config/AppRuntime/AllowMicrosoftAccountsToBeOptional

This policy setting lets you control whether Microsoft accounts are optional for Windows Store apps that require an account to sign in. This policy only affects Windows Store apps that support it.

If you enable this policy setting, Windows Store apps that typically require a Microsoft account to sign in will allow users to sign in with an enterprise account instead.

If you disable or do not configure this policy setting, users will need to sign in with a Microsoft account.

Description framework properties:

Property name Property value
Format chr (string)
Access Type Add, Delete, Get, Replace

Tip

This is an ADMX-backed policy and requires SyncML format for configuration. For details, see Understanding ADMX-backed policies.

ADMX mapping:

Name Value
Name AppxRuntimeMicrosoftAccountsOptional
Friendly Name Allow Microsoft accounts to be optional
Location Computer Configuration
Path Windows Components > App runtime
Registry Key Name Software\Microsoft\Windows\CurrentVersion\Policies\System
Registry Value Name MSAOptional
ADMX File Name AppXRuntime.admx

Policy configuration service provider