Microsoft Teams – Get all YOUR teams using PowerShell ( Part 2) – Resolved!

After last weeks post Microsoft Teams – Get all your team sites using PnP Powershell, Now my next attempt with the all new Microsoft Teams PowerShell.

First steps first I had to install Microsoft Teams PowerShell.

I hear you say : “Give me the Url for the installer!!!”

No I’m not going to give that!

Just use the following oneliner:

Install-Module MicrosoftTeams

Make sure that you run PowerShell or PowerShell ISE as administrator.

Now we need to connect first:

Connect-MicrosoftTeams

Once you have completed the login form, you can run Get-Team

Note that this only includes your own teams and that you can’t get a full overview of all the teams even if you are not included. Even as an administrator you can’t get all the teams unless you add yourself as a member to all the teams.

Advertisements

3 thoughts on “Microsoft Teams – Get all YOUR teams using PowerShell ( Part 2) – Resolved!

Please leave a comment or feedback

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.