Link to home
Start Free TrialLog in
Avatar of Mitul Prajapati
Mitul PrajapatiFlag for Australia

asked on

Azure AD Connect & Office 365 users

Hi,

My company has local domain (company.local) and we are using office 365 for email services with user email address (user@company.com.au).

I have installed Azure AD connect for password synchronization and is working fine. but the problem is that, in Office 365 all the users email address changed from user@company.com.au to user@company.onmicrosoft.com

I am not able to change back to user@company.com.au as SET AS PRIMARY tab is gray out. Can anyone please help me with this. How can i move back company's all email address to user@company.com.au

One more doubt. Though, it is syncing with active directory, if i delete the user from active directory, will it be delete the same user email account and emails from office 365?

Thanks in Advance.
Azure-AD-connectors.jpg
SOLUTION
Avatar of Vasil Michev (MVP)
Vasil Michev (MVP)
Flag of Bulgaria image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Mitul Prajapati

ASKER

Hi Vasil,

Thanks for viewing and replying back to my question.

I have already created UPN suffix in AD domain trust from company.local to company.com.au and set all the users with .com.au UPN suffix.
Please have look in the attached snap. The created domain is also verified in Office365.

Thank you.
Verfied-domain.jpg
Domain-Trust.jpg
Office365-domain.jpg
User-Account.jpg
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi Vasil,

Please find the attached snap.

Thank you so much for your worth reply. Now all primary SMTP addresses are changed to user@company.com.au email address in office365.

I have add an account email address in user account with user@company.com.au. If i am wrong then please correct me. Is that the right way to change the primary SMTP address (Although, it works) or I need to follow your way.

After adding email address, I have noticed that, if i send an email to somebody, It is displaying the email address user@company.onmicrosoft.com instead of user@company.com.au.  Please can you help me with this as well.

You said that proxyaddresses attribute must be configure correctly.. what does it mean?

At the moment, proxyaddresses attribute is empty for all users in my case.

Thank you,
Account-Email.jpg
Email-Address.jpg
Office-365-SMTP.jpg
You have entered it under the "mail" attribute, in general you need to put it under the "proxyaddresses" one. Designate it with "SMTP:" prefix, in capital, to indicate that this is the Primary smtp address.
Hi Vasil,

I have setup "proxyaddresses" for all users as per your instruction. Now, when I want to send an email to any user, by default it fetch the SMTP email address user@company.onmicrosoft.com instead of user@company.com.au. (All users are facing the same problem)

I have deleted the user email address from my outlook address book but when i write user email address half and press CTRL + K, it again fetch the user@company.onmicrosoft.com email address. Is there any way to get back to fetch user@company.com.au.

Please checked the attached snap.

Thank you so much for you kind help. Really appreciated.
Jame-Proxyaddress.jpg
James-365-SMTP.jpg
James-Office-365.jpg
James-outlook-fetching.jpg
Outlook might need some time to reflect the changes, as it uses an Offline copy of the GAL, updated once every 24h. Best check in OWA, do you see the correct address there? The screenshots confirm everything is set correctly.
You are right. It's needed some time to reflect. Today afternoon (almost after 24 hours), i haven't noticed any user email address with user@company.onmicrosoft.com. All are now changed to user@company.com.au.

Really appreciated your help. Thank you so much for giving me your valuable time and suggestion.

Thanks.
Hopefully, this question will help to other engineer who are or will face same issue.