Getting an error “An internal error occurred HRESULT: [-2146233087]”
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2020 08:10 PM
Hi All,
We are adding users to an AG Group by using PowerShell Activity and getting the error message as “An internal error occurred HRESULT: [-2146233087]”.
It is working properly when both user and group are in the same domain but when the user is indifferent domain, error occur.
Please share your inputs.
Thank in Advance,
Imran Basha M.
- Labels:
-
Orchestration (ITOM)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2020 11:18 PM
Hello Imran,
It is difficult to advise without looking at your powershell activity.
One of the best option is to check if the user is in same domain before calling your powershell script code. That way, you can avoid the error.
Kindly mark the comment as a correct answer and helpful if it helps to solve your problem.
Regards,
Asif
2020 ServiceNow Community MVP

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2020 02:06 AM
Hi,
What about the user used for this integration. What rights this user has?
I see the user is not allowed to right to other domain group.
Thanks,
Ashutosh