TF259644:Team Foundation Server could not verify the domain controller configuration of this machine. OS failure code: 0x{0:X}. ...

TF259644:Team Foundation Server could not verify the domain controller configuration of this machine. OS failure code: 0x{0:X}. For proper functioning, confirm that Active Directory and DNS roles are enabled and the machine is configured as the primary domain controller of a new forest. Pause and start the environment to verify that the issue has been resolved.