Forum Discussion
JoshB531
Jan 05, 2024Brass Contributor
Dynamic Distribution list members
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
- Try something like this:
Get-DynamicDistributionGroupMember DDGname | select Name, DisplayName, PrimarySmtpAddress, RecipientTypeDetails
- Try something like this:
Get-DynamicDistributionGroupMember DDGname | select Name, DisplayName, PrimarySmtpAddress, RecipientTypeDetails- JoshB531Brass ContributorBrilliant, thank you that works a treat