Skip to content

Publish main to live, Wednesday 3:30PM PDT, 09/04 #12101

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 28 commits into from
Sep 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
23d7f2e
Add TeamsAIPolicy cmdlets public docs
Aug 16, 2024
07a743b
Fix author name as github id
Aug 16, 2024
0c610bc
Fix Grant doc wording
Aug 19, 2024
6252a1c
Merge branch 'main' into add-teams-ai-cmdlet-docs
Andy447 Aug 20, 2024
de04d48
Update New-CsTeamsVoiceApplicationsPolicy.md
CLYVR Aug 21, 2024
76c94ae
Update Set-CsTeamsVoiceApplicationsPolicy.md
CLYVR Aug 21, 2024
bdf1584
Update New-CsTeamsVoiceApplicationsPolicy.md
CLYVR Aug 21, 2024
80f898f
Update New-CsTeamsVoiceApplicationsPolicy.md
CLYVR Aug 21, 2024
976fc4e
Update Set-CsTeamsVoiceApplicationsPolicy.md
CLYVR Aug 21, 2024
9ea2a59
Merge branch 'main' into add-teams-ai-cmdlet-docs
Andy447 Aug 21, 2024
36dfd86
Merge branch 'main' into add-teams-ai-cmdlet-docs
Andy447 Aug 22, 2024
1edefb5
Merge branch 'main' into add-teams-ai-cmdlet-docs
Andy447 Aug 22, 2024
30838a6
Merge branch 'main' into add-teams-ai-cmdlet-docs
Andy447 Aug 27, 2024
04cf383
Merge branch 'main' into add-teams-ai-cmdlet-docs
Andy447 Sep 3, 2024
7fdb514
Merge branch 'main' into patch-29
CLYVR Sep 3, 2024
83723b2
Merge branch 'main' into add-teams-ai-cmdlet-docs
Andy447 Sep 3, 2024
6fd477a
Update New-CsTeamsVoiceApplicationsPolicy.md
CLYVR Sep 4, 2024
dfe7f50
Update Set-CsTeamsVoiceApplicationsPolicy.md
CLYVR Sep 4, 2024
f9ef762
Merge branch 'main' into patch-29
CLYVR Sep 4, 2024
4821b61
Fixes
Sep 4, 2024
53b2ca9
Merge branch 'add-teams-ai-cmdlet-docs' of https://github.com/Andy447…
Sep 4, 2024
171e697
Merge branch 'main' into add-teams-ai-cmdlet-docs
Andy447 Sep 4, 2024
4bbb171
Merge pull request #12077 from Andy447/add-teams-ai-cmdlet-docs
Stacyrch140 Sep 4, 2024
0e55fe8
Merge branch 'main' into patch-29
Stacyrch140 Sep 4, 2024
3dda080
Merge pull request #12081 from CLYVR/patch-29
Stacyrch140 Sep 4, 2024
9039c3d
Update Set-OrganizationConfig.md
chrisda Sep 4, 2024
73bc5a3
Merge branch 'main' into chrisda
chrisda Sep 4, 2024
bcce2ec
Merge pull request #12100 from MicrosoftDocs/chrisda
chrisda Sep 4, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 34 additions & 3 deletions exchange/exchange-ps/exchange/Set-OrganizationConfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,19 @@ Accept wildcard characters: False
### -BlockMoveMessagesForGroupFolders
This parameter is available only in the cloud-based service.

{{ Fill BlockMoveMessagesForGroupFolders Description }}
The BlockMoveMessagesForGroupFolders parameter specifies whether to prevent group owners or group members from moving messages between folders in Microsoft 365 Groups. Valid values are:

- $true: Group owners or group members can't move between folders in Microsoft 365 groups (manually or vial Inbox rules).
- $false: Group owners or group members can move between folders in Microsoft 365 groups. This is the default value.

The value of this parameter is meaningful only when the value of the IsGroupFoldersAndRulesEnabled parameter is $true.

Whether group members (not just group owners) are allowed to move messages between folders in Microsoft 365 Groups also depends on the following settings:

- The value of the IsGroupMemberAllowedToEditContent parameter is $true.
- The group owner selected **All members will be able to create, edit, move, copy, and delete mail folders and rules within the group** in the properties of the group in Outlook on the web.

For more information, see [Manage Folders and Rules feature in Microsoft 365 Groups](https://learn.microsoft.com/microsoft-365/enterprise/manage-folders-and-rules-feature).

```yaml
Type: Boolean
Expand Down Expand Up @@ -2401,7 +2413,14 @@ Accept wildcard characters: False
### -IsGroupFoldersAndRulesEnabled
This parameter is available only in the cloud-based service.

{{ Fill IsGroupFoldersAndRulesEnabled Description }}
The IsGroupFoldersAndRulesEnabled specifies whether group owners (by default) can create folders and move messages (manually or by using Inbox rules) in Microsoft 365 Groups. Valid values are:

- $true: Group owners can create folders and move messages between folders in Microsoft 365 Groups.
- $false: Group owners can't create folders or move messages between folders in Microsoft 365 Groups. This is the default value.

To allow group owners to allow group users to create folders and moved messages in Microsoft 365 Groups, use the IsGroupMemberAllowedToEditContent parameter.

For more information, see [Manage Folders and Rules feature in Microsoft 365 Groups](https://learn.microsoft.com/microsoft-365/enterprise/manage-folders-and-rules-feature).

```yaml
Type: Boolean
Expand All @@ -2419,7 +2438,19 @@ Accept wildcard characters: False
### -IsGroupMemberAllowedToEditContent
This parameter is available only in the cloud-based service.

The IsGroupMemberAllowedToEditContent parameter specifies whether group owner can grant permission to members for Folders and Rules feature content edit.
The IsGroupMemberAllowedToEditContent parameter specifies whether group owners can allow group members to manage folders and messages in Microsoft 365 Groups. Valid values are:

- $true: Group owners can use the **All members will be able to create, edit, move, copy, and delete mail folders and rules within the group** setting in the group properties in Outlook on the web to allow group members to do the following tasks in Microsoft 365 Groups:
• Create, rename, move, copy, and delete folders.
• Move, copy, and delete messages manually or via Inbox rules.
• Create, edit, copy, and delete Inbox rules.
- $false: Group owners can't use the **All members will be able to create, edit, move, copy, and delete mail folders and rules within the group** setting in the group properties in Outlook on the web to allow group members to manage folders and messages in Microsoft 365 Groups. Only group owners can manage folders and messages in Microsoft 365 Groups. This is the default value.

The value of this parameter is meaningful only when the value of the IsGroupFoldersAndRulesEnabled parameter is $true.

To prevent group owners or group members from moving messages between folders manually or vial Inbox rules in Microsoft 365 Groups, use the BlockMoveMessagesForGroupFolders parameter.

For more information, see [Manage Folders and Rules feature in Microsoft 365 Groups](https://learn.microsoft.com/microsoft-365/enterprise/manage-folders-and-rules-feature).

```yaml
Type: Boolean
Expand Down
54 changes: 54 additions & 0 deletions teams/teams-ps/teams/Get-CsTeamsAIPolicy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
---
external help file: Microsoft.TeamsCmdlets.PowerShell.Custom.dll-Help.xml
Module Name: MicrosoftTeams
applicable: Microsoft Teams
title: Get-CsTeamsAIPolicy
online version: https://learn.microsoft.com/powershell/module/teams/Get-CsTeamsAIPolicy
schema: 2.0.0
author: Andy447
ms.author: andywang
---

# Get-CsTeamsAIPolicy

## SYNOPSIS

This cmdlet retrieves all Teams AI policies for current tenant.

## SYNTAX

```
Get-CsTeamsAIPolicy
```

## DESCRIPTION

This cmdlet retrieves all Teams AI policies for current tenant.

## EXAMPLES

### Example 1
```powershell
PS C:\> Get-CsTeamsAIPolicy
```

Retrieves Teams AI policies, shows "EnrollFace" and "EnrollVoice" values.

## PARAMETERS

### 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).

## INPUTS

## OUTPUTS

## RELATED LINKS

[New-CsTeamsAIPolicy](New-CsTeamsAIPolicy.md)

[Remove-CsTeamsAIPolicy](Remove-CsTeamsAIPolicy.yml)

[Set-CsTeamsAIPolicy](Set-CsTeamsAIPolicy.yml)

[Grant-CsTeamsAIPolicy](Grant-CsTeamsAIPolicy.yml)
190 changes: 190 additions & 0 deletions teams/teams-ps/teams/Grant-CsTeamsAIPolicy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,190 @@
---
external help file: Microsoft.TeamsCmdlets.PowerShell.Custom.dll-Help.xml
Module Name: MicrosoftTeams
applicable: Microsoft Teams
title: Grant-CsTeamsAIPolicy
online version: https://learn.microsoft.com/powershell/module/teams/Grant-CsTeamsAIPolicy
schema: 2.0.0
author: Andy447
ms.author: andywang
---

# Grant-CsTeamsAIPolicy

## SYNOPSIS
This cmdlet applies an instance of the Teams AI policy to users or groups in a tenant.

## SYNTAX

### Identity (Default)
```
Grant-CsTeamsAIPolicy [<CommonParameters>]
```

### GrantToUser
```
Grant-CsTeamsAIPolicy -Identity <String> [[-PolicyName] <String>] [<CommonParameters>]
```

### GrantToGroup
```
Grant-CsTeamsAIPolicy [[-PolicyName] <String>] [-Group] <String> -Rank <Int32>
[<CommonParameters>]
```

### GrantToTenant
```
Grant-CsTeamsAIPolicy [[-PolicyName] <String>] [-Global] [-Force] [<CommonParameters>]
```

## DESCRIPTION

This cmdlet applies an instance of the Teams AI policy to users or groups in a tenant.

Passes in the `Identity` of the policy instance in the `PolicyName` parameter and the user identifier in the `Identity` parameter or the group name in the `Group` parameter. One of either `Identity` or `Group` needs to be passed.

## EXAMPLES

### Example 1
```powershell
PS C:\> Grant-CsTeamsAIPolicy -PolicyName Test -Identity testuser@test.onmicrosoft.com
```

Assigns a given policy to a user.

### Example 2
```powershell
PS C:\> Grant-CsTeamsAIPolicy -Group f13d6c9d-ce76-422c-af78-b6018b4d9c80 -PolicyName Test
```

Assigns a given policy to a group.


### Example 3
```powershell
PS C:\> Grant-CsTeamsAIPolicy -Global -PolicyName Test
```

Assigns a given policy to the tenant.

### Example 4
```powershell
PS C:\> Grant-CsTeamsAIPolicy -Global -PolicyName Test
```

Note: _Using $null in place of a policy name can be used to unassigned a policy instance._

## PARAMETERS

### -Force
Suppresses the display of any non-fatal error message that might arise when running the command.

```yaml
Type: SwitchParameter
Parameter Sets: GrantToTenant
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -Global
This is the equivalent to `-Identity Global`.

```yaml
Type: SwitchParameter
Parameter Sets: GrantToTenant
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -Group
This is the identifier of the group that the policy should be assigned to.

```yaml
Type: String
Parameter Sets: GrantToGroup
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -Identity
Specifies the identity of the target user.

Example: testuser@test.onmicrosoft.com

Example: 98403f08-577c-46dd-851a-f0460a13b03d

Use the "Global" Identity if you wish to set the policy for the entire tenant.

```yaml
Type: String
Parameter Sets: GrantToUser
Aliases:

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

### -PolicyName
Specifies the name of the policy to be assigned. The PolicyName is the policy identity minus the policy scope ("tag:"), for example, a policy that has an identity of "Tag:Enabled" has a PolicyName of "Enabled".

```yaml
Type: String
Parameter Sets: GrantToUser, GrantToGroup, GrantToTenant
Aliases:

Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -Rank
The rank of the policy assignment, relative to other group policy assignments for the same policy type.

```yaml
Type: Int32
Parameter Sets: GrantToGroup
Aliases:

Required: True
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](http://go.microsoft.com/fwlink/?LinkID=113216).

## INPUTS

## OUTPUTS

## RELATED LINKS

[New-CsTeamsAIPolicy](New-CsTeamsAIPolicy.md)

[Remove-CsTeamsAIPolicy](Remove-CsTeamsAIPolicy.yml)

[Get-CsTeamsAIPolicy](Get-CsTeamsAIPolicy.yml)

[Set-CsTeamsAIPolicy](Set-CsTeamsAIPolicy.yml)
65 changes: 65 additions & 0 deletions teams/teams-ps/teams/New-CsTeamsAIPolicy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
---
external help file: Microsoft.TeamsCmdlets.PowerShell.Custom.dll-Help.xml
Module Name: MicrosoftTeams
applicable: Microsoft Teams
title: New-CsTeamsAIPolicy
online version: https://learn.microsoft.com/powershell/module/teams/New-CsTeamsAIPolicy
schema: 2.0.0
author: Andy447
ms.author: andywang
---


# New-CsTeamsAIPolicy

## SYNOPSIS
This cmdlet creates a Teams AI policy.

## SYNTAX

```powershell
New-CsTeamsAIPolicy -Identity <String>
```

## DESCRIPTION
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
```powershell
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
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
```

### 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).


## RELATED LINKS
[Remove-CsTeamsAIPolicy](Remove-CsTeamsAIPolicy.yml)

[Get-CsTeamsAIPolicy](Get-CsTeamsAIPolicy.yml)

[Set-CsTeamsAIPolicy](Set-CsTeamsAIPolicy.yml)

[Grant-CsTeamsAIPolicy](Grant-CsTeamsAIPolicy.yml)
Loading