I still have to look up the options for the resync; so, unfortunately I can't tell you that off the top of my head. If not I'll have to log a call with MS. You can always "override" the sync process by using the following cmdlet: Thanks for the reply, but remember - these are just Dirsync'ed users - they do not have mailboxes in O365 yet, so : 1. All changes have been made throughout AD and the email address (the new one) works, is bold in proxyAddresses, and is reflected all throughout Attribute Editor.

Click email address, and then note the … If the on-premises mailbox has an email address policy applied (that is, the EmailAddressPolicyEnabled parameter value is True or the Automatically update email addresses based on the email address policy applied to this recipient checkbox is selected for the user in Exchange Admin Center or Exchange Management Console), this means that the email address policy doesn't contain the secondary SMTP .mail.onmicrosoft.com domain in the email address policy template. It's so that if they don't have an email address set in the E-mail field on the general tab We have multiple sites accross different countries. I haven't found it in extended attributes.

domain.fr will be changed to domain.onmicrosoft.com. Joseph Palarchio http://www.itworkedinthelab.com. Thanks for the screenshots you provided in PM. To update the username, follow these additional steps: Connect to the online service with the following Like I said - their On-Premise email addresses are correct. Set mailNickName attribute on all your AD accounts, Edit the existing rule to sync proxyaddresses attribute.

We do not have on-premise exchange so i've simply added the primary smtp-address to the E-mail field in the on-premise AD I've set up Azure AD-connect and i have successfully synced one On-premise account with its corresponding office 365-account based on the SMTP-address. You need to locate the user in their OU manually - then you can right-click - select "properties" - then you will be able to see the "attributes" tab. This and also make sure the email field in AD is correct. I have read countless forums that say edit the "proxyaddresses" field for each AD user account with "SMTP:email@domain.com" for the primary address and "smtp:email@domain.com" which I can do, however when I run the resync aliases are simply not synced. $msolcred This was effective for us, and like most customers, we noticed that if we didn't have any value in the proxyAddress attribute in our local AD that the user's default email account would be an ourorg.onmicrosoft.com address. We have a problem with users on prem. We use Office 365 to host our email, previously we used AD Sync to sync users between our local AD environment and Office 365. We have one site that have ben Migrated fully to O365 - they have mailboxes in O365 and all their addresses seems to be correct.

This one seems to sum it up nicely: https://community.spiceworks.com/topic/369592-how-to-change-smtp-address-in-o365-with-dirsync-adfs-e... What's their UPN (User Principal Name)? Hi Lonut, To do this, follow these steps: Open the Exchange Admin Center on the on-premises Exchange server. When a user on prem (mailuser) is synced, the SMTP has this value SMTP:company.onmicrosoft.com. i tried Sync OU/desync OU, move users, delete users from office 365(also from recycle bin) but wihtout succes. community.office365.com/.../conversations This leads me to believe that the primary SMTP address for some of the on-premise users are not syncing to O365 properly - even though Dirync is set to sync most on-premise user attributes which includes proxyAddresses and mail attributes... Looks like I'm going to have to log a call with MS huh ? Click Mail flow, and then click Email address policies. Sep 1, 2017 at 01:36 UTC, I created a new user in my local AD which syncs with my Office 365 Exchange. How to change the Primary Email Address for an Office 365 account using Powershell. - obviously because the recipient cannot be found due to the Onmicrosoft.com primary address.