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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2019 09:21 AM
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
- Labels:
-
flow designer
-
Orchestration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2019 11:06 PM
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
Mark my ANSWER as CORRECT and also HELPFUL if it helped.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2019 07:58 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2025 04:02 AM
Hi Mike
Good day.
I'm also facing the same issue. Have you figured out the root cause of this issue?
Regards,
Siva