Check if SharePoint site is connected to a Microsoft Teams with PowerShell


First post of 2021, and in this brief post, we’re going to see how we can check if our SharePoint Online sites have a Microsoft Teams team associated to it. Why is it brief? Because PowerShell PnP is making it very easy! 🤩

From now on, we’re also going to focus on the new PnP PowerShell module available for PowerShell Core. This is the module we’re familiar with, but available on Windows, MacOS, or Linux!

Alright, let’s start.  


March 14th 2021: – The -Scopes parameter is now marked obsolete. Please refer to the documentation and file under the version 1.4.0: Added All Graph permissions and all SharePoint permissions for selection to Register-PnPAzureADApp.

Results in ONE command

And boom! 🧨 Here we have it!


Told you it was going to be a quick and efficient one!