The WPO365 plugin not only serves the purpose of delegating the authentication of a WordPress user to Microsoft but it offers also a handful of highly useful features that enrich the user’s profile in WordPress or BuddyPress.
For one, the plugin can, when enabled through configuration, retrieve additional user profile fields from Microsoft Office 365 / Azure AD and add those fields as additional user meta fields in WordPress / BuddyPress.
The user is able to add fields that are not populated and save those fields manually. However, these fields may be overwritten when you as an administrator choose to synchronize users and whilst doing so to update the user information already stored in WordPress.
For further technical details please refer to the Configuration documentation https://docs.wpo365.com/article/98-synchronize-microsoft-365-azure-ad-profile-fields.