Error Code Portal
MicrosoftWindows Win32Error code

8506

ERROR_DS_CANT_MOD_PRIMARYGROUPID

Alternative forms: 0x0000213A · 0x213A · ERROR_DS_CANT_MOD_PRIMARYGROUPID · 0x8007213A

Code 8506 · An issue reported by Windows Win32.

Cannot change the primary group ID of a domain controller account.

Troubleshooting and diagnostic links

First check that the document's product, version, and environment match your situation.