Constrained Language Mode and Teams Scripts Validation

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

1 answer

Sort by: Oldest
  1. Rich Matheisen 36,256 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