Information
This policy setting prevents users from adding new Microsoft accounts on this computer.
The recommended state for this setting is: Blocked:.
The value of Enabled (users can't add Microsoft accounts) or Users can't add or log on with Microsoft accounts is considered compliant for this recommendation when using a Custom Profile.
Rationale:
Organizations that want to effectively implement identity management policies and maintain firm control of what accounts are used to log onto their computers will probably want to block Microsoft accounts. Organizations may also need to block Microsoft accounts in order to meet the requirements of compliance standards that apply to their information systems.
Impact:
Users will not be able to log onto the computer with their Microsoft account.
Solution
To establish the recommended configuration, set the following Device Configuration Policy to Blocked:
To access the Device Configuration Policy from the Intune Home page:
Click Devices
Click Configuration profiles
Click Create profile
Select the platform (Windows 10 and later)
Select the profile (Endpoint protection)
Click Create
Enter a Name
Click Next
Configure the following Setting
Path: Endpoint protection/Local device security options/Accounts
Setting Name: Add new Microsoft accounts
Configuration: Block
Select OK
Continue through the Wizard to complete the creation of the profile (profile assignments, applicability etc.)
Note: More than one configuration setting from each of the Configuration profiles (ex: Administrative Templates, Custom etc.) can be added to each Device Configuration Policy.
Note #2: This setting can also be created via a Custom Configuration Profile using the following OMA-URI:
Name: <Enter name>
Description: <Enter Description>
OMA-URI: ./Device/Vendor/MSFT/Policy/Config/LocalPoliciesSecurityOptions/Accounts_BlockMicrosoftAccounts
Data type: Integer
Value: 1 or 3
Select OK
Continue through the Wizard to complete the creation of the profile (profile assignments, applicability etc.)
Default Value:
Users are able to use Microsoft accounts with Windows.