Export shared channels and their membership details using PowerShell

Brass Contributor

Shared channels enable members from different organizations to collaborate in a common channel. However, to maintain the security and confidentiality of information shared in these channels, it is important for administrators to closely monitor their membership and ensure only authorized users have access.

To make this task easier, I've created a PowerShell script that generates a detailed shared channel membership report. Download the script today to gain valuable insights into your shared channels and identify any potential security risks.

 

https://o365reports.com/2023/02/28/ms-teams-shared-channel-membership-report/

 

Script Highlights:

  • A single script allows you to generate shared channel reports for all teams or a specific team.

  • The script can be executed with MFA enabled accounts too. 

  • Exports output to CSV.

  • Automatically installs Microsoft Teams PowerShell module (if not installed already) upon your confirmation. 

  • It generates 2 output files. One is shared channels report, and another is shared channel membership report. 

  • The script is scheduler friendly. I.e., Credential can be passed as a parameter instead of saving inside the script.

  • Supports certificate-based authentication.

0 Replies