Set-CsTeamsAIPolicy

This cmdlet Set Teams AI policy value for current tenant.

Syntax

Set-CsTeamsAIPolicy
   [[-Identity] <string>]
   [-EnrollFace <Boolean>]
   [-EnrollVoice <Boolean>]
   [<CommonParameters>]

Description

The new csTeamsAIPolicy will replace the existing enrollment settings in csTeamsMeetingPolicy, providing enhanced flexibility and control for Teams meeting administrators. Unlike the current single setting, EnrollUserOverride, which applies to both face and voice enrollment, the new policy introduces two distinct settings: EnrollFace and EnrollVoice. These can be individually set to Enabled or Disabled, offering more granular control over biometric enrollments. In addition to improving the management of face and voice data, the csTeamsAIPolicy is designed to support future AI-related settings in Teams, making it a scalable solution for evolving needs.

This cmdlet sets the Teams AI policy EnrollFace and EnrollVoice value for the tenant. The values of EnrollFace and EnrollVoice can be set to "Enabled" or "Disabled".

Examples

Example 1

PS C:\> Set-CsTeamsAIPolicy -Identity Global -EnrollFace Disabled

Set Teams AI policy "EnrollFace" value to "Disabled" for global as default.

Example 2

PS C:\> Set-CsTeamsAIPolicy -Identity Global -EnrollVoice Disabled

Set Teams AI policy "EnrollVoice" value to "Disabled" for global as default.

Example 3

PS C:\> Set-CsTeamsAIPolicy -Identity Test -EnrollFace Enabled

Set Teams AI policy "EnrollFace" value to "Enabled" for identity "Test".

Example 4

PS C:\> Set-CsTeamsAIPolicy -Identity Test -EnrollVoice Enabled

Set Teams AI policy "EnrollVoice" value to "Enabled" for identity "Test".

Example 5

PS C:\> Set-CsTeamsAIPolicy -Identity Test -EnrollFace Disabled

Set Teams AI policy "EnrollFace" value to "Disabled" for identity "Test".

Example 6

PS C:\> Set-CsTeamsAIPolicy -Identity Test -EnrollVoice Disabled

Set Teams AI policy "EnrollVoice" value to "Disabled" for identity "Test".

Parameters

-EnrollFace

Policy value of the Teams AI EnrollFace policy. EnrollFace controls user access to user face enrollment in the Teams app settings.

Type:Boolean
Position:Named
Default value:Enabled
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-EnrollVoice

Policy value of the Teams AI EnrollVoice policy. EnrollVoice controls user access to user voice enrollment in the Teams app settings.

Type:Boolean
Position:Named
Default value:Enabled
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Identity

Identity of the Teams AI policy.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False