
- 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
‎03-27-2017 05:29 AM
Hi Jayshree,
Sorry for the late reply!
Can you confirm you checked everything Komal mentioned and also check to make sure your Credential is a local admin on whatever your target machine is?
Let me know if either of those fix your issue!
Tyler