Tom Talks Microsoft Teams and Microsoft 365 news and opinions

Microsoft Teams General Availability and Preview PowerShell Modules

We have had a Teams PowerShell module for since 2017, but it has always been a preview state, using the Microsft Graph beta API

Under the covers, there are two Microsoft Graph API’s that can provide data from Microsoft teams, beta and 1.0. The beta graph API provides some abilities, not in the GA/1.0 graph API, but is, by definition beta/preview. Some customers have a requirement to not use anything beta/preview in their organisation. For this reason,  Microsoft will be maintaining both a Preview and Generally Available versions of the Microsoft Teams PowerShell module.

The preview/beta PowerShell module, using the beta graph API, will offer new preview functionality to our customers faster for testing, while the Generally Available Microsoft Teams PowerShell module continues to leverage only 1.0 Graph APIs.

the Following cmdlets are available in the GA PowerShell module.

image

Note, there have been naming and output changes compared to the preview module so scripts written for the preview will need changing/updating to run against the GA PowerShell module. Changes include:

  • Connect-MicrosoftTeams: You can now specify a Teams Government Environment (-TeamsEnvironmentName) that your organization is homed in.
  • Get-Team: We expanded the filter and selection criteria to include properties such as the Visibility or Archived state of the teams so that you can more easily identify teams that may require your attention
  • Microsoft consolidated the functionality of the following cmdlets into the Get-Team and Set-Team cmdlets
    • Get-TeamFunSettings
    • Get-TeamGuestSettings
    • Get-TeamMemberSettings
    • Get-TeamMessagingSettings
    • Set-TeamFunSettings
    • Set-TeamGuestSettings
    • Set-TeamMemberSettings
    • Set-TeamMessagingSettings

I’ve been fortunate to be testing the GA PowerShell module and have some scripts coming, stay tuned for future blogs

Preview module: https://www.powershellgallery.com/packages/MicrosoftTeams/0.9.6

GA module: https://www.powershellgallery.com/packages/MicrosoftTeams/1.0.0

Teams PowerShell Overview

Microsoft Blog: Microsoft Teams PowerShell Module General Availability

About the author

Tom Arbuthnot

A Microsoft MVP and Microsoft Certified Master, Tom Arbuthnot is Founder and Principal at Empowering.Cloud as well as a Solutions Director at Pure IP.

Tom stays up to date with industry developments and shares news and his opinions on his Tomtalks.blog, UC Today Microsoft Teams Podcast and email list. He is a regular speaker at events around the world.

  • I wish MS would hurry up and finalize their teams API to support calling/voip. Major functionality gap that no software can integrate with teams for CTI.

  • Tom Talks Microsoft Teams and Microsoft 365 news and opinions
    >