New-CsTeamsAIPolicy

This cmdlet creates a Teams AI policy.

Syntax

New-CsTeamsAIPolicy
   -Identity <String>
   [<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 creates a Teams AI policy. If you get an error that the policy already exists, it means that the policy already exists for your tenant. In this case, run Get-CsTeamsAIPolicy.

Examples

Example 1

PS C:\> New-CsTeamsAIPolicy -Identity Test

Creates a new Teams AI policy with the specified identity. The newly created policy with value will be printed on success.

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