Constrained Language Mode and Teams Scripts Validation

Sabat, Michal 1 Reputation point
2021-03-24T06:56:09.457+00:00

Hello. I have some Power Shell scripts that I use to manage Teams configuration. Now I want to prepare them for Constrained Language Mode.

Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,388 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Rich Matheisen 45,096 Reputation points
    2021-03-24T19:38:41.3+00:00

    Well, the first question I would ask is "has the MicrosoftTeams module been coded to work in ConstrainedLanguage mode?"

    The next question you should answer is whether the value returned from New-CsOnlineSession in the list of allowable types?

    Starting a new session would seem to violate a lot of constraints! But that's just a guess on my part.

    See about_language_modes

    0 comments No comments