[midPoint] Merge Users and Unique Property Value

Brad Firestone bhotrock at gmail.com
Fri Oct 12 21:23:42 CEST 2018


Both Users already exist in midPoint.  They were imported at different 
times from different systems.  I'm sure there was a better way to do it 
in the beginning, but right now I just need to figure out how to use the 
Merge function if possible.
Brad

Pálos Gustáv wrote on 10/12/18 12:44 PM:
> if you have 2x the same e-mail, why you try to user manual object 
> merge instead of creating correlation rule over email and pair it 
> automatically when you do import users to MP?
>
> Best regards,
>
> Gustav
>
> pi 12. 10. 2018 o 19:24 Brad Firestone <bhotrock at gmail.com 
> <mailto:bhotrock at gmail.com>> napísal(a):
>
>     Thanks Gustav,
>
>     I was just guessing that the Merge process was creating a new
>     user.  I'm probably wrong about that.
>     Currently user 1 has email address of user1 at example.com
>     <mailto:user1 at example.com> User 2 has email address:
>     user1 at test.example.com <mailto:user1 at test.example.com>
>     My merge item for email is:
>
>        <item>
>              <ref>emailAddress<ref>
>              <left>ignore</left>
>              <right>take</right>
>        </item>
>
>     When I try to select merge for User2 (left), and then select User1
>     in the next window (right),  I receive the error about email
>     address user1 at example.com <mailto:user1 at example.com> is not unique
>     and already in use.
>
>     Do I maybe need to reverse things?
>     Thanks!
>     Brad
>
>     Pálos Gustáv wrote on 10/12/18 12:11 PM:
>>     Hi Brad,
>>
>>     if you have user1 and user2, why you need to create user3 and
>>     delete user1&2?
>>     If you merge user 1 to user2, user2 has some required
>>     attributes/assignments from user1 and user1 is deleted.
>>
>>     Best regards.
>>
>>     Gustav
>>
>>     pi 12. 10. 2018 o 18:03 Brad Firestone <brad at globalnaz.org
>>     <mailto:brad at globalnaz.org>> napísal(a):
>>
>>         Hi all,
>>
>>         As part of my migration from different systems into midPoint,
>>         I have
>>         about 100 Users that are duplicated.  I want to use the Merge
>>         function
>>         to resolve this.  I think I have the merge configuration setup
>>         correctly, but I'm getting an error.
>>
>>         My User Template is configured so that email addresses must
>>         be unique.
>>         When I try to merge, I get a PolicyViolationException that
>>         the Email
>>         address X is already used as primary address.  I'm guessing
>>         that the
>>         Merge operation is actually building a new User with
>>         information from
>>         the two existing Users, and would probably remove the two
>>         existing Users
>>         after the Merge is completed.  But it can't create this new
>>         User because
>>         of the uniqueness requirement.
>>
>>         Is there something I can do in the Merge configuration to
>>         overcome this,
>>         or do I need to disable the policy in the User Template while
>>         I'm
>>         merging Users?
>>
>>         Thanks for any ideas!
>>         Brad
>>         _______________________________________________
>>         midPoint mailing list
>>         midPoint at lists.evolveum.com <mailto:midPoint at lists.evolveum.com>
>>         http://lists.evolveum.com/mailman/listinfo/midpoint
>>
>>
>>
>>     -- 
>>     Gustáv Pálos
>>     Identity Engineer
>>     evolveum.com <http://evolveum.com/>
>>     _______________________________________________
>>     midPoint mailing list
>>     midPoint at lists.evolveum.com <mailto:midPoint at lists.evolveum.com>
>>     http://lists.evolveum.com/mailman/listinfo/midpoint
>
>
>
> -- 
> Gustáv Pálos
> Identity Engineer
> evolveum.com <http://evolveum.com/>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20181012/8aae084b/attachment.htm>


More information about the midPoint mailing list