Getting an error “An internal error occurred HRESULT: [-2146233087]”

imranbasha1
Giga Contributor

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.

2 REPLIES 2

asifnoor
Kilo Patron

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

 
 

Ashutosh Munot1
Kilo Patron
Kilo Patron

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