Microsoft 365 features that help users manage their subscriptions, account settings, and billing information.
Hello VP Operations,
Based on my tests and researches, it is not feasible to export distribution list members using UI interface. We can only export the members via Windows PowerShell. To do that, the steps are as follows:
- Open Windows PowerShell and connect to Exchange Online PowerShell. Here are the commands:
Install-Module ExchangeOnlineManagement (Enter Y to install the module)
Connect-ExchangeOnline (Sign in using admin account and password)
- Then run the following script to get a csv file about Distribution list.
$Groups = Get-DistributionGroup
$Groups | ForEach-Object {
$group = $_.Name
$members = ''
Get-DistributionGroupMember $group | ForEach-Object {
**$members=$\_.Name**
New-Object -TypeName PSObject -Property @{
**GroupName = $group**
**Members = $members**
**EmailAddress = $\_.PrimarySMTPAddress**
}}
} | Export-CSV "C:\DistributionGroupMember.csv" -NoTypeInformation -Encoding UTF8
Here is a screenshot about the result I got:
If you have any other requirement, please feel free to let me know.
Regards,
Seven