OOB "Add User to Group" AD activity - error msg "Exception from HRESULT: 0x80005000"

TylerTeter
Kilo Guru

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.

Add User to Group AD activity

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

find_real_file.png

1 ACCEPTED SOLUTION

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


View solution in original post

10 REPLIES 10

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