Controlling settings, permissions, and membership within Teams and channels
Hello @Wendelöv, Vandana (Vino) (V.)
To export the list of members from a Microsoft Teams channel, administrative access is required. Currently, there is no built-in feature that allows a Team owner to directly export channel members, and the Teams Admin Center does not provide an option to export channel membership lists.
As a workaround, the member list can be exported using Microsoft Teams PowerShell and it would require the Microsoft Teams administrator.
Please follow these steps:
- Install the Microsoft Teams PowerShell module (if it is not already installed):
Install-Module MicrosoftTeams -Scope CurrentUser - Connect to Microsoft Teams:
Connect-MicrosoftTeams - Retrieve the Group ID of the Team by running:
Get-TeamAlternatively, the Group ID can also be obtained from the Microsoft Entra Admin Center under Groups > All groups. - Export the channel members by running:
Get-TeamChannelUser -GroupId "<GroupID>" -DisplayName "<Channel Name>" | Export-Csv "C:\Temp\TeamMembers.csv" -NoTypeInformation - Please replace:
-
<GroupID>with the Team's Group ID from the previous step. -
<Channel Name>with the exact display name of the channel.
The export file path (C:\Temp\TeamMembers.csv) can be changed to any location of your choice.
I hope this information is helpful. Please let me know if you need any assistance with the PowerShell commands or encounter any errors while running them.