Anyone know what this error means?
Port 9389 and port 5986 is open (tried test-netconnection from the server from where the ansible command is being run from to destination server its reporting below) :
The full traceback is:
Unable to contact the server. This may be because this server does not exist, it is currently down, or it does not have the Active Directory Web Services running.
At line:51 char:19
- $members_before = Get-AdGroupMember -Identity $name @extra_args
-
- CategoryInfo : ResourceUnavailable: (SystemGroup_DemoInsA_Prod:ADGroup) [Get-ADGroupMember], ADServerDownException
- FullyQualifiedErrorId : ActiveDirectoryServer:0,Microsoft.ActiveDirectory.Management.Commands.GetADGroupMember
ScriptStackTrace:
at , : line 51
Microsoft.ActiveDirectory.Management.ADServerDownException: Unable to contact the server. This may be because this server does not exist, it is currently down, or it does not have the Active Directory Web Services running. —> System.ServiceModel.EndpointNotFoundException: Could not connect to net.tcp://xxxxx:9389/ActiveDirectoryWebServices/Windows/Resource. The connection attempt lasted for a time span of 00:00:21.0279753. TCP error code 10060: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 10.115.1.242:9389. —> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 10.115.1.242:9389
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
— End of inner exception stack trace —