Avatar of vianceadmin
 asked on

Modify/Remove Office 365 email address

Trying to get rid of or change the smtp:emailaddress for an office 365 account...

When I look in the account on 365, I see the SMTP:emailaddress that I'm synching from local AD but I also see smtp:emailaddress too (I need to get rid of or change this).  But when I look at the local attribute for proxy address, I only see the SMTP:emailaddress...
Microsoft OfficeMicrosoft 365* Active Directory Federation Services (ADFS)Active Directory

Avatar of undefined
Last Comment

8/22/2022 - Mon

can you add test email ID as smtp:user@domain.com and check if its able to sync with O365?

U need to ensure that domain.com must be verified domain in O365.....

Else it may be possible that specifc email addres is there before you start AD account sync with O365?

Yes, I can add smtp:user@domain.com.  Now I have under the proxyAddresses:

SMTP:user1@domain.com (I changed this from user@domain.com)

But in O365, I have:

SIP:  user@domain.com
SMTP:  user1@domain.com
smtp:  user@domain.com
smtp:  user@domain.onmicrosoft.com

the smtp. user@domain.com is the one that I need to change as it's the original email (but I didn't have the smtp:user@domain.com before now) but I did add it after your suggestion above.

so now change whatever email ID you want at onpremise and sync it and check
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy

I changed the smtp:user@domain.com to smtp:user2@domain.com, synched but nothing changed in O365.  So I don't think that is being synched from AD - but I can't delete it in O365 since it "thinks" it's synched.

one more testing:
add new email address with onpremise, let sync it and ensure its populated with O365 and then delete it from onpremise and sync again and ensure its getting deleted from O365, if this works we can find out different way to delete unwanted one from O365

smtp:user2@domain.com did show up in O365.  But I still have smtp:user@domain.com too.  I added the user@domain.onmicrosoft.com.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.

Ended up just changing the delivery options - goal was just to prevent future emails and respond with an NDR (not an out of office).  Easier than changing the email in this case...Thanks for the help.

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question

there is  option: but you closed question before I tell, its last sort hence we are waiting for results of last comment, anyways...
You can delete account forcefully from cloud with Azure AD cmdlet
after that account will go in deleted users container under o365 users
once you restore it from there it become a cloud account and you can get rid of unwanted email address and resync it from existing onpremise account which is intact