Forum Discussion
MauryJ
Jan 27, 2025Copper Contributor
Exchange Online - Seeing all aliases of dist list
Hello all, We are preparing to sync our on prem AD distro groups and mail enabled security groups to O365, with a migration of email to EO to follow. (We already have user accounts synced via Azu...
- Jan 28, 2025
Take this:
Get-DistributionGroup -Identity "YourDistributionGroupName" | Select-Object PrimarySmtpAddress, EmailAddresses
Replace 'YourDistributionGroupName' to the distribution group you want to apply
Kidd_Ip
Jan 28, 2025MVP
Take this:
Get-DistributionGroup -Identity "YourDistributionGroupName" | Select-Object PrimarySmtpAddress, EmailAddresses
Replace 'YourDistributionGroupName' to the distribution group you want to apply
- MauryJJan 28, 2025Copper Contributor
Thank You, while this command still truncated the addresses, a slight variation did fully list them all.
Get-DistributionGroup -Identity "..." | Select-Object -ExpandProperty EmailAddresses