<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi Patrik,</p>
    <p> changing password without reconciliation mean that the password
      will be changed only in midPoint repository and not on the
      resource. In case this is what you want try to check raw mode
      (?options=raw).</p>
    <p>For more information about REST see the docs page.<br>
    </p>
    <p><a class="moz-txt-link-freetext" href="https://docs.evolveum.com/midpoint/reference/interfaces/rest/#supported-operations">https://docs.evolveum.com/midpoint/reference/interfaces/rest/#supported-operations</a></p>
    <p>BR,</p>
    <p> Kamil<br>
    </p>
    <div class="moz-cite-prefix">On 20/10/2022 09:19, Patrik Sidler via
      midPoint wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:GVAP278MB0231D5723CDC0FB2561CD9E7EF2A9@GVAP278MB0231.CHEP278.PROD.OUTLOOK.COM">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style>@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:"Verdana",sans-serif;
        color:windowtext;}.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}div.WordSection1
        {page:WordSection1;}</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Verdana",sans-serif">Dear
            All<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Verdana",sans-serif"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Verdana",sans-serif"
            lang="EN-US">We are updating the password of a midpoint user
            over REST API.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Verdana",sans-serif"
            lang="EN-US">The user has several projections that are
            updated manually when needed.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Verdana",sans-serif"
            lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Verdana",sans-serif"
            lang="EN-US">Now we have the problem, that a password change
            over REST executes a Reconcile when it is finished and
            because of this reconcile and all the projections other
            attributes are also changed.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Verdana",sans-serif"
            lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Verdana",sans-serif"
            lang="EN-US">We only would like to change the password,
            nothing else and this is only possible when we are able to
            disable the reconcile after the REST password change.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Verdana",sans-serif"
            lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><b><span lang="EN-US">We execute the
              following POST Operation to change the password:<o:p></o:p></span></b></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New"">URL
            : {{ midpointurl
            }}/users/08296d97-8ccb-4906-9d3e-1b3a1316b8fe?<b><span
                style="color:red">reconcile=false</span></b><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New""><o:p> </o:p></span></p>
        <p class="MsoNormal"><b><span
              style="font-size:10.0pt;font-family:"Verdana",sans-serif">Body
              :<o:p></o:p></span></b></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Verdana",sans-serif"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New""
            lang="EN-US"><objectModification
            <o:p></o:p></span></p>
        <p class="MsoNormal" style="text-indent:35.4pt"><span
            style="font-size:10.0pt;font-family:"Courier New""
            lang="EN-US">xmlns='<a class="moz-txt-link-freetext" href="http://midpoint.evolveum.com/xml/ns/public/common/api-types-3">http://midpoint.evolveum.com/xml/ns/public/common/api-types-3</a>'<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New""
            lang="EN-US">     
            xmlns:c='<a class="moz-txt-link-freetext" href="http://midpoint.evolveum.com/xml/ns/public/common/common-3">http://midpoint.evolveum.com/xml/ns/public/common/common-3</a>'<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New""
            lang="EN-US">      xmlns:t='<a class="moz-txt-link-freetext" href="http://prism.evolveum.com/xml/ns/public/types-3">http://prism.evolveum.com/xml/ns/public/types-3</a>'><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New""
            lang="EN-US">      <o:p></o:p></span></p>
        <p class="MsoNormal" style="text-indent:35.4pt"><span
            style="font-size:10.0pt;font-family:"Courier New""><t:itemDelta><o:p></o:p></span></p>
        <p class="MsoNormal" style="text-indent:35.4pt"><span
            style="font-size:10.0pt;font-family:"Courier New"">     
          </span><span style="font-size:10.0pt;font-family:"Courier
            New"" lang="EN-US"><t:modificationType>replace</t:modificationType><o:p></o:p></span></p>
        <p class="MsoNormal" style="text-indent:35.4pt"><span
            style="font-size:10.0pt;font-family:"Courier New""
            lang="EN-US">     
            <t:path>credentials/password/value</t:path><o:p></o:p></span></p>
        <p class="MsoNormal" style="text-indent:35.4pt"><span
            style="font-size:10.0pt;font-family:"Courier New""
            lang="EN-US">     
          </span><span style="font-size:10.0pt;font-family:"Courier
            New""><t:value>Soleil12hg3336544*</t:value><o:p></o:p></span></p>
        <p class="MsoNormal" style="text-indent:35.4pt"><span
            style="font-size:10.0pt;font-family:"Courier New""></t:itemDelta></span><span
            style="font-size:10.0pt;font-family:"Courier New""
            lang="EN-US"><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New""></objectModification><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Verdana",sans-serif"
            lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Verdana",sans-serif"
            lang="EN-US">But at the end, the Reconcile gets executed,
            this means
          </span><span style="font-size:10.0pt;font-family:"Courier
            New"" lang="EN-US">?<b><span style="color:red">reconcile=false</span></b></span><span
style="font-size:10.0pt;font-family:"Verdana",sans-serif"
            lang="EN-US"> in the POST Action does not work.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Verdana",sans-serif"
            lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Verdana",sans-serif"
            lang="EN-US">How can we change the password over REST
            without executing a Reconcile at the end.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Verdana",sans-serif"
            lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Verdana",sans-serif"
            lang="EN-US">Thank you all in advance for your help.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Verdana",sans-serif"
            lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Verdana",sans-serif"
            lang="EN-US">Regards<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Verdana",sans-serif"
            lang="EN-US">Patrik Sidler<o:p></o:p></span></p>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
midPoint mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="https://lists.evolveum.com/mailman/listinfo/midpoint">https://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
    </blockquote>
  </body>
</html>