SOLVED: VIDEO: What are Dynamic Distribution Lists & How To Show Members Email Addresses in Office365 Hosted Exchange

If you have ever worked on Dynamic Distribution Lists (aka Dynamic Distribution Groups) in a hosted Exchange environment like Office 365, you will know that there is no method of listing the users emails in that distribution group, inside the Exchange web console.  In the video below we explain:

  1. What Dynamic Distribution Groups are
  2. How to create a Dynamic Distribution List
  3. How to list the emails in a Dynamic Distribution List
  4. How Office365 interacts with Azure Active Directory

How to list the emails in a Dynamic Distribution List

Open a POWER SHELL as an administrator then enter these commands pressing ENTER after each one:

  1. Set-ExecutionPolicy RemoteSigned
  2. $UserCredential = Get-Credential
  3. $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection
  4. Import-PSSession $Session -DisableNameChecking
  5. $MyQuery = Get-DynamicDistributionGroup "< YOUR DDG>"
  6. Get-Recipient -RecipientPreviewFilter $MyQuery.RecipientFilter -OrganizationalUnit $FTE.RecipientContainer

 

View Comments

Published by
Ian Matthews

This website uses cookies.