web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

"Update users from Microsoft 365" causes duplicate users to be created

(0) ShareShare
ReportReport
Posted on by 16

Hi,

Recently a former staff member has rejoined our company. I'm tasked with reactivating her account in Microsoft 365. After I did this, I logged into Business Central and selected "Update users from Microsoft 365" to get the most up to date information (e.g. to sync BC and Microsoft 365 together).

What happened is that a new user gets created in Business Central instead. As her email is the same, they only differ by the case of her name. Initially only the account is Gerri@theemail.com exists, but now this account and gerri@theemail.com exists. (small g vs capital G).

I was wondering if there is a reason why a duplicate account (with email differing by the case) be created instead of the capital G one being reactivated? If I delete the small g account and then click on the "Update users" link, it reappears.

To solve this problem, would I have to make changes in Business Central or would it have to be done in the Microsoft 365 level?

Jason

I have the same question (1)
  • Suggested answer
    Marco Mels Profile Picture
    Microsoft Employee on at

    Hello,

    That looks like an issue. Are you able to verify via PowerShell if there are no duplicates within Office 365?

    Hope this helps already.

  • Jason Yeung Profile Picture
    16 on at

    Hi Marco,

    I talked with our IT team, who handles the Office 365 user management and was told that even though the emails are the same, when the employee left the first time, the account was deleted. When she rejoined, a new account with the same email address was created, only differing by the small g.

    It appears that when I ran the "Update users from Microsoft 365" process, because it's a new account, it creates it in Business Central. But it kept the original one. When Gerri tries to log into Business Central, it's probably getting confused as to which one to use. Is there a way to delete the original account or merge the 2 together?

    Jason

  • Verified answer
    Marco Mels Profile Picture
    Microsoft Employee on at

    Hello,

    Unfortunately not, the account is left there for audit purposes. Best probably is to undelete the initial account if still possible in Office 365, give it a unique name, update the user in BC and then delete it again from Office 365. The old / deleted account should be set to disabled in BC.

    In theory, nothing is wrong here. The deleted account is still in BC (because Gerri once logged on and maybe did do some business like posting transactions in BC). Then a new account was created with same name.

    From technical point of view, it is a new account with an unique identifier. You will see the difference once you export the users via PowerShell.

    Thanks.

  • Suggested answer
    pankaj.k Profile Picture
    1,018 on at

    Hi Jason Yeung ,

    you can do unwanted User Disable for  resolving the issue.

  • Jason Yeung Profile Picture
    16 on at

    Hi Marco,

    Thanks for the info.

    Sincerely,

    Jason

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,993 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,116 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 557 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans