<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hello Dick,</p>
    <p>the error indicates that the O365 account was probably not
      created successfully (although I would prefer more specific
      exception message, if that's the case).</p>
    <p>You could do the following:</p>
    <ol>
      <li>Enable logging for <span class="pl-smi">org.identityconnectors.office365
          package at highest level (ALL/TRACE)</span></li>
      <li><span class="pl-smi">Retry the operation</span></li>
      <li><span class="pl-smi">Send here relevant parts of the log</span></li>
    </ol>
    <p>Although after looking at the connector code I am not 100% sure
      this would help, it might be useful as a first step.</p>
    <p>(Or maybe somebody with experiences with O365 could have a look
      at your configuration ...)<br>
    </p>
    <pre class="moz-signature" cols="72">Pavol Mederly
Software developer
evolveum.com
</pre>
    <div class="moz-cite-prefix">On 30.08.2016 9:49, Dick Muller wrote:<br>
    </div>
    <blockquote
      cite="mid:3D623A6A-5DD5-4A92-819B-9F41B2E339B2@tahzoo.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <meta name="Title" content="">
      <meta name="Keywords" content="">
      <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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:Calibri;}
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;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Calibri;
        color:windowtext;}
span.msoIns
        {mso-style-type:export-only;
        mso-style-name:"";
        text-decoration:underline;
        color:teal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:Calibri;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
      <div class="WordSection1">
        <p class="MsoNormal"><span style="font-size:11.0pt">Hello,<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">I’m working
            on a MidPoint – Office365 integration.<br>
            The connector is tested and gives result OK. In O365 I setup
            all available permissions on the account for
            graphs.windows.net and Windows Azure Domain.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">But still I
            get an error when I project the user to O365.<br>
            I used the example from GitHub and configured it with my
            settings.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">The error I
            get is: Generic error in connector: ICF did not returned UID
            after create.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">The full
            error text is attached in the mail, together with the
            Resource file.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">I hope
            somebody can help me with this.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">Many thanks,<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">Dick Muller<o:p></o:p></span></p>
      </div>
      <div
style="mso-line-height-rule:exactly;-webkit-text-size-adjust:100%;white-space:normal;"><br>
        <table
style="background-color:#FFFFFF;border-collapse:collapse;font-size:0;line-height:16.88px;"
          border="0" cellpadding="0" cellspacing="0">
          <tbody>
            <tr>
              <td style="vertical-align:middle;" align="left">
                <table style="border-collapse:collapse;font-size:0;"
                  border="0" cellpadding="0" cellspacing="0">
                  <tbody>
                    <tr>
                      <td style="border-top:none;border-right:solid 2px
#124A7D;border-bottom:none;border-left:none;padding:0 10px 0
                        0;vertical-align:middle;line-height:normal;"
                        align="left"><a moz-do-not-send="true"
                          href="http://www.tahzoo.com" target="_blank"
                          id="LPlnk689713" style="text-decoration:none;"><img
src="cid:part1.FA8B1D6C.A324B046@evolveum.com" alt=""
                            style="min-width:96px;font-size:0;"
                            height="51" border="0" width="96"></a></td>
                      <td style="padding:10px 0 10px
                        10px;vertical-align:top;" align="left">
                        <table
                          style="border-collapse:collapse;font-size:0;"
                          border="0" cellpadding="0" cellspacing="0">
                          <tbody>
                            <tr>
                              <td style="vertical-align:top;"
                                align="left">
                                <table
style="border-collapse:collapse;font-size:13.5px;color:#606060;font-style:normal;font-weight:bold;text-decoration:none;"
                                  border="0" cellpadding="0"
                                  cellspacing="0">
                                  <tbody>
                                    <tr>
                                      <td
                                        style="vertical-align:top;text-align:left;font-family:Century
Gothic,CenturyGothic,AppleGothic,sans-serif;" align="left">Dick Muller</td>
                                    </tr>
                                    <tr
                                      style="font-size:12px;color:#808080;line-height:15px;">
                                      <td
                                        style="vertical-align:top;text-align:left;font-family:Century
Gothic,CenturyGothic,AppleGothic,sans-serif;" align="left">Senior
                                        Systems Engineer</td>
                                    </tr>
                                  </tbody>
                                </table>
                              </td>
                            </tr>
                            <tr
                              style="line-height:15px;white-space:nowrap;">
                              <td style="padding:5px 0
                                10px;vertical-align:top;" align="left">
                                <table
                                  style="border-collapse:collapse;font-size:0;"
                                  border="0" cellpadding="0"
                                  cellspacing="0">
                                  <tbody>
                                    <tr>
                                      <td style="vertical-align:top;"
                                        align="left">
                                        <table
style="border-collapse:collapse;font-size:12px;color:#124A7D;font-style:normal;font-weight:normal;text-decoration:none;"
                                          border="0" cellpadding="0"
                                          cellspacing="0">
                                          <tbody>
                                            <tr>
                                              <td
                                                style="vertical-align:top;text-align:left;font-family:Century
Gothic,CenturyGothic,AppleGothic,sans-serif;font-weight:bold;"
                                                align="left">P: </td>
                                              <td
                                                style="vertical-align:top;text-align:left;font-family:Century
Gothic,CenturyGothic,AppleGothic,sans-serif;" align="left"><a
                                                  moz-do-not-send="true"
href="tel:0031%208%2082682586" target="_blank" id="LPlnk689713"
                                                  style="color:#808080;text-decoration:none;"><strong
style="font-weight:normal;">0031 8 82682586</strong></a></td>
                                              <td
style="vertical-align:top;text-align:left;color:#808080;font-family:Century
Gothic,CenturyGothic,AppleGothic,sans-serif;" align="left"> | </td>
                                              <td
                                                style="vertical-align:top;text-align:left;font-family:Century
Gothic,CenturyGothic,AppleGothic,sans-serif;font-weight:bold;"
                                                align="left">M: </td>
                                              <td
                                                style="vertical-align:top;text-align:left;font-family:Century
Gothic,CenturyGothic,AppleGothic,sans-serif;" align="left"><a
                                                  moz-do-not-send="true"
href="tel:0031%206%2046477690" target="_blank" id="LPlnk689713"
                                                  style="color:#808080;text-decoration:none;"><strong
style="font-weight:normal;">0031 6 46477690</strong></a></td>
                                            </tr>
                                          </tbody>
                                        </table>
                                      </td>
                                    </tr>
                                    <tr>
                                      <td style="vertical-align:top;"
                                        align="left">
                                        <table
style="border-collapse:collapse;font-size:12px;color:#124A7D;font-style:normal;font-weight:normal;text-decoration:none;"
                                          border="0" cellpadding="0"
                                          cellspacing="0">
                                          <tbody>
                                            <tr>
                                              <td
                                                style="vertical-align:top;text-align:left;font-family:Century
Gothic,CenturyGothic,AppleGothic,sans-serif;font-weight:bold;"
                                                align="left">E: </td>
                                              <td
                                                style="vertical-align:top;text-align:left;font-family:Century
Gothic,CenturyGothic,AppleGothic,sans-serif;" align="left"><a
                                                  moz-do-not-send="true"
href="mailto:dick.muller@tahzoo.com" target="_blank" id="LPlnk689713"
                                                  style="color:#808080;text-decoration:none;"><strong
style="font-weight:normal;">dick.muller@tahzoo.com</strong></a></td>
                                              <td
style="vertical-align:top;text-align:left;color:#808080;font-family:Century
Gothic,CenturyGothic,AppleGothic,sans-serif;" align="left"> | </td>
                                              <td
                                                style="vertical-align:top;text-align:left;font-family:Century
Gothic,CenturyGothic,AppleGothic,sans-serif;font-weight:bold;"
                                                align="left">W: </td>
                                              <td
                                                style="vertical-align:top;text-align:left;font-family:Century
Gothic,CenturyGothic,AppleGothic,sans-serif;" align="left"><a
                                                  moz-do-not-send="true"
href="http://www.tahzoo.com" target="_blank" id="LPlnk689713"
                                                  style="color:#808080;text-decoration:none;"><strong
style="font-weight:normal;">www.tahzoo.com</strong></a></td>
                                            </tr>
                                          </tbody>
                                        </table>
                                      </td>
                                    </tr>
                                    <tr>
                                      <td style="vertical-align:top;"
                                        align="left">
                                        <table
style="border-collapse:collapse;font-size:12px;color:#124A7D;font-style:normal;font-weight:normal;text-decoration:none;"
                                          border="0" cellpadding="0"
                                          cellspacing="0">
                                          <tbody>
                                            <tr>
                                              <td
                                                style="vertical-align:top;text-align:left;font-family:Century
Gothic,CenturyGothic,AppleGothic,sans-serif;font-weight:bold;"
                                                align="left">A: </td>
                                              <td
                                                style="vertical-align:top;text-align:left;font-family:Century
Gothic,CenturyGothic,AppleGothic,sans-serif;" align="left"><a
                                                  moz-do-not-send="true"
href="https://www.google.com/maps/place/Delftechpark+37,+2628+XJ+Delft,+Netherlands/@51.997531,4.3824845,17z/data=%213m1%214b1%214m5%213m4%211s0x47c5b589ec2c237b:0x22b6e5d15befb3d5%218m2%213d51.997531%214d4.3846732"
                                                  target="_blank"
                                                  id="LPlnk689713"
                                                  style="color:#808080;text-decoration:none;"><strong
style="font-weight:normal;">Delftechpark 37I, 2628 XJ Delft, Netherlands</strong></a></td>
                                            </tr>
                                          </tbody>
                                        </table>
                                      </td>
                                    </tr>
                                  </tbody>
                                </table>
                              </td>
                            </tr>
                            <tr style="line-height:normal;">
                              <td style="vertical-align:top;"
                                align="left"><map
                                  id="map_2e3de7d5-1554-4a22-b139-28ba3e0748fa"
name="map_2e3de7d5-1554-4a22-b139-28ba3e0748fa">
                                  <area shape="rect" coords="0,0,16,16"
href="https://nl.linkedin.com/in/dickmuller" alt="LinkedIn"
                                    title="LinkedIn" target="_blank">
                                  <area shape="rect" coords="19,0,35,16"
                                    href="skype:dick-muller?chat"
                                    alt="Skype" title="Skype"
                                    target="_blank">
                                  <area shape="rect" coords="38,0,54,16"
href="http://www.twitter.com/MullerDick" alt="Twitter" title="Twitter"
                                    target="_blank">
                                </map>
                                <img
                                  usemap="#map_2e3de7d5-1554-4a22-b139-28ba3e0748fa"
src="cid:part8.90919EFE.303AC4B8@evolveum.com" alt=""
                                  style="min-width:57px;font-size:0;"
                                  height="16" border="0" width="57"></td>
                            </tr>
                          </tbody>
                        </table>
                      </td>
                    </tr>
                  </tbody>
                </table>
              </td>
            </tr>
          </tbody>
        </table>
        <br>
      </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>