<div dir="auto"><div>Hi, </div><div dir="auto"><br><div dir="auto">in your sample are only outbound mappings, to import you nees inbound.</div><div dir="auto"><br></div><div dir="auto">Please read the book:</div><div dir="auto"><br></div><a href="https://evolveum.com/midpoint/midpoint-guide-about-practical-identity-management/">https://evolveum.com/midpoint/midpoint-guide-about-practical-identity-management/</a></div><div dir="auto"><br></div><div dir="auto">Best regards</div><div dir="auto"><br></div><div dir="auto">Gustav</div><div dir="auto"><br><div class="gmail_quote" dir="auto"><div dir="ltr">On Fri, 23 Nov 2018, 10:12 Parttimaa Jan <<a href="mailto:jan.parttimaa@myy.haaga-helia.fi" target="_blank" rel="noreferrer">jan.parttimaa@myy.haaga-helia.fi</a> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div id="m_-3799670814020023396m_-5742251600411584629divtagdefaultwrapper" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols" dir="ltr">
<p style="margin-top:0;margin-bottom:0">Hi,</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">We use this <a href="https://github.com/Evolveum/midpoint/blob/master/samples/resources/ad-ldap/ad-ldap-medusa-medium.xml" class="m_-3799670814020023396m_-5742251600411584629OWAAutoLink" id="m_-3799670814020023396m_-5742251600411584629LPlnk551392" rel="noreferrer noreferrer" target="_blank">
example</a> but still, the IdM not import existing users. Is this xml-file example invalid?</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Best Regards,</p>
<p style="margin-top:0;margin-bottom:0">Jan Parttimaa</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<div id="m_-3799670814020023396m_-5742251600411584629Signature">
<div id="m_-3799670814020023396m_-5742251600411584629divtagdefaultwrapper" dir="ltr" style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:12pt;background-color:rgb(255,255,255)">
<p><span style="color:rgb(0,0,0)"><i><span style="font-family:Calibri,Arial,Helvetica,sans-serif">Jan Parttimaa</span></i></span></p>
<span style="font-family:Calibri,Arial,Helvetica,sans-serif"></span><span style="color:rgb(0,0,0)"><i></i></span><span style="font-family:Calibri,Arial,Helvetica,sans-serif"></span>
<p><span style="color:rgb(0,0,0)"><i><span style="font-family:Calibri,Arial,Helvetica,sans-serif">1602738,</span></i></span></p>
<span style="font-family:Calibri,Arial,Helvetica,sans-serif"></span><span style="color:rgb(0,0,0)"><i></i></span><span style="font-family:Calibri,Arial,Helvetica,sans-serif"></span>
<p><span style="color:rgb(0,0,0)"><i><span style="font-family:Calibri,Arial,Helvetica,sans-serif">Tietojenkäsittelyn koulutusohjelma,</span></i></span></p>
<span style="font-family:Calibri,Arial,Helvetica,sans-serif"></span><span style="color:rgb(0,0,0)"><i></i></span><span style="font-family:Calibri,Arial,Helvetica,sans-serif"></span>
<p><span style="color:rgb(0,0,0)"><i><span style="font-family:Calibri,Arial,Helvetica,sans-serif">Haaga-Helia ammattikorkeakoulu</span><span style="font-family:Calibri,Arial,Helvetica,sans-serif"></span><span style="font-family:Calibri,Arial,Helvetica,sans-serif">,
Pasilan kampus</span></i></span></p>
</div>
</div>
<br>
<br>
<div style="color:rgb(0,0,0)">
<hr style="display:inline-block;width:98%">
<div id="m_-3799670814020023396m_-5742251600411584629divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>Lähettäjä:</b> midPoint <<a href="mailto:midpoint-bounces@lists.evolveum.com" rel="noreferrer noreferrer" target="_blank">midpoint-bounces@lists.evolveum.com</a>> käyttäjän Martin Lízner - AMI Praha a.s. <<a href="mailto:martin.lizner@ami.cz" rel="noreferrer noreferrer" target="_blank">martin.lizner@ami.cz</a>> puolesta<br>
<b>Lähetetty:</b> torstai 8. marraskuuta 2018 21.42<br>
<b>Vastaanottaja:</b> midPoint General Discussion<br>
<b>Aihe:</b> Re: [midPoint] MidPoint (3.8) don't import users from Active Directory</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">Nice to hear they teach midPoint at school :-D
<div><br>
</div>
<div>In order to import accounts from the resource, you need to set inbound mappings (at least to focus/name) in your resource schemaHandling section.</div>
<div><br>
</div>
<div><a href="https://wiki.evolveum.com/display/midPoint/Resource+Schema+Handling" id="m_-3799670814020023396m_-5742251600411584629LPlnk983279" class="m_-3799670814020023396m_-5742251600411584629OWAAutoLink" rel="noreferrer noreferrer" target="_blank">https://wiki.evolveum.com/display/midPoint/Resource+Schema+Handling</a><br>
</div>
<div><br>
</div>
<div>E.g.:</div>
<div>
<div><attribute></div>
<div><span style="white-space:pre-wrap"></span><c:ref>ri:USERNAME</c:ref></div>
<div><span style="white-space:pre-wrap"></span><inbound></div>
<div><span style="white-space:pre-wrap"></span><strength>strong</strength></div>
<div><span style="white-space:pre-wrap"></span><target></div>
<div><span style="white-space:pre-wrap"></span><c:path>$focus/name</c:path></div>
<div><span style="white-space:pre-wrap"></span></target></div>
<div><span style="white-space:pre-wrap"></span></inbound></div>
<div><span style="white-space:pre-wrap"></span></attribute></div>
</div>
<div><br>
</div>
<div>M.<br clear="all">
<div>
<div dir="ltr" class="m_-3799670814020023396m_-5742251600411584629x_gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div style="color:rgb(0,0,0);font-family:Arial,sans-serif;font-size:13px">
<p><strong>Martin Lízner</strong><br>
<span style="font-size:11px;color:rgb(128,128,128)">chief solution architect</span></p>
</div>
<p style="color:rgb(0,0,0);font-family:Arial,sans-serif;font-size:11px">gsm: [+420] 737 745 571<br>
e‑mail: <a href="mailto:martin.lizner@ami.cz" id="m_-3799670814020023396m_-5742251600411584629LPlnk605862" class="m_-3799670814020023396m_-5742251600411584629OWAAutoLink" rel="noreferrer noreferrer" target="_blank">martin.lizner@ami.cz</a></p>
<p style="color:rgb(0,0,0);font-family:Arial,sans-serif;font-size:11px"><strong>AMI Praha a.s.</strong><br>
Pláničkova 11, 162 00 Praha 6</p>
<p style="color:rgb(0,0,0);font-family:Arial,sans-serif;font-size:11px">tel.: [+420] 274 783 239 | web: <a href="http://dtp.ami.cz/www.ami.cz" id="m_-3799670814020023396m_-5742251600411584629LPlnk585388" class="m_-3799670814020023396m_-5742251600411584629OWAAutoLink" rel="noreferrer noreferrer" target="_blank">www.ami.cz</a></p>
<p style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:10px;margin-top:20px">
<img alt="AMI Praha a.s." style="border:0px" src="http://www.ami.cz/images/podpis/ami_logo.gif"></p>
<p style="font-family:Arial,sans-serif;font-size:11px;color:rgb(170,170,170)">Textem tohoto e‑mailu podepisující neslibuje uzavřít ani neuzavírá za společnost AMI Praha a.s.<br>
jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít výhradně písemnou formu.<br>
<span style="font-size:6px"> </span><br>
Tento e‑mail je určen výhradně pro potřeby jeho adresáta/ů a může obsahovat důvěrné nebo osobní<br>
informace. Nejste‑li zamýšleným příjemcem, je zakázáno jakékoliv zveřejňování, zprostředkování<br>
nebo jiné použití těchto informací. Pokud jste obdrželi e‑mail neoprávněně, informujte o tom prosím<br>
odesílatele a vymažte neprodleně všechny kopie tohoto e‑mailu včetně všech jeho příloh. Nakládáním<br>
s neoprávněně získanými informacemi se vystavujete riziku právního postihu.</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
</div>
</div>
</div>
</div>
<br>
<div class="m_-3799670814020023396m_-5742251600411584629x_gmail_quote">
<div dir="ltr">st 7. 11. 2018 v 12:05 odesílatel Parttimaa Jan <<a href="mailto:jan.parttimaa@myy.haaga-helia.fi" id="m_-3799670814020023396m_-5742251600411584629LPlnk518203" class="m_-3799670814020023396m_-5742251600411584629OWAAutoLink" rel="noreferrer noreferrer" target="_blank">jan.parttimaa@myy.haaga-helia.fi</a>> napsal:<br>
</div>
<blockquote class="m_-3799670814020023396m_-5742251600411584629x_gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div id="m_-3799670814020023396m_-5742251600411584629x_m_5068085244321065642divtagdefaultwrapper" dir="ltr" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
<p style="margin-top:0;margin-bottom:0">Hi,</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">We have a school project about IdM and we using MidPoint 3.8. We connect Active Directory to MidPoint via AD (LDAP) -connector. We did it successfully and we can see users and group from AD on Midpoint's "Resource" section.
If we trying to import user from AD to Midpoint we see green "<span>Import object (GUI)</span>" dialog but we can't see the user on MidPoint's Users List.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">What we have to do so MidPoint will actually import users and groups from AD and just not show the dialog above?</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Best Regards,</p>
<p style="margin-top:0;margin-bottom:0">Jan Parttimaa</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<div id="m_-3799670814020023396m_-5742251600411584629x_m_5068085244321065642Signature">
<div id="m_-3799670814020023396m_-5742251600411584629x_m_5068085244321065642divtagdefaultwrapper" dir="ltr" style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:12pt;background-color:rgb(255,255,255)">
<p><span style="color:rgb(0,0,0)"><i><span style="font-family:Calibri,Arial,Helvetica,sans-serif">Jan Parttimaa</span></i></span></p>
<span style="font-family:Calibri,Arial,Helvetica,sans-serif"></span><span style="color:rgb(0,0,0)"><i></i></span><span style="font-family:Calibri,Arial,Helvetica,sans-serif"></span>
<p><span style="color:rgb(0,0,0)"><i><span style="font-family:Calibri,Arial,Helvetica,sans-serif">1602738,</span></i></span></p>
<span style="font-family:Calibri,Arial,Helvetica,sans-serif"></span><span style="color:rgb(0,0,0)"><i></i></span><span style="font-family:Calibri,Arial,Helvetica,sans-serif"></span>
<p><span style="color:rgb(0,0,0)"><i><span style="font-family:Calibri,Arial,Helvetica,sans-serif">Tietojenkäsittelyn koulutusohjelma,</span></i></span></p>
<span style="font-family:Calibri,Arial,Helvetica,sans-serif"></span><span style="color:rgb(0,0,0)"><i></i></span><span style="font-family:Calibri,Arial,Helvetica,sans-serif"></span>
<p><span style="color:rgb(0,0,0)"><i><span style="font-family:Calibri,Arial,Helvetica,sans-serif">Haaga-Helia ammattikorkeakoulu</span><span style="font-family:Calibri,Arial,Helvetica,sans-serif"></span><span style="font-family:Calibri,Arial,Helvetica,sans-serif">,
Pasilan kampus</span></i></span></p>
</div>
</div>
</div>
</div>
_______________________________________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com" id="m_-3799670814020023396m_-5742251600411584629LPlnk776051" class="m_-3799670814020023396m_-5742251600411584629OWAAutoLink" rel="noreferrer noreferrer" target="_blank">midPoint@lists.evolveum.com</a><br>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer noreferrer noreferrer" id="m_-3799670814020023396m_-5742251600411584629LPlnk590667" class="m_-3799670814020023396m_-5742251600411584629OWAAutoLink" target="_blank">http://lists.evolveum.com/mailman/listinfo/midpoint</a><br>
</blockquote>
</div>
</div>
</div>
</div>
</div>
_______________________________________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com" rel="noreferrer noreferrer" target="_blank">midPoint@lists.evolveum.com</a><br>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer noreferrer noreferrer" target="_blank">http://lists.evolveum.com/mailman/listinfo/midpoint</a><br>
</blockquote></div></div></div>