From 77cb38d33796c4485cf3a755f564f6a474ed54e6 Mon Sep 17 00:00:00 2001 From: Andy Wang Date: Fri, 27 Sep 2024 09:07:04 -0700 Subject: [PATCH 1/3] Add missin params to teams ai policy cmdlet docs --- teams/teams-ps/teams/Get-CsTeamsAIPolicy.md | 31 +++++++++++++++++++ teams/teams-ps/teams/New-CsTeamsAIPolicy.md | 31 ++++++++++++++++++- .../teams-ps/teams/Remove-CsTeamsAIPolicy.md | 2 +- 3 files changed, 62 insertions(+), 2 deletions(-) diff --git a/teams/teams-ps/teams/Get-CsTeamsAIPolicy.md b/teams/teams-ps/teams/Get-CsTeamsAIPolicy.md index 67c7cf4f6b..7d6b1fb702 100644 --- a/teams/teams-ps/teams/Get-CsTeamsAIPolicy.md +++ b/teams/teams-ps/teams/Get-CsTeamsAIPolicy.md @@ -36,6 +36,37 @@ Retrieves Teams AI policies, shows "EnrollFace" and "EnrollVoice" values. ## PARAMETERS +### -Identity +Identity of the Teams AI policy. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filter +Enables you to use wildcard characters when indicating the policy (or policies) to be returned. +To return a collection of all the per-user policies, use this syntax: -Filter "tag:*". + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/teams/teams-ps/teams/New-CsTeamsAIPolicy.md b/teams/teams-ps/teams/New-CsTeamsAIPolicy.md index 22574f45ef..3c1d8f5e1c 100644 --- a/teams/teams-ps/teams/New-CsTeamsAIPolicy.md +++ b/teams/teams-ps/teams/New-CsTeamsAIPolicy.md @@ -33,7 +33,6 @@ 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 ### -Identity @@ -51,6 +50,36 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -EnrollFace +Policy value of the Teams AI EnrollFace policy. EnrollFace controls user access to user face enrollment in the Teams app settings. + +```yaml +Type: Boolean +Parameter Sets: ("Enabled","Disabled") +Aliases: + +Required: True +Position: Named +Default value: Enabled +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. + +```yaml +Type: Boolean +Parameter Sets: ("Enabled","Disabled") +Aliases: + +Required: True +Position: Named +Default value: Enabled +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/teams/teams-ps/teams/Remove-CsTeamsAIPolicy.md b/teams/teams-ps/teams/Remove-CsTeamsAIPolicy.md index f2620f0b43..dc52c7aae4 100644 --- a/teams/teams-ps/teams/Remove-CsTeamsAIPolicy.md +++ b/teams/teams-ps/teams/Remove-CsTeamsAIPolicy.md @@ -18,7 +18,7 @@ This cmdlet deletes a Teams AI policy. ## SYNTAX ``` -Remove-CsTeamsAIPolicy -Identity +Remove-CsTeamsAIPolicy -Identity ``` ## DESCRIPTION From 9f697106f365d2a32a2d3b2180192274ed497305 Mon Sep 17 00:00:00 2001 From: Andy Wang Date: Fri, 27 Sep 2024 09:48:59 -0700 Subject: [PATCH 2/3] Add description to all teams ai policy cmdlet docs --- teams/teams-ps/teams/Get-CsTeamsAIPolicy.md | 2 ++ teams/teams-ps/teams/Grant-CsTeamsAIPolicy.md | 2 ++ teams/teams-ps/teams/New-CsTeamsAIPolicy.md | 3 +++ teams/teams-ps/teams/Remove-CsTeamsAIPolicy.md | 2 ++ teams/teams-ps/teams/Set-CsTeamsAIPolicy.md | 2 ++ 5 files changed, 11 insertions(+) diff --git a/teams/teams-ps/teams/Get-CsTeamsAIPolicy.md b/teams/teams-ps/teams/Get-CsTeamsAIPolicy.md index 7d6b1fb702..42d69a4e29 100644 --- a/teams/teams-ps/teams/Get-CsTeamsAIPolicy.md +++ b/teams/teams-ps/teams/Get-CsTeamsAIPolicy.md @@ -23,6 +23,8 @@ Get-CsTeamsAIPolicy ## 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 retrieves all Teams AI policies for current tenant. ## EXAMPLES diff --git a/teams/teams-ps/teams/Grant-CsTeamsAIPolicy.md b/teams/teams-ps/teams/Grant-CsTeamsAIPolicy.md index fec9c8c784..2f7ae10939 100644 --- a/teams/teams-ps/teams/Grant-CsTeamsAIPolicy.md +++ b/teams/teams-ps/teams/Grant-CsTeamsAIPolicy.md @@ -39,6 +39,8 @@ Grant-CsTeamsAIPolicy [[-PolicyName] ] [-Global] [-Force] [ ``` ## 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 diff --git a/teams/teams-ps/teams/Remove-CsTeamsAIPolicy.md b/teams/teams-ps/teams/Remove-CsTeamsAIPolicy.md index dc52c7aae4..24fadb40d8 100644 --- a/teams/teams-ps/teams/Remove-CsTeamsAIPolicy.md +++ b/teams/teams-ps/teams/Remove-CsTeamsAIPolicy.md @@ -23,6 +23,8 @@ Remove-CsTeamsAIPolicy -Identity ## 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 deletes a Teams AI policy with the specified identity string. ## EXAMPLES diff --git a/teams/teams-ps/teams/Set-CsTeamsAIPolicy.md b/teams/teams-ps/teams/Set-CsTeamsAIPolicy.md index 7ba6303197..31719e8558 100644 --- a/teams/teams-ps/teams/Set-CsTeamsAIPolicy.md +++ b/teams/teams-ps/teams/Set-CsTeamsAIPolicy.md @@ -26,6 +26,8 @@ Set-CsTeamsAIPolicy ## 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 From 0444085f70d2fd93dd715b5447ce44cf5e6300c5 Mon Sep 17 00:00:00 2001 From: Andy Wang Date: Fri, 27 Sep 2024 12:33:57 -0700 Subject: [PATCH 3/3] Fix related links --- teams/teams-ps/teams/Get-CsTeamsAIPolicy.md | 6 +++--- teams/teams-ps/teams/Grant-CsTeamsAIPolicy.md | 6 +++--- teams/teams-ps/teams/New-CsTeamsAIPolicy.md | 8 ++++---- teams/teams-ps/teams/Remove-CsTeamsAIPolicy.md | 6 +++--- teams/teams-ps/teams/Set-CsTeamsAIPolicy.md | 6 +++--- 5 files changed, 16 insertions(+), 16 deletions(-) diff --git a/teams/teams-ps/teams/Get-CsTeamsAIPolicy.md b/teams/teams-ps/teams/Get-CsTeamsAIPolicy.md index 42d69a4e29..6e4bcec979 100644 --- a/teams/teams-ps/teams/Get-CsTeamsAIPolicy.md +++ b/teams/teams-ps/teams/Get-CsTeamsAIPolicy.md @@ -80,8 +80,8 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable [New-CsTeamsAIPolicy](New-CsTeamsAIPolicy.md) -[Remove-CsTeamsAIPolicy](Remove-CsTeamsAIPolicy.yml) +[Remove-CsTeamsAIPolicy](Remove-CsTeamsAIPolicy.md) -[Set-CsTeamsAIPolicy](Set-CsTeamsAIPolicy.yml) +[Set-CsTeamsAIPolicy](Set-CsTeamsAIPolicy.md) -[Grant-CsTeamsAIPolicy](Grant-CsTeamsAIPolicy.yml) \ No newline at end of file +[Grant-CsTeamsAIPolicy](Grant-CsTeamsAIPolicy.md) \ No newline at end of file diff --git a/teams/teams-ps/teams/Grant-CsTeamsAIPolicy.md b/teams/teams-ps/teams/Grant-CsTeamsAIPolicy.md index 2f7ae10939..70e79c1bc9 100644 --- a/teams/teams-ps/teams/Grant-CsTeamsAIPolicy.md +++ b/teams/teams-ps/teams/Grant-CsTeamsAIPolicy.md @@ -185,8 +185,8 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable [New-CsTeamsAIPolicy](New-CsTeamsAIPolicy.md) -[Remove-CsTeamsAIPolicy](Remove-CsTeamsAIPolicy.yml) +[Remove-CsTeamsAIPolicy](Remove-CsTeamsAIPolicy.md) -[Get-CsTeamsAIPolicy](Get-CsTeamsAIPolicy.yml) +[Get-CsTeamsAIPolicy](Get-CsTeamsAIPolicy.md) -[Set-CsTeamsAIPolicy](Set-CsTeamsAIPolicy.yml) \ No newline at end of file +[Set-CsTeamsAIPolicy](Set-CsTeamsAIPolicy.md) \ No newline at end of file diff --git a/teams/teams-ps/teams/New-CsTeamsAIPolicy.md b/teams/teams-ps/teams/New-CsTeamsAIPolicy.md index 3d4ffcc3ae..6bd57f21ad 100644 --- a/teams/teams-ps/teams/New-CsTeamsAIPolicy.md +++ b/teams/teams-ps/teams/New-CsTeamsAIPolicy.md @@ -88,10 +88,10 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## RELATED LINKS -[Remove-CsTeamsAIPolicy](Remove-CsTeamsAIPolicy.yml) +[Remove-CsTeamsAIPolicy](Remove-CsTeamsAIPolicy.md) -[Get-CsTeamsAIPolicy](Get-CsTeamsAIPolicy.yml) +[Get-CsTeamsAIPolicy](Get-CsTeamsAIPolicy.md) -[Set-CsTeamsAIPolicy](Set-CsTeamsAIPolicy.yml) +[Set-CsTeamsAIPolicy](Set-CsTeamsAIPolicy.md) -[Grant-CsTeamsAIPolicy](Grant-CsTeamsAIPolicy.yml) \ No newline at end of file +[Grant-CsTeamsAIPolicy](Grant-CsTeamsAIPolicy.md) \ No newline at end of file diff --git a/teams/teams-ps/teams/Remove-CsTeamsAIPolicy.md b/teams/teams-ps/teams/Remove-CsTeamsAIPolicy.md index 24fadb40d8..eaa9c06a65 100644 --- a/teams/teams-ps/teams/Remove-CsTeamsAIPolicy.md +++ b/teams/teams-ps/teams/Remove-CsTeamsAIPolicy.md @@ -64,8 +64,8 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable [New-CsTeamsAIPolicy](New-CsTeamsAIPolicy.md) -[Get-CsTeamsAIPolicy](Get-CsTeamsAIPolicy.yml) +[Get-CsTeamsAIPolicy](Get-CsTeamsAIPolicy.md) -[Grant-CsTeamsAIPolicy](Grant-CsTeamsAIPolicy.yml) +[Grant-CsTeamsAIPolicy](Grant-CsTeamsAIPolicy.md) -[Set-CsTeamsAIPolicy](Set-CsTeamsAIPolicy.yml) +[Set-CsTeamsAIPolicy](Set-CsTeamsAIPolicy.md) diff --git a/teams/teams-ps/teams/Set-CsTeamsAIPolicy.md b/teams/teams-ps/teams/Set-CsTeamsAIPolicy.md index 31719e8558..f0aef1d13b 100644 --- a/teams/teams-ps/teams/Set-CsTeamsAIPolicy.md +++ b/teams/teams-ps/teams/Set-CsTeamsAIPolicy.md @@ -116,8 +116,8 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable [New-CsTeamsAIPolicy](New-CsTeamsAIPolicy.md) -[Remove-CsTeamsAIPolicy](Remove-CsTeamsAIPolicy.yml) +[Remove-CsTeamsAIPolicy](Remove-CsTeamsAIPolicy.md) -[Get-CsTeamsAIPolicy](Get-CsTeamsAIPolicy.yml) +[Get-CsTeamsAIPolicy](Get-CsTeamsAIPolicy.md) -[Grant-CsTeamsAIPolicy](Grant-CsTeamsAIPolicy.yml) \ No newline at end of file +[Grant-CsTeamsAIPolicy](Grant-CsTeamsAIPolicy.md) \ No newline at end of file