Menu Close

[SOLVED] Failed To Disable The Mailbox Due To a Conflict In Directory Settings (2022)

Wanting to know on how to solve failed to disable the mailbox due to a conflict in directory settings in Microsoft 365 mailbox?

You’re in the right place.

Failed to disable the mailbox due to a conflict in directory settings

I noticed the same error on a user account and was not sure of appropriate steps to get rid of the error and followed some steps as per Google but in vain. Fortunately, I fixed it using the the following steps.

I would recommend to check the recipient type of the affected mailbox in Exchange Online powershell.

office 365 mailbox

Great, the recipient type is user mailbox. Let’s go ahead and export the mailbox content as a pst file and disable the mailbox in on-premises using the disable-mailbox. For example, Disable-Mailbox test248.

microsoft office 365

Wait for the changes to reflect in cloud. Once it is synced, enable the on-premises object but the recipient type should be a remote user mailbox. The command is below.

Enable-remotemailbox “test248” -RemoteRoutingAddress test123@techieberry.onmicrosoft.com

outlook office 365

Wait for the sync again and assign the Exchange Online license to the user account and check the status.

microsoft office 365

The failed to disable the mailbox due to a conflict in directory settings message has disappeared now. Finally, import the pst to the user mailbox.

Now It’s Your Turn:

Did I Miss Anything? Or maybe you have a question about something that I covered.

Either way, I’d like to hear from you. So go ahead and leave a comment below.

Related Posts

4 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *