Looking for examples of Flow Designer calls against the Microsoft AD Spoke

Mike Rae
Kilo Guru

I have a customer asking us to look into automating some of the manual processes they have with Microsoft AD.  Such as adding or removing a user from a group or creating a new AD group.  We have Enterprise Orchestration installed and I am trying to run some basic actions against the Microsoft AD Spoke through FLow Designer.  I am able to connect to AD and the credentials I am using work, but I am getting an 'Invalid Parameter' error when I test the flow.  My test is calling the 'Lookup User' action and I have tried passing in the parameters multiple different ways but I alwys get the same error: 

Invalid parameter Stack Trace: at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode) at System.Management.ManagementPath.CreateWbemPath(String path) at System.Management.ManagementScope..ctor(String path, ConnectionOptions options) at Microsoft.PowerShell.Commands.GetWmiObjectCommand.BeginProcessing()

I cannot find any examples of calls using this spoke.

Thank you,

Mike

3 REPLIES 3

Ct111
Giga Sage

This is somewhat related to Midserver issue. Your credentials dont match under credientials tabs.

 

If you are just looking for examples related to how create a user, update a user, reset password, active user etc..

then refer the below link

https://community.servicenow.com/community?id=community_article&sys_id=0566b807dbdc53002328f3231f961...

 

Mark my ANSWER as CORRECT and also HELPFUL if it helped.

When I originally set the hostname, I was seeing an invalid credentials error message when I tested the flow.  After I added our AD credentials to the ServiceNow credentials I stopped getting the invalid credentials error and started seeing the invalid parameters error.  

Where on the MID Server doi the credentials need to match?

 

Thank you for your help.

J Siva
Tera Sage

Hi Mike
Good day.
I'm also facing the same issue. Have you figured out the root cause of this issue?
Regards,
Siva