Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Friday, September 29, 2017 5:16 PM
I have Exchange Online and a shared mailbox with two email addresses. I want to delete the second email address (not the default one). When I click on the email and press delete, and click save, everything appears to be successful. But then I open the item up again and the email is still there. Is this a bug on the website?
All replies (13)
Sunday, October 1, 2017 1:17 PM
Hi,
Does this issue only occur on shared mailbox?
Based on my test, it works fine with my Office 365 tenant.
For testing, I recommend:
- Change other browser to double check.
- Open PowerShell to connect to Exchange Online, then remove proxy e-mail address with below similar command:
Set-Mailbox <User Mailbox> -EmailAddresses @{remove="[email protected]"}
BTW, is it an local AD or Exchange server with Office 365?
If it's a local object, we should configure it from local Exchange management tools.
Regards,
Allen Wang
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
If you have feedback for TechNet Subscriber Support, contact [email protected].
Monday, October 2, 2017 3:33 PM
This is in Exchange Online office 365.
This is the list of emails I see in powershell:
PS C:\Windows\system32> Get-Mailbox "Invoicing" | Format-List EmailAddresses
EmailAddresses : {smtp:[email protected], SMTP:[email protected]}
I want to remove [email protected]
So I ran:
Set-Mailbox "Invoicing" -EmailAddresses @{remove="[email protected]"}
But it is not removed. the command appears to succeed but the email is still there in Get-Mailbox
I have also tried:
Set-Mailbox "Invoicing" -EmailAddresses @{remove="smtp:[email protected]"}
What else could be locking this list of emails? This is not a user synced with my on Premise AD. it's just a shared mailbox created in Office 365.
Monday, October 9, 2017 6:14 AM
Thanks for your update.
How do you add this proxy address on shared mailbox?
Can you reproduce this issue on other shared mailbox or a regular mailbox?
Regards,
Allen Wang
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
If you have feedback for TechNet Subscriber Support, contact [email protected].
Wednesday, October 25, 2017 5:32 AM
get-mailbox "Invoicing" |select userprincipalname
is it showing the secondary smtp?
do you have AAD connect or ADsync in environment?
Thanks & Regards Ramandeep Singh
Tuesday, November 21, 2017 3:28 PM
Hello!
I was able to replicate the issue, and it appears to be as following:
I created [email protected] shared mailbox online.
I added [email protected] to this mailbox and made it reply address.
I attempted to remove [email protected] but it kept not saving this and just returned to having both of them. I then took a look at the first tab in the user editing- it seems we cannot remove an address that matches the alias.
I had the alias "test1", and couldn't remove [email protected]. I changed the alias to "test2" and then I was able to successfully remove the [email protected] from the shared mailbox.
Tuesday, November 21, 2017 10:11 PM
I tried this and everything above and it still shows up.
Wednesday, November 22, 2017 4:51 PM | 2 votes
So I found a solution that worked for me. There are some hidden properties you can't access from the Admin Center or Exchange Admin Center. I had to edit the WindowsEmailAddress and MicrosoftOnlineServicesID properties via powershell in order to remove the emailaddress I didn't want from the shared mailbox.
Friday, January 26, 2018 12:07 PM | 1 vote
Do you have any more info on how you did that? Links to online guide that helped?
Tuesday, February 5, 2019 9:48 PM | 3 votes
This link worked for me:
Following J.Bunne's comment on October 23 2017 08:49, what I did was as follows:
Set-Mailbox [email protected] -MicrosoftOnlineServicesID [email protected]
Ignore this warning:
"WARNING: UserPrincipalName "[email protected]" should be same as WindowsLiveID "[email protected]", UserPrincipalName should remain as"[email protected]".
Then remove the "[email protected]" email address:
Set-Mailbox [email protected] -EmailAddresses @{remove="[email protected]"}
Then to verify, the following command should show you just the one correct email address:
Get-Mailbox [email protected] | Format-List EmailAddresses
Hope it helps!
Tuesday, April 2, 2019 1:08 PM | 3 votes
I had same problem after change of email address of sharred box. This helped me. Thanks.
Open PowerShell to connect to Exchange Online
Get-Mailbox [email protected] | Format-List EmailAddresses
Get-Mailbox [email protected] | Format-List MicrosoftOnlineServicesID
Set-Mailbox [email protected] -MicrosoftOnlineServicesID [email protected]
Set-Mailbox [email protected] -EmailAddresses @{remove="smtp:[email protected]"}
Thursday, November 21, 2019 4:05 PM
Just found this post while having the exact same issue. Your answer solved my problem Stephen, thanks!
Tuesday, December 3, 2019 9:29 PM
I just had the same issure and i resolved it by changing the UPN to match the primary email address, this let me remove the secondary email address that matched the old UPN. for a shared mailbox the UPN shouldn't matter.
Thursday, January 16, 2020 1:52 PM
It worked for me. Thank you very much!!