Announcements
No record found.
Is there a way to have the User Name field on the User Card automatically updated when running “Update users from Microsoft 365”?
Currently, when a user’s last name, email address, and user name are changed in Microsoft 365, all the updated information syncs to the User Card in Business Central except for the User Name field.
It would be quite tedious to manually update the User Name in Business Central each time. Is there a way to have this field included in the synchronization?
Thank you,
Christina
For the “Update Users from Microsoft 365” action in Business Central, you can absolutely run that during working hours it’s just syncing user info (like status, full name, email, and license assignments) from your Microsoft 365 tenant into BC and it doesn’t block or lock anything immediately. It can still take a while (up to many hours) to fully show everywhere because of how BC and Microsoft 365 sync works, but it won’t stop users from working while it’s running.
On the other hand, changing the actual User Name field on a User Card is something I prefer doing outside of peak business hours. That field acts like the internal key in BC, and when you edit it the system prompts that related records will be updated because it’s renaming the user across all linked data. That kind of update can be heavier on the database and may slow things down if people are actively using the system, so scheduling it for a low-usage window (after hours or on weekend) just avoids complaints and performance issues while it runs.
Hello Christina,
A). AL Extension
You can build a small BC extension that hooks into the user sync process and updates the User Name field automatically. Basically you'd override or extend the codeunit responsible for the sync.
B). Manual AL Table Extension
If you just want the User Name to mirror the Authentication Email / UPN, you can create a simple table extension on the User table that auto-fills User Name whenever Authentication Email changes.
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.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 160
André Arnaud de Cal... 65 Super User 2026 Season 1
ManoVerse 51 Super User 2026 Season 1