<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hello Jason,<br>
      <br>
      one possible cause could be if AD connector (in your case) would
      not correctly determine "AlreadyExists" situation. The connector
      is able to do that (it is implemented in it and we've tested it
      many times) but one never knows...<br>
      <br>
      What version of AD connector do you use?<br>
      Could you share all parts of logs of the Connector Server related
      to creation of <a class="moz-txt-link-rfc2396E" href="LDAP://dc1.test.local/cn=TammySmith,OU=AAD,OU=SHPStudents,DC=TEST,DC=LOCAL">"LDAP://dc1.test.local/cn=Tammy Smith
      ,OU=AAD,OU=SHP Students,DC=TEST,DC=LOCAL"</a> ?<br>
      <br>
      Thank you,<br>
      Pavol<br>
      <br>
      On 18. 11. 2014 22:21, Jason Everling wrote:<br>
    </div>
    <blockquote
cite="mid:CAFkZXY6BS8L3-bNmA4PUzoctvOLBA-QJFY5G+Q-fF96WkPW+UA@mail.gmail.com"
      type="cite">
      <div dir="ltr">I have been doing some other testing and it seems
        when the user has the same firstname lastname the account will
        fail to create on active directory. I double-checked the code
        throughout github and it seems correct but I get the error which
        even shows that it is not adding the iterationToken to the end
        of the lastname like it should from the code,
        <div><br>
        </div>
        <div>
          <div>                <attribute></div>
          <div>                    <ref>icfs:name</ref></div>
          <div>                    <displayName>Distinguished
            Name</displayName></div>
          <div>                    <limitations></div>
          <div>                       
            <minOccurs>0</minOccurs></div>
          <div>                        <access></div>
          <div>                            <read>true</read></div>
          <div>                            <add>true</add></div>
          <div>                           
            <modify>true</modify></div>
          <div>                        </access></div>
          <div>                    </limitations></div>
          <div>                    <outbound></div>
          <div>                        <source></div>
          <div>                           
            <path>$user/givenName</path></div>
          <div>                        </source></div>
          <div>                        <source></div>
          <div>                           
            <path>$user/familyName</path></div>
          <div>                        </source></div>
          <div>                        <source></div>
          <div>                           
            <path>$user/organization</path></div>
          <div>                        </source></div>
          <div>                        <expression></div>
          <div>                            <script></div>
          <div>                                <code></div>
          <div><span class="" style="white-space:pre"> </span>'cn='+givenName+'
            '+familyName+iterationToken+' ,'+organization+''</div>
          <div>                                </code></div>
          <div>                            </script></div>
          <div>                        </expression></div>
          <div>                    </outbound></div>
          <div>                </attribute></div>
        </div>
        <div><br>
        </div>
        <div>In there error blow it should be using the persons iterator
          which is 2 so it should be trying to create it as
          <a class="moz-txt-link-freetext" href="LDAP://dc1.test.local/cn=Tammy">LDAP://dc1.test.local/cn=Tammy</a> Smith2 ,OU=AAD,OU=SHP
          Students,DC=TEST,DC=LOCAL but it is not.</div>
        <div><br>
        </div>
        <div>
          <div>2014-11-18 15:08:45,314 [MODEL] [http-bio-8080-exec-68]
            ERROR
            (com.evolveum.midpoint.model.impl.lens.ChangeExecutor):
            Error executing changes for (account (default) on
            <a class="moz-txt-link-freetext" href="resource:ef2bc95b-76e0-48e2-86d6-3d4f02d3eaef(Active">resource:ef2bc95b-76e0-48e2-86d6-3d4f02d3eaef(Active</a>
            Directory: Office 365, Google Apps, Moodle)): Can't process
            shadow: null (OID:null): Generic error in connector:
            org.identityconnectors.framework.impl.api.remote.RemoteWrappedException(The
            object already exists.</div>
          <div>: when creating <a class="moz-txt-link-freetext" href="LDAP://dc1.test.local/cn=Tammy">LDAP://dc1.test.local/cn=Tammy</a> Smith
            ,OU=AAD,OU=SHP Students,DC=TEST,DC=LOCAL)</div>
          <div>com.evolveum.midpoint.util.exception.CommunicationException:
            Can't process shadow: null (OID:null): Generic error in
            connector:
            org.identityconnectors.framework.impl.api.remote.RemoteWrappedException(The
            object already exists.</div>
          <div>: when creating <a class="moz-txt-link-freetext" href="LDAP://dc1.test.local/cn=Tammy">LDAP://dc1.test.local/cn=Tammy</a> Smith
            ,OU=AAD,OU=SHP Students,DC=TEST,DC=LOCAL)</div>
          <div><br>
          </div>
          <div>Thanks,</div>
        </div>
        <div>JASON</div>
      </div>
      <br>
      <font size="2"><br>
        <br>
        CONFIDENTIALITY NOTICE:<br>
        This e-mail together with any attachments is proprietary and
        confidential; intended for only the recipient(s) named above and
        may contain information that is privileged. You should not
        retain, copy or use this e-mail or any attachments for any
        purpose, or disclose all or any part of the contents to any
        person. Any views or opinions expressed in this e-mail are those
        of the author and do not represent those of the Baptist School
        of Health Professions. If you have received this e-mail in
        error, or are not the named recipient(s), you are hereby
        notified that any review, dissemination, distribution or copying
        of this communication is prohibited by the sender and to do so
        might constitute a violation of the Electronic Communications
        Privacy Act, 18 U.S.C. section 2510-2521. Please immediately
        notify the sender and delete this e-mail and any attachments
        from your computer. </font><br>
      <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>