We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Getting Server "Unable to contact the server" in Microsoft active directory V2 spoke

Not applicable

HI Team,

I am getting below error in flow designer when I am using "add user in group" action of Microsoft active Directory V2 spoke. Credentials are correct as I am able to login to server where mid is installed via same credentials and can see the powershell script as well.

Response Body
"body": "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.",
"status": "Error"

getting the above error when I am trying "is user in group" as well. When I run AD service as well on server then get "Server instance not found on the given port".

Let me know if you need more details, I can send you.

 

Thanks,

Vidit 

#ADV2spoke

2 REPLIES 2

BhupeshG
Tera Guru

any solution found for this?

 

Not applicable

yes, a temporary workaround. Below are the steps:


1. Go to your server where mid is installed. 
2. Look for Powershell script which you want to run. 
3. Open the powershell script in notepad and add #before the credential part. 
4. Save the file. 
 With this change, system is bypassing the credential and was working for me. 

Thanks,

Vidit