I am trying to get Microsoft Teams usage report using PowerShell. To do so, initially I am connecting to Teams with "Connect-MicrosoftTeams", then to see the cmdlets i executed the command "Get-Command -Module MicrosoftTeams". Both cmdlets are working fine.
But after this I am not able to proceed further, when I am trying to get GroupId using "Get-Team" , i am getting nothing. When I executed the Get-Team command it took 3 minutes 8 Second & 386 milliseconds and then the cursor got return without any output nor any error message(please see the screenshot ).
None of the cmdlets with "Get-* " is working.for example: get-Team -displayName, Get-Team -user none is working.
Please help.