Constrained Language Mode and Teams Scripts Validation

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

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.
4,615 questions
No comments
{count} votes

1 answer

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

    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

    No comments