Create a Dynamic Distribution Group of All Users in Office 365
- By : Dom
- Category : Office 365
- Tags: Powershell

Launch Powershell as an Administrator and connect to Office 365
Run
1 |
New-DynamicDistributionGroup -IncludedRecipients MailboxUsers -Name “AllUsers" |
That’s it – Dynamic Distribution Group created.
To check the membership of the group……
run
1 2 |
$AllUsers = Get-DynamicDistributionGroup "AllUsers" Get-Recipient -RecipientPreviewFilter $AllUsers.RecipientFilter | FT DisplayName, Alias, PrimarySMTPAddress |
No Comments