<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Well... this is quite strange. Because
      the mailbox creation is a synchronous operation, at least as far
      as I know.<br>
      <br>
      One of the reasons could be that if you have more AD domain
      controllers, and Exchange host writes the information about the
      mailbox into one of them, but AD/Exchange connector reads it from
      another one.<br>
      <br>
      Perhaps you could check if this is not the case.<br>
      <br>
      The solution you've proposed, i.e. introducing a delay in
      connector processing, is possible.<br>
      You could use custom scripts (see my yesterday's mail to Anton on
      this list) to create an after-create PowerShell script for
      AccountObjectClass that would sleep for a few seconds.<br>
      This would, however, terribly slow down the creation of accounts
      on your Exchange resource.<br>
      I would suggest finding the reason of the weird behavior of
      delayed mailbox creation.<br>
      <br>
      Best regards,<br>
      Pavol<br>
      <br>
    </div>
    <blockquote
      cite="mid:23F96C83E30B7E4DA253EBD07C550836014DDA32@EX-MB2.solar.local"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@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:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"Стандартный HTML Знак";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.HTML
        {mso-style-name:"Стандартный HTML Знак";
        mso-style-priority:99;
        mso-style-link:"Стандартный HTML";
        font-family:Consolas;
        color:black;
        mso-fareast-language:EN-US;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:2.0cm 42.5pt 2.0cm 3.0cm;}
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="color:#1F497D" lang="EN-US">It
            seems that in moment where connector is finish to work there
            is no mailbox. But reconciliation the account in couple of
            seconds return the email. Is it possible to create any delay
            in connector’s process?<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D" lang="EN-US"><o:p> </o:p></span></p>
        <div>
          <div style="border:none;border-top:solid #E1E1E1
            1.0pt;padding:3.0pt 0cm 0cm 0cm">
            <p class="MsoNormal"><b><span
                  style="color:windowtext;mso-fareast-language:RU">From:</span></b><span
                style="color:windowtext;mso-fareast-language:RU">
                midPoint [<a class="moz-txt-link-freetext" href="mailto:midpoint-bounces@lists.evolveum.com">mailto:midpoint-bounces@lists.evolveum.com</a>]
                <b>On Behalf Of </b>Ващенков Алексей<br>
                <b>Sent:</b> Tuesday, July 7, 2015 3:18 PM<br>
                <b>To:</b> midPoint General Discussion<br>
                <b>Subject:</b> Re: [midPoint] Get attribute value from
                shadow after creating in Exchange<o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">Here
            my attribute mapping<o:p></o:p></span></p>
        <p class="MsoNormal" style="background:#2B2B2B"><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:#E8BF6A;mso-fareast-language:RU"
            lang="EN-US"><attribute><br>
               <</span><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:#9876AA;mso-fareast-language:RU"
            lang="EN-US">c</span><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:#E8BF6A;mso-fareast-language:RU"
            lang="EN-US">:ref></span><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:#A9B7C6;mso-fareast-language:RU"
            lang="EN-US">ri:PrimarySmtpAddress</span><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:#E8BF6A;mso-fareast-language:RU"
            lang="EN-US"></</span><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:#9876AA;mso-fareast-language:RU"
            lang="EN-US">c</span><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:#E8BF6A;mso-fareast-language:RU"
            lang="EN-US">:ref><br>
               <displayName></span><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:#A9B7C6;mso-fareast-language:RU">Адрес в</span><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:#A9B7C6;mso-fareast-language:RU"
            lang="EN-US"> Exchange</span><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:#E8BF6A;mso-fareast-language:RU"
            lang="EN-US"></displayName><br>
               <exclusiveStrong></span><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:#A9B7C6;mso-fareast-language:RU"
            lang="EN-US">false</span><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:#E8BF6A;mso-fareast-language:RU"
            lang="EN-US"></exclusiveStrong><br>
               <tolerant></span><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:#A9B7C6;mso-fareast-language:RU"
            lang="EN-US">false</span><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:#E8BF6A;mso-fareast-language:RU"
            lang="EN-US"></tolerant><br>
               <inbound><br>
                  <name></span><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:#A9B7C6;mso-fareast-language:RU"
            lang="EN-US">mail in Exchange</span><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:#E8BF6A;mso-fareast-language:RU"
            lang="EN-US"></name><br>
                  <authoritative></span><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:#A9B7C6;mso-fareast-language:RU"
            lang="EN-US">true</span><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:#E8BF6A;mso-fareast-language:RU"
            lang="EN-US"></authoritative><br>
                  <exclusive></span><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:#A9B7C6;mso-fareast-language:RU"
            lang="EN-US">false</span><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:#E8BF6A;mso-fareast-language:RU"
            lang="EN-US"></exclusive><br>
                  <strength></span><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:#A9B7C6;mso-fareast-language:RU"
            lang="EN-US">normal</span><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:#E8BF6A;mso-fareast-language:RU"
            lang="EN-US"></strength><br>
                  <target><br>
                     <</span><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:#9876AA;mso-fareast-language:RU"
            lang="EN-US">c</span><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:#E8BF6A;mso-fareast-language:RU"
            lang="EN-US">:path></span><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:#A9B7C6;mso-fareast-language:RU"
            lang="EN-US">$focus/emailAddress</span><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:#E8BF6A;mso-fareast-language:RU"
            lang="EN-US"></</span><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:#9876AA;mso-fareast-language:RU"
            lang="EN-US">c</span><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:#E8BF6A;mso-fareast-language:RU"
            lang="EN-US">:path><br>
                  </target><br>
               </inbound><br>
            </attribute></span><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:#A9B7C6;mso-fareast-language:RU"
            lang="EN-US"><o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D" lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D" lang="EN-US"><o:p> </o:p></span></p>
        <div>
          <div style="border:none;border-top:solid #E1E1E1
            1.0pt;padding:3.0pt 0cm 0cm 0cm">
            <p class="MsoNormal"><b><span
                  style="color:windowtext;mso-fareast-language:RU"
                  lang="EN-US">From:</span></b><span
                style="color:windowtext;mso-fareast-language:RU"
                lang="EN-US"> midPoint [</span><span
                style="color:windowtext;mso-fareast-language:RU"><a
                  moz-do-not-send="true"
                  href="mailto:midpoint-bounces@lists.evolveum.com"><span
                    lang="EN-US">mailto:midpoint-bounces@lists.evolveum.com</span></a></span><span
                style="color:windowtext;mso-fareast-language:RU"
                lang="EN-US">]
                <b>On Behalf Of </b>Pavol Mederly<br>
                <b>Sent:</b> Tuesday, July 7, 2015 3:11 PM<br>
                <b>To:</b> </span><span
                style="color:windowtext;mso-fareast-language:RU"><a
                  moz-do-not-send="true"
                  href="mailto:midpoint@lists.evolveum.com"><span
                    lang="EN-US">midpoint@lists.evolveum.com</span></a></span><span
                style="color:windowtext;mso-fareast-language:RU"
                lang="EN-US"><br>
                <b>Subject:</b> Re: [midPoint] Get attribute value from
                shadow after creating in Exchange<o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <div>
          <p class="MsoNormal" style="margin-bottom:12.0pt">Алексей,<br>
            <br>
            this is done via inbound expression attached to the
            corresponding attribute - in this case,
            <b>PrimarySmtpAddress</b> (in case of Exchange connector) or
            <b>mail</b> (in case of AD connector).<br>
            <br>
            If you're sure your configuration is correct, just post here
            your log with model=TRACE level.<br>
            <br>
            Best regards,<br>
            Pavol<span style="font-size:12.0pt;mso-fareast-language:RU"><o:p></o:p></span></p>
        </div>
        <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
          <p class="MsoNormal"><span lang="EN-US">Hi.</span><o:p></o:p></p>
          <p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
          <p class="MsoNormal"><span lang="EN-US">I have a simple stupid
              question. Now we have process, when user created in
              HR-application. After this user in process of Live
              Synchronization is imported to Midpoint. And after that
              account in AD and Exchange are created for this user. And
              I need to set email, which was created in Exchange,  to
              user in midpoint. How can I do this? Yesterday it works,
              but not today.</span><o:p></o:p></p>
          <p class="MsoNormal" style="margin-bottom:12.0pt"><span
              style="font-size:12.0pt;font-family:"Times New
              Roman","serif";mso-fareast-language:RU"><br>
              <br>
              <o:p></o:p></span></p>
          <pre>_______________________________________________<o:p></o:p></pre>
          <pre>midPoint mailing list<o:p></o:p></pre>
          <pre><a moz-do-not-send="true" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a><o:p></o:p></pre>
          <pre><a moz-do-not-send="true" href="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a><o:p></o:p></pre>
        </blockquote>
        <p class="MsoNormal"><span
            style="font-size:12.0pt;font-family:"Times New
            Roman","serif";mso-fareast-language:RU"><o:p> </o:p></span></p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <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="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>