We have following server details:
Server: CN=HQITSA01,OU=Domain Controllers,DC=example,DC=net
We don't have username and password.
Our Code:
PrincipalContext principalContext = new PrincipalContext(ContextType.Domain, "example.net");
We have tried above code to connect but it throwing error: The server could not be contacted.