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
Tabs and Dark Mode
cjc2112 in Discussions on
35 Replies
Extentions Synchronization
ChirmyRam in Discussions on
3 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
9 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
29 Replies