PowerShell scripts for Microsoft 365

Your download is in progress and it will be complete in just a few seconds! If you face any issues, download manually here
Manage and Secure Microsoft 365 with
M365 Manager Plus
  • Please enter business email address
    By clicking 'Download 30-day free trial', you agree to processing of personal data according to the Privacy Policy. You can unsubscribe from our mails at anytime.

How to audit channels in Microsoft Teams using PowerShell

Cmdlet: Get-TeamChannel

This cmdlet returns the list of all the channels in a team. You can also query based on Membership Type.

Get-TeamChannel -GroupId <String> [-MembershipType <String>] [<CommonParameters>]

Cmdlet: Get-TeamChannelUser

This PowerShell cmdlet helps you get all the users of a channel in Microsoft Teams. (inclusive of owners and other members).

Get-TeamChannelUser -GroupId <String> -DisplayName <String> [-Role <String>] [<CommonParameters>]

Eg. Get-TeamChannelUser -GroupId 761c15c-i67c-9o7a-b3t5-hyji7fd667p -DisplayName "ManageEngine" -Role Member

This example retrieves all the non-owner members of the channel named ManageEngine under the group with the mentioned group ID.

Generating information with PowerShell scripts may require you to have appropriate permissions. It can also be complex, time-consuming and error-prone. M365 Manager Plus helps simplify auditing Microsoft Teams with its preconfigured reports.

How can M365 Manager Plus help?

M365 Manager Plus offers you comprehensive reports that help audit different facets of Microsoft Teams in a few easy clicks.The results can be filtered to display only the required columns.

You can also schedule specific reports to be generated on an hourly, daily, weekly, or monthly basis. You can choose to be notified when the reports are generated and have them delivered straight to your inbox. The reports can also be exported to various formats, including CSV, XLS, PDF, and HTML.

To list channels using M365 Manager Plus:

  1. Navigate to the Reports tab.
  2. Go to Other Services in the left pane.
  3. Select Teams Reports > Team Channels.
  4. Select the required Microsoft 365 Tenant from the drop-down box.
  5. Click Generate Now.

The Team Channels report gives you a list of all the channels in your organization. It shows details such as the Channel Display Name, Membership Type, Email, Object ID, and more. You can also directly delete channels from this list.

Team Channels Report

You can also use M365 Manager Plus' auditing feature to audit Microsoft Teams events. Create your own audit profiles to audit specific events during certain time periods and configure alerts to be notified of the critical changes made in Teams.

To audit channel creation using M365 Manager Plus:

  1. Navigate to the Audit tab.
  2. Go to Microsoft Teams in the left pane.
  3. Select Microsoft Teams Events > Added channels.
  4. Select the Period, Domains and Business Hours to generate the report.

Here are some M365 Manager Plus reports that can help audit Microsoft Teams.

  • All Teams
  • Team Channels
  • Team Sizes
  • Daily Teams User Count by Device Usage
  • Daily Teams Activities Count by Type
  • Daily Teams User Count by Activity
  • Teams User Daily Activity
  • Teams User Device Usage
  • Teams User Count by Device Type

To know more about auditing Microsoft Teams, click here.

Why businesses choose M365 Manager Plus?

What our customers say

  • We can now effectively reconcile which licenses we are using in the organization and assign the cost to the business unit. We were also able to identify a number of license changes that could be put in place that reduced our total Microsoft 365 spending.

    Timothy Ransom
    Group IT/IS manager at The Eclipse Group, United Arab Emirates

  • M365 Manager Plus is valuable to our future business and, most importantly, it allows me to keep improving the level of service we provide.

    IT infrastructure manager
    Sunstar Suisse S.A.

  • Our firm purchased ManageEngine M365 Manager Plus to help us protect our business from email-borne cyberthreats. We are absolutely satisfied with the features and ease of use. It has surpassed our expectations.

    Insurance agent
    Security and risk management Gartner review

A holistic Microsoft 365 administration solution

One-stop solution for all your
Microsoft 365 administration needs!

  • Please enter a business email id
    By clicking 'Download now', you agree to processing of personal data according to the Privacy Policy.


Your download is in progress and it will be completed in just a few seconds!
If you face any issues, download manually here