Microsoft Teams PowerShell Release Notes

This page provides the latest Teams PowerShell change log for both General Availability and Public Preview releases.

Release Notes

Note

-preview in the version column below represents updates to Teams PowerShell public preview.

Date Version Updates
March 2021 2.0
  • Connect-MicrosoftTeams is the entry point for all cmdlets.
  • New-csOnlineSession is no longer avaiable. It has been replaced with Connect-MicrosoftTeams.
  • Enable-csonlinesessionforreconnection is no longer required. The feature has beenn natively implemented in Teams PowerShell Module.
  • November 2020 1.1.9-preview
  • Bug fixes and improvements
  • November 2020 1.1.8-preview
  • Bug fixes and improvements
  • March 2021 2.0.0
  • Uses MSAL for authentication & authorization
  • Refactored Policy Package cmdlets and adds group package assignment
  • Significant performance enhancements for Get-Team cmdlet
  • Improved logging and debugging option for existing cmdlets
  • Added template management cmdlets
  • Deprecation of New-CsOnlineSession
  • February 2021 1.1.11-preview
  • Added template management cmdlets
  • Mezzo and batching enhancements for Get-Team cmdlet
  • Improved logging and debugging option for existing cmdlets
  • Refactored Policy Package cmdlets
  • December 2020 1.1.10-preview
  • Updates to New-team cmdlet with increased retries and sleep duration
  • December 2020 1.1.9-preview
  • Updates for Skype for Business Online Integration
  • Fix for the duplicate prompt with Connect-Microsoft Teams
  • November 2020 1.1.8-preview
  • Adds custom policy package cmdlets
  • Fixes for the targeting hierarchy upload commands
  • November 2020 1.1.7-preview
  • Uses MSAL for authentication & authorization
  • Refactored Policy Package cmdlets and adds group package assignment
  • Refactored targeting hierarchy upload commands to use an asynchronous model
  • User will be prompted twice during initial authentication when they do not use the -credential parameter. Users can pass credentials using the -credential parameter to avoid a duplicate prompt. This behavior will be fixed in the next release.
  • September 2020 1.1.6
  • Skype for Business Online Connector integration
  • September 2020 1.1.5-preview
  • Skype for Business Online Connector integration
  • July 2020 1.1.4
  • Added group policy assignment cmdlets
  • June 2020 1.1.3-preview
  • Skype for Business Online Connector integration
  • Get-Team optimizations
  • Enhanced reliability
  • June 2020 1.0.7
  • Added Cmdlet preloading
  • .Net Framework optimizations
  • April 2020 1.0.6
  • Authenticode and assembly signing
  • Added Get-CsPolicyPackage
  • Added Get-CsUserPolicyPackage
  • Added Get-CsUserPolicyPackageRecommendation
  • Added Grant-CsUserPolicyPackage
  • Added New-CsBatchPolicyPackageAssignmentOperation
  • Added Set-TeamArchivedState
  • Added Set-TeamPicture
  • Removed Get-TeamHelp
  • March 2020 1.0.5
  • Added New-CsBatchPolicyAssignmentOperation
  • Feb 2020 1.0.4
  • Get-Team optimizations
  • Cmdlet availability

    Note

    The list in the table below only includes cmdlets that are natively part of the Teams PowerShell module. The Teams cmdlets in the Skype for Business Online Connector module are not displayed. However, as those cmdlets are migrated natively into Teams PowerShell, we'll add them to this table.

    Cmdlet Available in Public Preview Available in GA
    Add-TeamChannelUser Yes No
    Add-TeamUser Yes Yes
    Add-TeamsAppInstallation Yes No
    Connect-MicrosoftTeams Yes Yes
    Disconnect-MicrosoftTeams Yes Yes
    Get-CsBatchPolicyAssignmentOperation Yes Yes
    Get-CsGroupPolicyAssignmentOperation Yes No
    Get-CsOnlinePowerShellEndpoint Yes Yes
    Get-CsPolicyPackage Yes Yes
    Get-CsUserPolicyAssignment Yes Yes
    Get-CsUserPolicyPackage Yes Yes
    Get-CsUserPolicyPackageRecommendation Yes Yes
    Get-Team Yes Yes
    Get-TeamChannel Yes Yes
    Get-TeamChannelUser Yes No
    Get-TeamUser Yes Yes
    Get-TeamsApp Yes Yes
    Get-TeamsAppInstallation Yes No
    Grant-CsUserPolicyPackage Yes Yes
    New-CsBatchPolicyAssignmentOperation Yes Yes
    New-CsGroupPolicyAssignment Yes Yes
    New-CsBatchPolicyPackageAssignmentOperation Yes Yes
    New-CsOnlineSession Yes Yes
    New-Team Yes Yes
    New-TeamChannel Yes Yes
    New-TeamsApp Yes Yes
    Remove-CsGroupPolicyAssignment Yes Yes
    Remove-Team Yes Yes
    Remove-TeamChannel Yes Yes
    Remove-TeamChannelUser Yes No
    Remove-TeamsApp Yes Yes
    Remove-TeamsAppInstallation Yes No
    Remove-TeamTargetingHierarchy Yes No
    Remove-TeamUser Yes Yes
    Set-CsGroupPolicyAssignment Yes No
    Set-Team Yes Yes
    Set-TeamArchivedState Yes Yes
    Set-TeamChannel Yes Yes
    Set-TeamPicture Yes Yes
    Set-TeamsApp Yes Yes
    Set-TeamTargetingHierarchy Yes No
    Update-TeamsAppInstallation Yes No

    Teams PowerShell Overview

    Installing Teams PowerShell

    Managing Teams with Teams PowerShell

    Microsoft Teams cmdlet reference

    Skype for Business cmdlet reference