1

My question concerns the management of teams in MS Teams: I want to use Get-Team in PowerShell to retrieve all teams in my environment. Can someone explain to me what the -NumberOfThreads attribute does? What is the difference between Get-Team, Get-Team -NumberOfThreads 1 and Get-Team -NumberOfThreads 20? Unfortunately, the documentation doesn't really help me.

Can I use this to solve my problem that Get-Team only retrieves just over half of the teams, after which the error "too many request" always appears? I estimate that this is due to a limitation in the API, as there are almost 2000 teams in total.

Tried to read the docmentation und search the Web

3
  • This sounds like it would be really easy to test - run Get-Team with different argument values and observe if the behavior changes Commented Jul 20, 2024 at 12:46
  • Could you please confirm if your issue has resolved with above suggestions or still looking for any help? Commented Jul 25, 2024 at 14:18
  • I was actually able to solve my problem by trial and error. I was hoping that someone could tell me exactly what the parameter does. I couldn't figure it out for myself. Commented Jul 27, 2024 at 8:17

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.