<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Thank you very much. I have forgotten the synchronization part (I
      am very beginner with midPoint).</p>
    <p>Now, I have defined all parts:</p>
    <p><br>
    </p>
    <p><img src="cid:part1.OOxq6h6h.Q00Mhv9D@um.es" alt="" width="749"
        height="274"></p>
    <p><img src="cid:part2.XQr4Cu2Z.O09unpyv@um.es" alt="" width="653"
        height="243"></p>
    <p><img src="cid:part3.MsOKsAXi.Zv5wGK0e@um.es" alt="" width="1483"
        height="596"></p>
    <p><img src="cid:part4.qVoQc2s0.hjySz4VP@um.es" alt="" width="1203"
        height="693"></p>
    <p><img src="cid:part5.Xx0VbBCn.20KArSMG@um.es" alt="" width="1091"
        height="828"></p>
    <p>Now, I can see all the records in the CSV, but there is no
      "Situation" defined, if I try to import a single record:<br>
    </p>
    <p><img src="cid:part6.azS1Kgsj.iTS1yl2L@um.es" alt="" width="1222"
        height="456"></p>
    <p><br>
    </p>
    <p>The result seems to be fine:</p>
    <p><img src="cid:part7.w5P9RT2v.Rp43hnbs@um.es" alt="" width="645"
        height="231"></p>
    <p><br>
    </p>
    <p>But there is no linked account in the repository, I can see all
      the accounts with state "Nothing":</p>
    <p><img src="cid:part8.boEjFAVX.2BmEvTH6@um.es" alt="" width="1255"
        height="488"></p>
    <p><br>
    </p>
    Thanks!<br>
    <p><br>
    </p>
    <div class="moz-cite-prefix">El 02/02/2022 a las 13:52, Fabian
      Noll-Dukiewicz escribió:<br>
    </div>
    <blockquote type="cite"
cite="mid:FRYP281MB0597099E95C1DB8FA0AD35FAD4279@FRYP281MB0597.DEUP281.PROD.OUTLOOK.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, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        Hi Mercedes,</div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        I think the schema is not so important, because it will be
        automatically generated by midPoint. More important ist the
        schema handling section and the synchronization configuration.
        At the schema handling you define whats happened for each
        attribute, like inbound and outbound mappings. At the
        synchronization section you configure whats going on with the
        entries for different situations.</div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        Please attach your whole configuration file to check your
        config.</div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        Here are some screenshots of my csv settings:</div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        <b>General configuration</b></div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        <b><img style="max-width:100%" class="w-856 h-478" size="27070"
            contenttype="image/png" data-outlook-trace="F:1|T:1"
            src="cid:part9.RXar9BtA.UkCuGxqU@um.es"><br>
        </b></div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        <b><br>
        </b></div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        <b>Schema (automatically generated by midPoint)</b></div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        <b><img style="max-width:100%" class="w-898 h-663" size="39929"
            contenttype="image/png" data-outlook-trace="F:1|T:1"
            src="cid:part10.fEfRLjbT.W3uLaj2A@um.es"><br>
        </b></div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        <b><br>
        </b></div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        <b>Schema handling</b></div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        <b><img style="max-width:100%" class="w-905 h-584" size="38452"
            contenttype="image/png" data-outlook-trace="F:1|T:1"
            src="cid:part11.EwjZ2B4x.Z2JOBlTF@um.es"><br>
        </b></div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        <b><br>
        </b></div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        <b>Synchronization</b></div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        <b><img style="max-width:100%" class="w-899 h-534" size="31045"
            contenttype="image/png" data-outlook-trace="F:1|T:1"
            src="cid:part12.zTcNT0fM.Vcr3wW4m@um.es"><br>
        </b></div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        <b><img style="max-width:100%" class="w-671 h-404" size="20185"
            contenttype="image/png" data-outlook-trace="F:1|T:1"
            src="cid:part13.Y7iJFO6G.au7kv19p@um.es"><br>
        </b></div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        Kind regards,</div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        Fabian</div>
      <div>
        <div style="font-family:Calibri,Arial,Helvetica,sans-serif;
          font-size:12pt; color:rgb(0,0,0)">
          <br>
        </div>
        <hr tabindex="-1" style="display:inline-block; width:98%">
        <div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt"
            face="Calibri, sans-serif" color="#000000"><b>Von:</b>
            Mercedes Oncina Deltell <a class="moz-txt-link-rfc2396E" href="mailto:moncina@um.es"><moncina@um.es></a><br>
            <b>Gesendet:</b> Mittwoch, 2. Februar 2022 13:21<br>
            <b>An:</b> <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>Betreff:</b> Re: [midPoint] CSV resource import fails: No
            object class found for the shadow</font>
          <div> </div>
        </div>
        <div>
          <p>I have already defined the schema like this:</p>
          <p><i><font size="2"><xsd:schema xmlns:xsd=<a
                  class="x_moz-txt-link-rfc2396E"
                  href="http://www.w3.org/2001/XMLSchema"
                  moz-do-not-send="true">"http://www.w3.org/2001/XMLSchema"</a>
                xmlns:a=<a class="x_moz-txt-link-rfc2396E"
                  href="http://prism.evolveum.com/xml/ns/public/annotation-3"
                  moz-do-not-send="true">"http://prism.evolveum.com/xml/ns/public/annotation-3"</a>
                xmlns:ra=<a class="x_moz-txt-link-rfc2396E"
                  href="http://midpoint.evolveum.com/xml/ns/public/resource/annotation-3"
                  moz-do-not-send="true">"http://midpoint.evolveum.com/xml/ns/public/resource/annotation-3"</a>
                xmlns:tns=<a class="x_moz-txt-link-rfc2396E"
                  href="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3"
                  moz-do-not-send="true">"http://midpoint.evolveum.com/xml/ns/public/resource/instance-3"</a>
                elementFormDefault="qualified" targetNamespace=<a
                  class="x_moz-txt-link-rfc2396E"
                  href="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3"
                  moz-do-not-send="true">"http://midpoint.evolveum.com/xml/ns/public/resource/instance-3"</a>><br>
                                <xsd:import namespace=<a
                  class="x_moz-txt-link-rfc2396E"
                  href="http://prism.evolveum.com/xml/ns/public/annotation-3"
                  moz-do-not-send="true">"http://prism.evolveum.com/xml/ns/public/annotation-3"</a>/><br>
                                <xsd:import namespace=<a
                  class="x_moz-txt-link-rfc2396E"
                  href="http://midpoint.evolveum.com/xml/ns/public/resource/annotation-3"
                  moz-do-not-send="true">"http://midpoint.evolveum.com/xml/ns/public/resource/annotation-3"</a>/><br>
                                <xsd:complexType
                name="AccountObjectClass"><br>
                                    <xsd:annotation><br>
                                        <xsd:appinfo><br>
                                            <ra:resourceObject/><br>
                                            <ra:identifier xmlns:ri=<a
                  class="x_moz-txt-link-rfc2396E"
                  href="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3"
                  moz-do-not-send="true">"http://midpoint.evolveum.com/xml/ns/public/resource/instance-3"</a>>ri:UUID</ra:identifier><br>
                                            <ra:displayNameAttribute
                xmlns:ri=<a class="x_moz-txt-link-rfc2396E"
                  href="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3"
                  moz-do-not-send="true">"http://midpoint.evolveum.com/xml/ns/public/resource/instance-3"</a>>ri:UUID</ra:displayNameAttribute><br>
                                            <ra:namingAttribute
                xmlns:ri=<a class="x_moz-txt-link-rfc2396E"
                  href="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3"
                  moz-do-not-send="true">"http://midpoint.evolveum.com/xml/ns/public/resource/instance-3"</a>>ri:UUID</ra:namingAttribute><br>
                                            <b><ra:nativeObjectClass>__ACCOUNT__</ra:nativeObjectClass></b><br>
                                            <b><ra:kind>account</ra:kind></b><br>
                                           
                <ra:default>true</ra:default><br>
                                        </xsd:appinfo><br>
                                    </xsd:annotation><br>
                                    <xsd:sequence><br>
                                        <xsd:element minOccurs="0"
                name="CLAVE" type="xsd:string"><br>
                                            <xsd:annotation><br>
                                                <xsd:appinfo><br>
                                                   
                <a:displayOrder>120</a:displayOrder><br>
                                                   
                <ra:nativeAttributeName>CLAVE</ra:nativeAttributeName><br>
                                                   
                <ra:frameworkAttributeName>CLAVE</ra:frameworkAttributeName><br>
                                                </xsd:appinfo><br>
                                            </xsd:annotation><br>
                                        </xsd:element><br>
                                        <xsd:element minOccurs="0"
                name="USERNAME" type="xsd:string"><br>
                                            <xsd:annotation><br>
                                                <xsd:appinfo><br>
                                                   
                <a:displayOrder>130</a:displayOrder><br>
                                                   
                <ra:nativeAttributeName>USERNAME</ra:nativeAttributeName><br>
                                                   
<ra:frameworkAttributeName>USERNAME</ra:frameworkAttributeName><br>
                                                </xsd:appinfo><br>
                                            </xsd:annotation><br>
                                        </xsd:element><br>
                                        <xsd:element name="UUID"
                type="xsd:string"><br>
                                            <xsd:annotation><br>
                                                <xsd:appinfo><br>
                                                   
                <a:displayOrder>100</a:displayOrder><br>
                                                   
                <ra:nativeAttributeName>UUID</ra:nativeAttributeName><br>
                                                   
<ra:frameworkAttributeName>__NAME__</ra:frameworkAttributeName><br>
                                                </xsd:appinfo><br>
                                            </xsd:annotation><br>
                                        </xsd:element><br>
                                    </xsd:sequence><br>
                                </xsd:complexType><br>
                            </xsd:schema></font></i></p>
          <p><br>
          </p>
          <div class="x_moz-cite-prefix">El 02/02/2022 a las 12:00, <a
              class="x_moz-txt-link-abbreviated moz-txt-link-freetext"
              href="mailto:midpoint-request@lists.evolveum.com"
              moz-do-not-send="true">
              midpoint-request@lists.evolveum.com</a> escribió: </div>
          <blockquote type="cite">
            <pre class="x_moz-quote-pre">----------------------------------------------------------------------

Message: 3
Date: Wed, 02 Feb 2022 09:33:22 +0100
From: "Rainer Herbst" <a class="x_moz-txt-link-rfc2396E" href="mailto:rainer.herbst@aip.de" moz-do-not-send="true"><rainer.herbst@aip.de></a>
To: "midPoint General Discussion" <a class="x_moz-txt-link-rfc2396E" href="mailto:midpoint@lists.evolveum.com" moz-do-not-send="true"><midpoint@lists.evolveum.com></a>
Subject: Re: [midPoint] CSV resource import fails: No object class
        found for the shadow
Message-ID: <a class="x_moz-txt-link-rfc2396E" href="mailto:ximss-2986569@cgpro.aip.de" moz-do-not-send="true"><ximss-2986569@cgpro.aip.de></a>
Content-Type: text/plain; charset="utf-8"; Format="flowed"

Hi!

My unerstandig is that you need to declare what kind of an object the 
imported "something" is. Normally it is "account" and it should be somewhere 
in the schema and schema handling sections:

<ra:resourceObject/>
<ra:identifier 
xmlns:ri=<a class="x_moz-txt-link-rfc2396E" href="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3" moz-do-not-send="true">"http://midpoint.evolveum.com/xml/ns/public/resource/instance-3"</a>>ri:NachnameVornameVertragsende</ra:identifier>
<ra:displayNameAttribute 
xmlns:ri=<a class="x_moz-txt-link-rfc2396E" href="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3" moz-do-not-send="true">"http://midpoint.evolveum.com/xml/ns/public/resource/instance-3"</a>>ri:NachnameVornameVertragsende</ra:displayNameAttribute>
<ra:namingAttribute 
xmlns:ri=<a class="x_moz-txt-link-rfc2396E" href="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3" moz-do-not-send="true">"http://midpoint.evolveum.com/xml/ns/public/resource/instance-3"</a>>ri:NachnameVornameVertragsende</ra:namingAttribute>
<ra:nativeObjectClass>__ACCOUNT__</ra:nativeObjectClass>
<ra:kind>account</ra:kind>

HTH!
</pre>
            <div class="x_moz-txt-sig">
              <pre>On Mi, 2 Feb 2022 09:17:47 +0100
  Mercedes Oncina Deltell via midPoint <a class="x_moz-txt-link-rfc2396E" href="mailto:midpoint@lists.evolveum.com" moz-do-not-send="true"><midpoint@lists.evolveum.com></a> wrote:
</pre>
            </div>
            <blockquote type="cite" style="color:#007cff">
              <pre class="x_moz-quote-pre">I am starting with midPoint trying to assess if it is useful for our 
goal of implementing an IAM.

I have defined a CSV resource, with the outbound mappings and I can 
see the existing records in the file, but when I try to import a 
record, this message appears:

/Operation: Import object (GUI)//
//Message: Could not import account 
shadow:93312157-c92c-4d70-9fc4-33eb298b018e(JI34ji456iE4650JT2)//
//Error: No object class found for the shadow/

I am new to the tool and although I have read the entire midPoint 
manual, I cannot find any information related to this error.

Can someone advise me where the error can be?

-- 
Mercedes Oncina Deltell
Servicio de Infraestructuras TICS
ATICA - Universidad de Murcia
Telf: +34 868881983
</pre>
            </blockquote>
            <pre class="x_moz-quote-pre">Viele Grüße,

Rainer Herbst
Leiter IT-Service
Phone: +49 331 7499-257
e-mail: <a class="x_moz-txt-link-abbreviated x_moz-txt-link-freetext moz-txt-link-freetext" href="mailto:rainer.herbst@aip.de" moz-do-not-send="true">rainer.herbst@aip.de</a>
<a class="x_moz-txt-link-freetext moz-txt-link-freetext" href="https://www.aip.de" moz-do-not-send="true">https://www.aip.de</a>

-----------------------------------------------------------------------------------------------
Leibniz-Institut für Astrophysik Potsdam (AIP)
An der Sternwarte 16, 14482 Potsdam

Vorstand: Prof. Dr. Matthias Steinmetz, Wolfram Rosenbach
Stiftung bürgerlichen Rechts
Stiftungsverzeichnis Brandenburg: 26 742-00/7026
-----------------------------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3646 bytes
Desc: not available
URL: <a class="x_moz-txt-link-rfc2396E" href="https://lists.evolveum.com/pipermail/midpoint/attachments/20220202/ece9445a/attachment-0001.bin" moz-do-not-send="true"><https://lists.evolveum.com/pipermail/midpoint/attachments/20220202/ece9445a/attachment-0001.bin></a>

------------------------------
</pre>
          </blockquote>
          <pre class="x_moz-signature" cols="72">-- 
Mercedes Oncina Deltell
Servicio de Infraestructuras TICS
ATICA - Universidad de Murcia
Telf: +34 868881983</pre>
        </div>
      </div>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Mercedes Oncina Deltell
Servicio de Infraestructuras TICS
ATICA - Universidad de Murcia
Telf: +34 868881983</pre>
  </body>
</html>