During my short time with O365 and especially the Exchange Hybrid configuration, I did discover the one of the hardest things to do is to decide which is the best course of action for creating new mailboxes. Either create them on-prem first and then do a migration to the cloud or start from the cloud and then configure a remote mailbox at the on-prem?
Personally i do prefer creating the remote mailbox and the O365 user/mailbox at once by using the New-RemoteMailbox command. But there is something missing in the parameters , the Shared Mailbox trigger.
So for creating a mailbox in the a Hybrid environment, and then if it is needed to make a Shared on we would first connect to Exchange management shell, use the get-Credential command to set the username and credentials that you will use for the mailbox.
During the last months I came across an influx of full mailboxes. In most cases were used to relay messages from other platforms. One of those has exceeded our Organization default quota by 102% and of course the rest were at 97% to 99% of the current quota.
My first though was to change the Retention policy down to a month with the users approval and start the Managed Folder Assistant which unfortunately did not solve the issue. You can find more on that on Sam’s IT Blog.
When working with Exchange online Powershell there are several things to keep in mind:
- You can have up to 3 Sessions at the same time
- Exchange Online sessions do have restricted language mode enabled and you can find a way to solve the variable issue on michev.info
- There is a Powershell Throttle , please refer to this post on how to calculate your micro delays .