- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-25-2017 01:16 PM
Having some trouble with the "Create AD Object" activity in the workflow editor. In testing, using the provided Create AD Object entry that you provide test inputs to, I have no problem creating a group.
When the activity is added to a workflow and it comes time to execute that activity, it errors out. Using the same test inputs that worked with that activity, it tells me that an invalid directory pathname was passed.
For example, for the test input activity, and the one that is placed in the workflow, my inputs look like:
DomainController - example.com
Type - group
OU - OU=Groups,OU=ABC
Object name - name=testGroup
Object data - {"displayName" : "testGroup"}
In the powershell code that correlates to this activity, I put some logging that spits out the parent path and everything just to be sure, and they both show up as LDAP://example.com/OU=Groups,OU=ABC,DC=example,DC=com before it gets to the part of creating the group. That is when it error out with the pathname error that I mentioned. For anybody using it (or anybody that is in the know) if you have run into this, is there something wrong that I am doing that you can tell? Not sure why the test activity would work with no issue, and the activity placed in the workflow would bomb with the exact same inputs provided.
Solved! Go to Solution.
- Labels:
-
Orchestration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-26-2017 06:18 AM
Ok, user error on my part. The name=<groupName> part should've just been then group name for the activity in the workflow. Changed the "object name field in the activity in the workflow to be just the actual group name (now subbed with ${workflow.scracthpad.groupName}).
I thought I had put it like that earlier and got an error saying object data needs to be in 'name=value' format. Either way, hope it helps somebody else in the future
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-26-2017 06:18 AM
Ok, user error on my part. The name=<groupName> part should've just been then group name for the activity in the workflow. Changed the "object name field in the activity in the workflow to be just the actual group name (now subbed with ${workflow.scracthpad.groupName}).
I thought I had put it like that earlier and got an error saying object data needs to be in 'name=value' format. Either way, hope it helps somebody else in the future