Microsoft Updates Teams PowerShell Module to Version 5.7.0

Teams hero approved 2

Key Takeaways:

  • Microsoft Teams PowerShell module version 5.7.0 empowers IT administrators with enhanced control over user management, reporting, and organizational policy enforcement.
  • The latest version adds new ParticipantNameChange and AutoRecording parameters to the “New-CsTeamsMeetingPolicy” and “Set-CsTeamsMeetingPolicy” cmdlets.
  • Microsoft also addresses various bugs to ensure a smoother experience for IT professionals using PowerShell for Teams management.

Microsoft has announced the release of version 5.7.0 of the Microsoft Teams PowerShell module. This release introduces several new features aimed at providing IT administrators with enhanced control over user management, reporting, and adherence to organizational policies, among other improvements.

Microsoft Teams PowerShell module is a set of cmdlets that enables IT admins to manage Microsoft Teams with PowerShell scripts. It helps administrators perform various tasks like user and group management, Teams and channel management, messaging and meeting policies, guest access, as well as compliance and auditing.

Microsoft explained that the output of the Get-CsOnlineUser cmdlet now includes a reference to the user’s Administrative Unit membership. The Get-CsOnlineUser cmdlet allows users to retrieve information about user accounts. Microsoft Entra ID (Azure AD) Administrative Units are containers that allow organizations to better manage subsets of users.

Microsoft Teams PowerShell module version 5.7.0 adds two new parameters to the “New-CsTeamsMeetingPolicy” and “Set-CsTeamsMeetingPolicy” cmdlets. The AutoRecording parameter helps to ensure that the meeting recording starts automatically without any manual intervention. Moreover, the ParticipantNameChange parameter lets IT admins control whether participants can change their display names during Teams meetings.

What’s new in Microsoft Teams PowerShell Module version 5.7.0

You can find the full changelog for this 5.7.0 release below:

  • Removes deprecated ExternalAccessPrefix and OptimizeDeviceDialing parameters from [New|Set]-CsTenantDialPlan cmdlets.
  • Fixes Get-CsTenantDialPlan cmdlet to return correct format of dial plan policy.
  • Adds AdministrativeUnitReference to Get-CsOnlineUser output. This is currently populated in the commercial environments only.
  • Fixes an issue with Connect-MicrosoftTeams to display the relevant TenantId, when authenticated using Managed Service Identity.
  • Fixes the error in Sync-CsOnlineApplicationInstance output.
  • Contains a new implementation of [New|Get|Set|Remove|Grant]-CsTeamsVdiPolicy cmdlets. Functionality remains the same as previous implementation.
  • Adds NumberSource output attribute to the Get-CsPhoneNumberAssignment cmdlet.
  • Adds CreateCustomEmojis and DeleteCustomEmojis parameters to [New|Set]-CsTeamsMessagingPolicy.
  • Adds ParticipantNameChange and AutoRecording parameters to [New|Set]-CsTeamsMeetingPolicy.
  • Fixes a bug in Get-Team cmdlet where duplicate progress record was appearing.
  • Fixes token expiry issue with Get-Team cmdlet.

As always, you can use the Install-Module command to download the latest version of the Microsoft Teams PowerShell module. If you want to learn more about creating and managing teams using PowerShell, we invite you to check out this support page.