Report Teams Channels Emailaddresses with PowerShell
Hi All,
A Teams Channel does not have an Emailaddress until you click on "Get Emailaddress"
![](https://icewolffile.blob.core.windows.net/$web/202207/Teams_ChannelEmailAddresses_01.jpg)
Note that this Emailaddress is the following Format <ID>.<tenant>.onmicrosoft.com@>region>.teams.ms
You can also delete the Emailaddress from here.
Note: If you remove and add a new Address it will get another ID
![](https://icewolffile.blob.core.windows.net/$web/202207/Teams_ChannelEmailAddresses_02.jpg)
You have to confirm the removal of the Teams Channel Emailaddress
![](https://icewolffile.blob.core.windows.net/$web/202207/Teams_ChannelEmailAddresses_03.jpg)
Can you read out the same with the MicrosoftTeams PowerShell.
You can get the Channels but not the Emailaddress
Connect-MicrosoftTeams
Get-Team -DisplayName "IcewolfDemo"
Get-TeamChannel -GroupID bc8b2580-47ac-46c9-92cb-01db782d1eec
![](https://icewolffile.blob.core.windows.net/$web/202207/Teams_ChannelEmailAddresses_04.jpg)
You need to use the Microsoft Graph - in my case the Microsoft.Graph PowerShell Modules
Connect-MgGraph -Scopes Channel.ReadBasic.All, ChannelSettings.Read.All, ChannelSettings.ReadWrite.All
$Channels = Get-MgTeamChannel -TeamId $GroupId
$Channels[0] | fl
![](https://icewolffile.blob.core.windows.net/$web/202207/Teams_ChannelEmailAddresses_05.jpg)
A Channel without Emailaddress looks like this
$Channels = Get-MgTeamChannel -TeamId $GroupId
$Channels[0] | fl![](https://icewolffile.blob.core.windows.net/$web/202207/Teams_ChannelEmailAddresses_06.jpg)
To create a CSV Report of your Teams and Channels i've created a PowerShell Script and published it at my GitHub Repo
![](https://icewolffile.blob.core.windows.net/$web/202207/Teams_ChannelEmailAddresses_07.jpg)
Regards
Andres
![](https://icewolffile.blob.core.windows.net/$web/logos/teams_logo.png)