Create a Device Configuration Profile
Navigate to > endpoint.microsoft.com
Create new custom policy
Add OMA-URI Settings (Create User)
Create New User Using OMA-URI Settings
OMA-URI
./Device/Vendor/MSFT/Accounts/Users/localadmin/Password
Add another OMU-URI (Add user to Admin Group)
Add localadmin User to Administrator Group
OMA-URI
./Device/Vendor/MSFT/Accounts/Users/localadmin/LocalUserGroup
Select a Device Group
User Created & Added to Administrator Group
How do you stop this erroring even if it is run correctly?
Each setting status for these settings comes back as Error and error code -2016281112
Then it tries to rerun the next time you logon.
The error code -2016281112 is a Remediation Failed error message in Intune 1. This issue occurs because, in certain scenarios, the response that is sent by the Windows 10 client includes XML that is formatted differently than the XML that is sent through the Intune policy 1. You can safely ignore this error because the connection works as expected.
https://learn.microsoft.com/en-us/troubleshoot/mem/intune/device-configuration/device-configuration-profile-reports-error-2016281112
Hi,
This doc is needs to be updated, menu changes in Intune.