Extract all team names

Frequent Contributor

Hi all,


I want to extract all team names and found that the below useful PowerShell script resource.


However, it is prompting for Consent on behalf of my organisation to PnP.PowerShell app. Please suggest how I can ensure to our security team that we can trust the publisher. Does it also send any notification to any users? Does organisation typically include / record in change management process for apps access?


Otherwise, I am considering this as the alternative PowerShell script which I believe does not require consent -


Many thanks!



3 Replies
I’ll also suggest using this tool to make a report of all teams with even more information!

You should worry about the consent! It’s just approving the correct permissions for the app in your tenant
Yes, as Chris said! This tool actually pulls this from the graph
Related Conversations
Block Group Communications
danthetechman in Microsoft Teams on
12 Replies
Delete Group but not Team
Ramsay Zaki in Office 365 on
5 Replies
Share screen using guest account in Teams
arielmw2 in Microsoft Teams on
1 Replies
Entire Team Disappeared
rpglennj in Microsoft Teams on
10 Replies
Extract data from multiple sheet into one with conditions
TheCarb1 in Excel on
4 Replies