Dynamic Distribution Groups

I was recently working with a customer who had setup the hybrid configuration and moved some pilot users mailboxes to Exchange Online. After moving the mailboxes he stop receiving emails sent to a dynamic distribution group.

I confirmed the list of recipients in the dynamic distribution group by running the following:

The list of recipients were all UserMailbox because the dynamic distribution group was created filtering on city and RecipientType UserMailbox.

After moving mailboxes to Exchange Online the on-prem mailbox is converted to a MailUser and no longer included in the dynamic distribution group. In order to fix this you need to update the recipient filter to include MailUser objects.

In this situation we were filtering based on city and I was able to fix the problem for each site with the following:

Don’t worry about adding back any of the additional filters like:

(-not(Name -like ‘SystemMailbox{*’)) -and (-not(Name -like ‘CAS_{*’))

(-not(RecipientTypeDetailsValue -eq ‘DiscoveryMailbox’))

(-not(RecipientTypeDetailsValue -eq ‘PublicFolderMailbox’))

(-not(RecipientTypeDetailsValue -eq ‘ArbitrationMailbox’))

(-not(RecipientTypeDetailsValue -eq ‘AuditLogMailbox’))

These get automatically added back into the filter for you.

Hybrid Exchange

Completing individual move request

Exchange Online was updated recently and I have now changed the way I complete a single move request inside a batch without completing the entire batch. Previously I would run Set-MoveRequest -SuspendWhenReadyToComplete $false and Resume-MoveRequest

Now with the new batch creations the scheduling options mean that method no longer works and the move request remains synced. Here is a screen shot of the new options available when scheduling a batch:

Exchange Online will synchronize the content from Exchange on-premises to the cloud and keep them synchronized with subsequent incremental syncs. Now if I want to complete one move request from the batch without completing the entire batch you can perform the following:

If you know a date and time (September 14th 11pm) you want the one mailbox to complete you can set the date and time: