SOLVED

Dynamic Distribution list members

Brass Contributor

Hi All

 

I am trying to export members of a M365 Dynamic Distribution lists but when I try via PowerShell it will only show me the GUID. I am trying to get the display name but can't figure out how to do it. 

I have tried the following

 

 

 

 

$FTE = Get-DynamicDistributionGroup -Identity "Test Dynamic"
Get-Recipient -RecipientPreviewFilter ($FTE.RecipientFilter)

 

 

 

 

and

 

 

 

 

Get-DynamicDistributionGroupMember -Identity "Test Dynamic"

 

 

 

 

 

it show me members but only ever show me the GUID.
I've read conflicting posts online saying you have to use Microsoft Graph. 

Any help would me great. 

Thanks

2 Replies
best response confirmed by JoshB531 (Brass Contributor)
Solution
Try something like this:

Get-DynamicDistributionGroupMember DDGname | select Name, DisplayName, PrimarySmtpAddress, RecipientTypeDetails
Brilliant, thank you that works a treat
1 best response

Accepted Solutions
best response confirmed by JoshB531 (Brass Contributor)
Solution
Try something like this:

Get-DynamicDistributionGroupMember DDGname | select Name, DisplayName, PrimarySmtpAddress, RecipientTypeDetails

View solution in original post