Unable to delete Shared Mailboxes

%3CLINGO-SUB%20id%3D%22lingo-sub-2071929%22%20slang%3D%22en-US%22%3EUnable%20to%20delete%20Shared%20Mailboxes%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2071929%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20are%20trying%20to%20remove%20a%20shared%20mailbox%20to%20convert%20them%20into%20Groups%2C%20however%20we%20are%20getting%20this%20error%20message.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EError%3A%3C%2FP%3E%3CDIV%3EAn%20Azure%20Active%20Directory%20call%20was%20made%20to%20keep%20object%20in%20sync%20between%20Azure%20Active%20Directory%20and%20Exchange%20Online.%20However%2C%20it%20failed.%20Detailed%20error%20message%3A%20Another%20object%20with%20the%20same%20value%20for%20property%20proxyAddresses%20already%20exists.%20RequestId%20%3A%20%3CSTRIKE%3Exxxxx%26nbsp%3B%3C%2FSTRIKE%3EThe%20issue%20may%20be%20transient%20and%20please%20retry%20a%20couple%20of%20minutes%20later.%20If%20issue%20persists%2C%20please%20see%20exception%20members%20for%20more%20information.%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3ECan%20anyone%20help%20us%20why%20are%20we%20getting%20such%20error%20and%20how%20to%20successfully%20delete%20the%20shared%20mailbox.%20thank%20you%20so%20much%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2071929%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExchange%20Online%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMailboxes%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Eshared%20mailboxes%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2073199%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20delete%20Shared%20Mailboxes%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2073199%22%20slang%3D%22en-US%22%3E%3CP%3EThe%20error%20message%20suggests%20that%20you%20have%20a%20duplicate%20attribute%20conflict.%20It's%20a%20bit%20weird%20to%20see%20this%20when%20trying%20to%20delete%20an%20object%2C%20but%20it%20is%20what%20it%20is.%20Try%20removing%20the%20corresponding%20user%20object%20from%20the%20admin%20center%20or%20via%20Remove-MsolUser.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2094475%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20delete%20Shared%20Mailboxes%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2094475%22%20slang%3D%22en-US%22%3E%3CP%3EI%20filed%20a%20support%20ticket%20to%20this%20and%20the%20team%20is%20still%20looking%20into%20it.%20There%20isn't%20any%20duplicate%20value%20in%20place%20-%20however%2C%20when%20we%20ran%20a%20script%20in%20PowerShell%20the%20dualwrite%20value%20was%20set%20to%20True%2Fenabled%3A%20Not%20sure%20what%20does%20that%20means%20tho.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2094497%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20delete%20Shared%20Mailboxes%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2094497%22%20slang%3D%22en-US%22%3E%3CP%3EDid%20you%20try%20removing%20it%20via%20the%20Remove-MsolUser%20cmdlet%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

We are trying to remove a shared mailbox to convert them into Groups, however we are getting this error message. 

 

Error:

An Azure Active Directory call was made to keep object in sync between Azure Active Directory and Exchange Online. However, it failed. Detailed error message: Another object with the same value for property proxyAddresses already exists. RequestId : xxxxx The issue may be transient and please retry a couple of minutes later. If issue persists, please see exception members for more information.
 
 
Can anyone help us why are we getting such error and how to successfully delete the shared mailbox. thank you so much
4 Replies

The error message suggests that you have a duplicate attribute conflict. It's a bit weird to see this when trying to delete an object, but it is what it is. Try removing the corresponding user object from the admin center or via Remove-MsolUser.

I filed a support ticket to this and the team is still looking into it. There isn't any duplicate value in place - however, when we ran a script in PowerShell the dualwrite value was set to True/enabled: Not sure what does that means tho. 

Did you try removing it via the Remove-MsolUser cmdlet?

yes this is because of recent update from MS that they have enabled dual write feature for all tenants and this will be permanent feature as of now.
https://techcommunity.microsoft.com/t5/exchange-team-blog/exchange-online-improvements-to-accelerate...

I faced various issues like not able to add alias.

Getting error: Another object with the same value for property EmailAddresses already exists.
The issue may be transient and please retry a couple of minutes later. If issue persists, please see exception members for more information.
Cmdlet-UnableToWriteToAadException]

If you look at the error details it says "UnableToWriteToAadException". When we connect to powershell of the tenant and run command:
- Ran command: Get-OrganizationConfig | fl IsDualWriteEnabled
IsDualWriteEnabled : True

A support ticket and you need to tell MS to disable the feature. Then you can remove shared mailbox.