Office 365 Can’t connect to the mailbox of user Mailbox database guid

This morning when I came to work 50 % of our Conf Room Displays did not show any information about the room. If it was booked or if it was available for me to book.
On the display there was an error saying that it could not connect to the mailbox and that it could have been moved. (Do not remember the hole error message.)
The room displays are using Exchange 365 Online and Web Service (EWS) to connect to the Room mailboxes.
( Exchange Web Services will not receive feature updates and Basic Authentication for EWS will be decommissioned you can read more about it here https://blogs.technet.microsoft.com/exchange/2018/07/03/upcoming-changes-to-exchange-web-services-ews-api-for-office-365 ) 

In Exchange Admin center on Resource mailboxes I could find error messages on some mailboxes

Can’t connect to the mailbox of user Mailbox database guid: 7345gh36a1-d890-41ca-af393345 because the ExchangePrincipal object contains outdated information. The mailbox may have been moved recently.

In my case the problem was solved by moving the mailbox to another mailbox DB
To do that:

1. Connect to Exchange online using Powershell

$exchangeSession = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri “https://outlook.office365.com/powershell-liveid/” -Credential $credential -Authentication “Basic” -AllowRedirection
Import-PSSession $exchangeSession

2. Move Mailbox that are having problem

New-MoveRequest -Identity test@domain.com –primaryonly

3. See the status on the mailbox move

get-moverequeststatistics

The move of the mailbox will take some time. My mailboxes was around 800 MB and it took a couple of hours.
When running get-moverequeststatistics I got the message   StalledDueToTarget_DiskLatency
But after some hours it was done.

 

Happy moving // Chris

 

This entry was posted in Office 365, Powershell. Bookmark the permalink.

Leave a Reply

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