Error handling in Exchange Remote PowerShell sessions

​I’m hardly an expert of PowerShell, but this topic seems to be greatly overlooked by the community. Most people seem to agree that the preferred way of error handling in PowerShell is via the try-catch-finally statement. The method is easy to use and it allows you to capture specific error …

Continue readingError handling in Exchange Remote PowerShell sessions

Additional details about the new mailbox recovery method in Exchange Online

​Earlier this year, the Exchange team revealed a new method of recovering mailboxes in Exchange Online. Improvements were made for the case in which recovering the soft-deleted mailbox failed, or was not possible due to removal of the corresponding user object. In a nutshell, the new method allows you to …

Continue readingAdditional details about the new mailbox recovery method in Exchange Online

Some improvements around Inactive mailboxes

​Inactive mailboxes were first introduced almost two years ago in Exchange Online. They are a free and easy way to make sure mailbox data is preserved in order to meet legal requirements. And they are directly exposed to the eDiscovery, unlike other solutions. Now, Microsoft has made some improvements that …

Continue readingSome improvements around Inactive mailboxes

NonExistentMailboxException can simply mean that the mailbox in an inconsistent state

Here’s an issue that’s actually very easy to investigate and fix, but might get you puzzled if you are not looking in the right place. The symptoms were that several users were suddenly unable to get free/busy information, configure OOO, get MailTips, etc. Autodiscover was failing with 401 error; trying to …

Continue readingNonExistentMailboxException can simply mean that the mailbox in an inconsistent state

You can now hide group membership for Modern groups in Office 365!

You will need to use PowerShell to enable the setting, the cmdlet is: It’s a switch parameter, so you shouldn’t leave any space in between, or you can simply run it as:   The cmdlet works against both Private and Public groups, and here is a comparison on how the …

Continue readingYou can now hide group membership for Modern groups in Office 365!