top of page

Exploring What's New in Microsoft Teams PowerShell Module 5.2.0

Introduction: Microsoft Teams continues to evolve as a powerful collaboration platform, and the latest release of the Microsoft Teams PowerShell Module, version 5.2.0, introduces several enhancements and updates. In this article, we will delve into the key features and changes included in this release.


Enhanced App Permission Policies: The 5.2.0 version of the Microsoft Teams PowerShell Module brings a new implementation of the following cmdlets:

  • [New|Get|Set|Remove|Grant]-CsTeamsAppPermissionPolicy. While the functionality remains the same as the previous implementation, these cmdlets offer improved performance and reliability when managing app permission policies.


BREAKING CHANGE

Upgraded Shifts Connection Management: The Teams Shifts Connection cmdlets have been updated in this release, introducing a separation between connections and connection instances. Here are the changes that apply as part of this upgrade:


  • [New|Get|Set|Update]-CsTeamsShiftsConnection cmdlets:

These cmdlets allow the creation, retrieval, modification, and update of Shifts connections.

  • [New|Set|Update]-CsTeamsShiftsConnectionInstance cmdlets:

With the addition of parameters like ConnectionId and individual sync scenario parameters, these cmdlets provide more granular control over connection instances. They no longer include the EnabledConnectorScenario, EnabledWfiScenario, and ConnectorId parameters. Additionally, these cmdlets return the updated connection instance object for better visibility and tracking.

  • Get-CsTeamsShiftsConnectionInstance cmdlet:

This cmdlet has been updated to return the updated connection instance object, enabling administrators to retrieve the latest information.

  • Get-CsTeamsShiftsConnectionErrorReport:

The ConnectionId parameter has been added to this cmdlet, enhancing the ability to troubleshoot and diagnose errors related to Shifts connections.

  • Get-CsTeamsShiftsConnectionWfmTeam:

Similarly, the ConnectionId parameter has been introduced to this cmdlet, allowing administrators to retrieve specific teams associated with a particular connection.

  • Get-CsTeamsShiftsConnectionConnector cmdlet:

This cmdlet now returns the updated supported connectors object, providing a comprehensive overview of available connectors.

  • New-CsTeamsShiftsConnectionTeamMap cmdlet (Removed):

This cmdlet has been removed from the 5.2.0 version of the module.


In addition

Expanded Functionality for Auto Attendants and Call Queues:

  • The [New|Set]-CsAutoAttendant and [New|Set]-CsCallQueue cmdlets have been updated to include a new parameter, HideAuthorizedUsers. This parameter enables administrators to hide authorised users from the auto attendant or call queue directory listing, ensuring privacy and security when necessary.

Teams Environment Configuration:

  • A new set of cmdlets, [Set|Clear]-TeamsEnvironmentConfig, has been released. These cmdlets provide the ability to configure and manage the Teams environment settings, allowing administrators to define and customise various aspects of the Teams deployment.

Teams Settings for Custom Apps:

  • The [Get|Set]-CsTeamsSettingsCustomApp cmdlets have been introduced, enabling administrators to retrieve and modify the settings for custom apps in Teams. These cmdlets offer greater control and flexibility when managing custom apps within the organisation.

Fixes for Compliance Recording Policies:

  • The ComplianceRecordingPolicy and ComplianceRecordingApplication cmdlets have been addressed and fixed in this release. This ensures that administrators can effectively manage compliance recording settings for Teams meetings, calls, and other relevant activities.

In Conclusion


The Microsoft Teams PowerShell Module 5.2.0 introduces significant improvements and new functionalities that empower administrators to manage Teams more efficiently. With enhanced app permission policies, upgraded Shifts connection management, expanded configuration options, and fixes for compliance recording, administrators can optimise Teams deployment and ensure a secure and compliant collaboration environment.


The new implementation of app permission policies streamlines the process of managing permissions for Teams apps. Administrators can efficiently grant, remove, and modify app permission policies while benefiting from enhanced reliability and performance. The separation of connections and connection instances in the Shifts Connection cmdlets brings increased granularity and control. Administrators can create, retrieve, update, and modify Shifts connections using the dedicated cmdlets. The updated connection instance cmdlets offer more specific parameters and return the updated connection instance object, providing better visibility into the Shifts connections.

Troubleshooting Shifts connections becomes more effective with the introduction of the ConnectionId parameter in the Get-CsTeamsShiftsConnectionErrorReport cmdlet. Administrators can now pinpoint errors and address them more efficiently. Furthermore, the HideAuthorizedUsers parameter in the Auto Attendant and Call Queue cmdlets allows administrators to protect the privacy and security of authorised users by hiding them from the directory listing. This ensures sensitive information remains secure within the organisation.

The new set of cmdlets, [Set|Clear]-TeamsEnvironmentConfig, empowers administrators to configure and manage various aspects of the Teams environment. This flexibility enables organisations to tailor Teams to their specific needs and optimise the collaboration experience.

The addition of [Get|Set]-CsTeamsSettingsCustomApp cmdlets allows administrators to retrieve and modify settings for custom apps in Teams. This feature offers greater control over the behaviour and configuration of custom apps, facilitating customisation and integration within the organisation's workflow.

Lastly, the fixes applied to the ComplianceRecordingPolicy and ComplianceRecordingApplication cmdlets ensure reliable management of compliance recording settings. Administrators can confidently manage compliance requirements related to Teams meetings, calls, and other activities, ensuring adherence to organisational and industry regulations.

In conclusion, the Microsoft Teams PowerShell Module 5.2.0 introduces significant improvements and new functionalities that empower administrators to manage Teams more efficiently. With enhanced app permission policies, upgraded Shifts connection management, expanded configuration options, and fixes for compliance recording, administrators can optimise Teams deployment and ensure a secure and compliant collaboration environment.

More information can be found here.


4 views0 comments
bottom of page