title: Duplicated users in Azure AD
body: <p>I've set up Azure AD Connect on my server and synced users to Azure AD.</p>
  <p>Now I have several users which are duplicated - for example</p>
  <pre><code>Name: John Doe
  User principal name: john.doe@company.com
  Directory synced: No
  
  Name: John Doe
  User principal name: john.doe3317@company.onmicrosoft.com
  Directory synced: Yes
  </code></pre>
  <p>It seams like the latter is synced but with wrong &quot;user principal name&quot;.</p>
  <p>Question 1:
  Can I just delete both accounts and let it sync again?</p>
  <p>Question 2:
  If I delete a user in Azure AD, will it delete the user in Office 365 and all their mails?</p>