Forum Discussion
Permission required to run the Microsoft Teams Powershell module
Hi All,
I have installed the Microsoft Teams PowerShell module and when I use it to fetch the list of Teams created in our tenant by running " Get-Team" command it doesn't return anything . I'm using my global admin account and it doesn't have any product license assigned to it . However ,when I try the same in a different tenant using the global admin account that has the product license assigned to it , it does return all the values . So I would like to know whether any Office 365 product license is required to make use of the Teams PowerShell module .
7 Replies
Get-Team only returns teams *you* belong to. Yes, it's crappy like that. Wait for a better version :)
- Deleted
If my account is global administrator, it should be able to query *all* teams. It's kind of useless that it currently queries only teams that I belong to.
- Forrest_HIron Contributor
I agree and that has been the biggest headache for us. How are Global Admins supposed to manage/maintain a system like this "Teams" release that basically promotes anarchy in the default form. In my opinion MS just wanted to let this monster go and see what happened. From a compliance perspective if you did not disable Teams within a month of the Release, people started creating their own Teams without understanding what was happening in the back end. It took me almost a week to figure out where to see how many sites and O365 Groups were created and who created them.
- Teams PowerShell module is currently fully functional in regards of the information you can get with Get-Team...to answer your question, you need to have the licenses required to access to Teams since Get-Team returns the Teams your user is member of