Add User to Group "The object already exists" Error Message

florian29
Tera Contributor

Hello we use the integration hub Microsoft AD Spoke to add users to an AD group.
The mid-server can communicate with the Active Directory server. However, we constantly receive an error message when the flow activity has been executed.
But the given user is not yet in the AD group.

The object already exists. (Exception of HRESULT: 0x80071392)
HRESULT: [-2147019886]

Stack trace:
Windows error code: 80071392

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

Is this answered?

If my answer solved your issue, please mark my answer as Correct & 👍Helpful based on the Impact.

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

6 REPLIES 6

Ct111
Giga Sage

I hope you are doing steps correctly.

Please, refer the below link once 

https://community.servicenow.com/community?id=community_article&sys_id=156c226ddb6caf008e7c2926ca961...

 

Mark my ANSWER as CORRECT and HELPFUL if it helps

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

that error comes typically when you are trying to do below

1) add same user to same group again

2) you are trying to add user to group but user not yet created in AD; it might be taking time to reflect

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hey, thanks for your answer.

But I tested it with several users who are listed in AD and not yet in the specific group.

Can there be other reasons?

Hi,

that were the 2 checks which I could think of as I had encountered in past

Are you creating user in AD and then immediately adding them to group

Does the group and the user belong to same Domain?

Does the user credentials for AD have right to add user to group?

https://social.technet.microsoft.com/Forums/en-US/f6ee7c77-e43d-42f9-8d5a-0abcce176a8d/the-error-ret...

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader