<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi Lucio,</p>
    <p><br>
    </p>
    <p>if you have users in midPoint without archetypes which you wish
      to provision to target systems, I recommend to not use archetype
      in the last Basic configuration step of the target resource object
      type. Otherwise midPoint requires the archetype being assigned to
      all those users and won't match the users during correlation.</p>
    <p><br>
    </p>
    <p>Relevant docs (for midPoint 4.10):
<a class="moz-txt-link-freetext" href="https://docs.evolveum.com/midpoint/reference/support-4.10/admin-gui/resource-wizard/object-type/#specify-the-midpoint-data">https://docs.evolveum.com/midpoint/reference/support-4.10/admin-gui/resource-wizard/object-type/#specify-the-midpoint-data</a></p>
    <p><br>
    </p>
    <p>Best regards,</p>
    <p>Ivan</p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 3/5/26 17:18, Lucio Fioramonti
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:PA6PR01MB119749AA1ABF15BFE9D75ED50E17DA@PA6PR01MB11974.eurprd01.prod.exchangelabs.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <style type="text/css" style="display:none;">P {margin-top:0;margin-bottom:0;}</style>
      <div
style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"
        class="elementToProof">
        Hello, thanks for the explanation. Regarding your questions:</div>
      <div
style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"
        class="elementToProof">
        <br>
      </div>
      <p style="margin-top: 0px; margin-bottom: 0px;"
        class="elementToProof"><span
style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">What
          is the situation with archetypes in your environment? -->
          Are in place only standard archetypes.</span></p>
      <div
style="margin-top: 0px; margin-bottom: 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"
        class="elementToProof">
        Is this particular resource a source or a target resource?
        --> This is a target resource.</div>
      <p style="margin-top: 0px; margin-bottom: 0px;"
        class="elementToProof"><span
style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">Are
          there other resources, which create users and assign Person
          archetype? --> yes and, I have check, it creates users with
          no archetype specified.</span></p>
      <p style="margin-top: 0px; margin-bottom: 0px;"
        class="elementToProof"><span
style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">Are
          there users without Person archetype? --> I think so, I
          have check in the raw configuration of the users, and no
          archetype relations are specified, if I check correctly.</span></p>
      <div
style="margin-top: 0px; margin-bottom: 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"
        class="elementToProof">
        <br>
      </div>
      <div
style="margin-top: 0px; margin-bottom: 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"
        class="elementToProof">
        Regards</div>
      <div class="elementToProof" id="Signature">
        <div
          style="background-color: rgb(255, 255, 255); margin: 0px 0cm;"
          class="elementToProof">
          <div
style="background-color: rgb(255, 255, 255); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"
            class="elementToProof">
            <i><br>
            </i></div>
          <div
style="background-color: rgb(255, 255, 255); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"
            class="elementToProof">
            <br>
          </div>
          <div
style="font-family: Arial, Helvetica, sans-serif; font-size: 9.75pt; color: rgb(34, 34, 34);">
            <br>
          </div>
        </div>
      </div>
      <div
style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <hr style="display: inline-block; width: 98%;">
      <div id="divRplyFwdMsg">
        <div
style="direction: ltr; font-family: Calibri, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
          <b>Da:</b> Ivan Noris <a class="moz-txt-link-rfc2396E" href="mailto:ivan.noris@evolveum.com"><ivan.noris@evolveum.com></a><br>
          <b>Inviato:</b> giovedì 5 marzo 2026 12:45<br>
          <b>A:</b> Lucio Fioramonti
          <a class="moz-txt-link-rfc2396E" href="mailto:lucio.fioramonti@cybertech.eu"><lucio.fioramonti@cybertech.eu></a>;
          <a class="moz-txt-link-abbreviated" href="mailto:midpoint@lists.evolveum.com">midpoint@lists.evolveum.com</a>
          <a class="moz-txt-link-rfc2396E" href="mailto:midpoint@lists.evolveum.com"><midpoint@lists.evolveum.com></a><br>
          <b>Oggetto:</b> Re: R: [midPoint] Resource doesn't link
          accounts</div>
        <div style="direction: ltr;"> </div>
      </div>
      <div
style="line-height: 1px; max-height: 0px; display: none; font-size: 1px; color: rgb(255, 255, 255);">
        Hi Lucio, the thing is: if you specify the correlation rule AND
        you also have set Archetype in the (last page of) object type
        configuration, they are used together. Correlation will only
        match objects (e. g. users) with that archetype. If the</div>
      <div
style="line-height: 1px; max-height: 0px; display: none; font-size: 1px; color: rgb(255, 255, 255);">
        ZjQcmQRYFpfptBannerStart</div>
      <div
style="background-color: rgb(208, 216, 220); margin: 0px 0px 10px; padding: 7px 16px 8px; border-top: 4px solid rgb(144, 164, 174); border-radius: 4px; max-width: none; max-height: none; min-width: 200px; display: block;"
        id="x_pfptBannerctzx97c">
        <div
style="background-color: rgb(208, 216, 220); margin: 1px 0px; max-width: 600px; max-height: none; display: block;"
          id="x_pfptBannerctzx97c">
          <div
style="background-color: rgb(208, 216, 220); max-width: none; max-height: none; display: block;"
            id="x_pfptBannerctzx97c">
            <div
style="direction: ltr; text-align: left; line-height: 1.29; font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">
              <b>*** Avviso di sicurezza: Questa email proviene
                dall'esterno dell'organizzazione. Non cliccare su link
                né aprire allegati a meno che tu non abbia verificato
                l'indirizzo del mittente e confermato che il contenuto
                sia sicuro! ***</b></div>
          </div>
          <div
style="background-color: rgb(208, 216, 220); margin-top: 2px; max-width: none; max-height: none; display: block;"
            id="x_pfptBannerctzx97c">
            <div
style="direction: ltr; text-align: left; line-height: 1.5; font-family: Arial, sans-serif; font-size: 12px; color: rgb(0, 0, 0);">
              *** Security Warning: This email originated from outside
              of the organization. Do not click links or open
              attachments unless you verified the sender mail address
              and know the content is safe! ***</div>
          </div>
        </div>
        <div
style="direction: ltr; text-align: left; line-height: 0; display: block; font-size: 0.01px;">
           </div>
      </div>
      <div
style="line-height: 1px; max-height: 0px; display: none; font-size: 1px; color: rgb(255, 255, 255);">
        ZjQcmQRYFpfptBannerEnd</div>
      <p style="margin-top: 0px; margin-bottom: 0px;">Hi Lucio,</p>
      <p style="margin-top: 0px; margin-bottom: 0px;"><br>
      </p>
      <p style="margin-top: 0px; margin-bottom: 0px;">the thing is: if
        you specify the correlation rule AND you also have set Archetype
        in the (last page of) object type configuration, they are used
        together. Correlation will only match objects (e.g. users) with
        that archetype. If the are users which would match but do not
        have that archetype, they won't be considered as candidate
        owners.</p>
      <p style="margin-top: 0px; margin-bottom: 0px;"><br>
      </p>
      <p style="margin-top: 0px; margin-bottom: 0px;">What is the
        situation with archetypes in your environment? Is this
        particular resource a source or a target resource?</p>
      <p style="margin-top: 0px; margin-bottom: 0px;">Are there other
        resources, which create users and assign Person archetype?</p>
      <p style="margin-top: 0px; margin-bottom: 0px;">Are there users
        without Person archetype?</p>
      <p style="margin-top: 0px; margin-bottom: 0px;"><br>
      </p>
      <p style="margin-top: 0px; margin-bottom: 0px;">Best regards,</p>
      <p style="margin-top: 0px; margin-bottom: 0px;">Ivan</p>
      <p style="margin-top: 0px; margin-bottom: 0px;"><br>
      </p>
      <div>On 3/5/26 12:31, Lucio Fioramonti wrote:</div>
      <blockquote>
        <div
style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
          Hello Ivan, thank you for the reply. I have set Person as
          archetype. Now I have removed the archetype from the Object
          Type and it works: now I have the preview and the Unlinked
          status.</div>
        <div
style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
          <br>
        </div>
        <div
style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
          So should I omit the archetype or to have users of the same
          archetype for a correct correlation?</div>
        <div
style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
          <br>
        </div>
        <div
style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
          Thanks</div>
        <div id="x_Signature">
          <div
style="font-family: Arial, Helvetica, sans-serif; font-size: 9.75pt; color: rgb(34, 34, 34);">
            <br>
          </div>
        </div>
        <hr style="display: inline-block; width: 98%;">
        <div id="x_divRplyFwdMsg">
          <div
style="direction: ltr; font-family: Calibri, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
            <b>Da:</b> midPoint <a
              class="x_moz-txt-link-rfc2396E OWAAutoLink"
              id="OWA45dff94e-521c-044c-bf9f-e03886465a94"
              href="mailto:midpoint-bounces@lists.evolveum.com"
              moz-do-not-send="true">
              <midpoint-bounces@lists.evolveum.com></a> per conto
            di Ivan Noris via midPoint <a
              class="x_moz-txt-link-rfc2396E OWAAutoLink"
              id="OWA65fe880b-a25b-5588-6e64-87efa9b34af5"
              href="mailto:midpoint@lists.evolveum.com"
              moz-do-not-send="true">
              <midpoint@lists.evolveum.com></a><br>
            <b>Inviato:</b> giovedì 5 marzo 2026 08:35<br>
            <b>A:</b> <a
class="x_moz-txt-link-abbreviated OWAAutoLink moz-txt-link-freetext"
              id="OWA082be475-d1f9-5d90-ff92-f823c0db09eb"
              href="mailto:midpoint@lists.evolveum.com"
              moz-do-not-send="true">
              midpoint@lists.evolveum.com</a> <a
              class="x_moz-txt-link-rfc2396E OWAAutoLink"
              id="OWAbe4debc0-4107-57df-d3d0-691d79534991"
              href="mailto:midpoint@lists.evolveum.com"
              moz-do-not-send="true">
              <midpoint@lists.evolveum.com></a><br>
            <b>Cc:</b> Ivan Noris <a
              class="x_moz-txt-link-rfc2396E OWAAutoLink"
              id="OWAf4486aea-9355-f6c2-e19b-b570726c8fa3"
              href="mailto:ivan.noris@evolveum.com"
              moz-do-not-send="true">
              <ivan.noris@evolveum.com></a><br>
            <b>Oggetto:</b> Re: [midPoint] Resource doesn't link
            accounts</div>
          <div style="direction: ltr;"> </div>
        </div>
        <div
style="line-height: 1px; max-height: 0px; display: none; font-size: 1px; color: rgb(255, 255, 255);">
          Hi Lucio, it would help if you describe your environment more:
          1. what are your synchronization rules? 2. are you using
          archetypes in midPoint? In Basic configuration of your object
          type, in the last page, where you specify "User" as the type,</div>
        <div
style="line-height: 1px; max-height: 0px; display: none; font-size: 1px; color: rgb(255, 255, 255);">
          ZjQcmQRYFpfptBannerStart</div>
        <div
style="background-color: rgb(208, 216, 220); margin: 0px 0px 10px; padding: 7px 16px 8px; border-top: 4px solid rgb(144, 164, 174); border-radius: 4px; max-width: none; max-height: none; min-width: 200px; display: block;"
          id="x_x_pfptBannerayksrtt">
          <div
style="background-color: rgb(208, 216, 220); margin: 1px 0px; max-width: 600px; max-height: none; display: block;"
            id="x_x_pfptBannerayksrtt">
            <div
style="background-color: rgb(208, 216, 220); max-width: none; max-height: none; display: block;"
              id="x_x_pfptBannerayksrtt">
              <div
style="direction: ltr; text-align: left; line-height: 1.29; font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">
                <b>*** Avviso di sicurezza: Questa email proviene
                  dall'esterno dell'organizzazione. Non cliccare su link
                  né aprire allegati a meno che tu non abbia verificato
                  l'indirizzo del mittente e confermato che il contenuto
                  sia sicuro! ***</b></div>
            </div>
            <div
style="background-color: rgb(208, 216, 220); margin-top: 2px; max-width: none; max-height: none; display: block;"
              id="x_x_pfptBannerayksrtt">
              <div
style="direction: ltr; text-align: left; line-height: 1.5; font-family: Arial, sans-serif; font-size: 12px; color: rgb(0, 0, 0);">
                *** Security Warning: This email originated from outside
                of the organization. Do not click links or open
                attachments unless you verified the sender mail address
                and know the content is safe! ***</div>
            </div>
          </div>
          <div
style="direction: ltr; text-align: left; line-height: 0; display: block; font-size: 0.01px;">
             </div>
        </div>
        <div
style="line-height: 1px; max-height: 0px; display: none; font-size: 1px; color: rgb(255, 255, 255);">
          ZjQcmQRYFpfptBannerEnd</div>
        <p style="margin-top: 0px; margin-bottom: 0px;">Hi Lucio,</p>
        <p style="margin-top: 0px; margin-bottom: 0px;">it would help if
          you describe your environment more:</p>
        <p style="margin-top: 0px; margin-bottom: 0px;"><br>
        </p>
        <p style="margin-top: 0px; margin-bottom: 0px;">1. what are your
          synchronization rules?</p>
        <p style="margin-top: 0px; margin-bottom: 0px;">2. are you using
          archetypes in midPoint? In Basic configuration of your object
          type, in the last page, where you specify "User" as the type,
          are you also using archetype (e.g. Person)? Does this
          archetype match the users already in midPoint?</p>
        <p style="margin-top: 0px; margin-bottom: 0px;">(Correlation
          uses the archetype information during matching, if you have
          specified that you want to use archetype).</p>
        <p style="margin-top: 0px; margin-bottom: 0px;">3. what is the
          Lifecycle state of the resource / Object type / all other
          configuration in the resource?</p>
        <p style="margin-top: 0px; margin-bottom: 0px;"><br>
        </p>
        <p style="margin-top: 0px; margin-bottom: 0px;">Best regards,</p>
        <p style="margin-top: 0px; margin-bottom: 0px;">Ivan</p>
        <p style="margin-top: 0px; margin-bottom: 0px;"><br>
        </p>
        <div>On 3/4/26 14:29, Lucio Fioramonti via midPoint wrote:</div>
        <blockquote>
          <div
style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
            Hello, I have a database resource (Postgresql) created from
            scratch by using the wizard. Resource objects (accounts) are
            visibile in Midpoint console, correlation rule,
            synchronization (with no rule for unmatched) and mapping are
            in place. There are corresponding users and the correlation
            is mailny based on emailAddress (exact match).</div>
          <div
style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
            <br>
          </div>
          <div
style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
            When I ask for Import Preview, no results appear (white
            page!). Only result is possible if I add unmatched rule in
            synchronization config (unmatched --> add focus), but,
            obviously, an add action fo user object appear.</div>
          <div
style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
            <br>
          </div>
          <div
style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
            Why the correlation doesn't link the account? Why the
            preview appears blank? Are there any db resourxe example
            with correlation and synch config?</div>
          <div id="x_x_Signature">
            <div
style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
              <br>
            </div>
            <div
style="background-color: rgb(255, 255, 255); margin: 0px 0cm;">
              <div
style="background-color: rgb(255, 255, 255); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
                <i>Thanks in advance.</i></div>
            </div>
          </div>
          <div><br>
          </div>
          <pre><div>_______________________________________________
midPoint mailing list
<a
class="x_x_moz-txt-link-abbreviated x_moz-txt-link-freetext OWAAutoLink moz-txt-link-freetext"
          id="OWA3dcd72d2-6ea5-25b4-1835-a7222b42f1c8"
          href="mailto:midPoint@lists.evolveum.com"
          moz-do-not-send="true">midPoint@lists.evolveum.com</a>
<a data-auth="NotApplicable"
          class="x_x_moz-txt-link-freetext OWAAutoLink"
          id="OWAce585e0e-4bdf-378a-fa35-4c9bd802080c"
href="https://urldefense.com/v3/__https://lists.evolveum.com/mailman/listinfo/midpoint__;!!LQkDIss!TQzF0GutWXxXaFCVP6CR4oBxXdXQBIIphcNUqZ5vyxNjT7gGOi0PtJ9EFraesC95H8Q9Wu7uV8T1iAY18cS0rVUPRlgPmjD8Lw$"
          moz-do-not-send="true">https://lists.evolveum.com/mailman/listinfo/midpoint</a>
</div></pre>
        </blockquote>
        <pre><div>-- 
Ivan Noris
Expert Identity Engineer
<a data-auth="NotApplicable" class="OWAAutoLink"
        id="OWA7f8eaf55-ed45-5966-e467-a9b2664e1493"
href="https://urldefense.com/v3/__http://evolveum.com__;!!LQkDIss!TQzF0GutWXxXaFCVP6CR4oBxXdXQBIIphcNUqZ5vyxNjT7gGOi0PtJ9EFraesC95H8Q9Wu7uV8T1iAY18cS0rVUPRlj8zavrvQ$"
        moz-do-not-send="true">evolveum.com</a>
</div></pre>
      </blockquote>
      <pre><div>-- 
Ivan Noris
Expert Identity Engineer
<a data-auth="NotApplicable" class="OWAAutoLink"
      id="OWA1a1a3d38-f8a0-ce92-b8e5-c5531c41463c"
href="https://urldefense.com/v3/__http://evolveum.com__;!!LQkDIss!WOBBj4hYpdMG9RrwwmCY9lnDkF23zgMc3egv2kuNkBlA_BMSq6vo4GKyVRU2rAxmZ94GisWfvE_wL0aGt8LUOkbaXkPqHcj_$"
      moz-do-not-send="true">evolveum.com</a>
</div></pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Ivan Noris
Expert Identity Engineer
evolveum.com
</pre>
  </body>
</html>