
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-15-2016 06:51 AM
The out-of-box "Add User to Group" AD activity, results in failure and it's giving an error msg of "Exception from HRESULT: 0x80005000". I've done some research on that error code, and similar ones for this activity and many think it's some kind of credential error. My question is, what kind of access must be configured for this activity to work? I didn't notice the documentation mention any needed additional access.
Active Directory activity pack
There was a similar question asked on - AD orchestration authentication $cred is null but they only answered for the first half, how to do it via the PowerShell Activity. I'm hoping to use the OOB activity if possible however.
I'm planning on digging into this and debugging more on my end, but any help would be appreciated!
Thanks,
Tyler
Solved! Go to Solution.
- Labels:
-
Service Mapping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-04-2016 01:54 PM
Thanks Tyler!
After a bit more digging, I found the problem record in HI. Like you, we were on Geneva Patch 7 and this issue was fixed in Patch 8. The workaround was successful for me.
ServiceNow KB: PRB654096: AddUserToADGroup.ps1 PowerShell script is missing a parameter (KB0563575)
Thanks again for the help and pointing me in the right direction!
- Justin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-15-2016 08:15 PM
Tyler,
What version of ServiceNow are you on? I believe there was an issue in this activity in Geneva.
Ben

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2016 05:50 AM
Ben,
We're currently running Geneva Patch 7. Do you know which version fixes this issue? Is there a change log on this that goes into further detail on the fix?
Thanks,
Tyler
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-23-2016 12:20 PM
Tyler,
Did you ever figure this out? I'm on Geneva as well and just encountered this error.
- Justin

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-30-2016 12:20 PM
Justin,
I went ahead and just used my own homemade PowerShell script and put it into a Run PowerShell activity. It ended up worked better actually because I had more flexibility for various AD Checks (inactive, elevated user/group, etc). I also needed to be able to check against users in multiple domains, which this activity doesn't support also.
In short I never got this activity to work however.
Thanks,
Tyler