Skip to content

Commit 1fa2095

Browse files
authored
Merge pull request #12101 from MicrosoftDocs/main
Publish main to live, Wednesday 3:30PM PDT, 09/04
2 parents 0433d7a + bcce2ec commit 1fa2095

8 files changed

+546
-9
lines changed

exchange/exchange-ps/exchange/Set-OrganizationConfig.md

Lines changed: 34 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -772,7 +772,19 @@ Accept wildcard characters: False
772772
### -BlockMoveMessagesForGroupFolders
773773
This parameter is available only in the cloud-based service.
774774

775-
{{ Fill BlockMoveMessagesForGroupFolders Description }}
775+
The BlockMoveMessagesForGroupFolders parameter specifies whether to prevent group owners or group members from moving messages between folders in Microsoft 365 Groups. Valid values are:
776+
777+
- $true: Group owners or group members can't move between folders in Microsoft 365 groups (manually or vial Inbox rules).
778+
- $false: Group owners or group members can move between folders in Microsoft 365 groups. This is the default value.
779+
780+
The value of this parameter is meaningful only when the value of the IsGroupFoldersAndRulesEnabled parameter is $true.
781+
782+
Whether group members (not just group owners) are allowed to move messages between folders in Microsoft 365 Groups also depends on the following settings:
783+
784+
- The value of the IsGroupMemberAllowedToEditContent parameter is $true.
785+
- 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.
786+
787+
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).
776788

777789
```yaml
778790
Type: Boolean
@@ -2401,7 +2413,14 @@ Accept wildcard characters: False
24012413
### -IsGroupFoldersAndRulesEnabled
24022414
This parameter is available only in the cloud-based service.
24032415

2404-
{{ Fill IsGroupFoldersAndRulesEnabled Description }}
2416+
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:
2417+
2418+
- $true: Group owners can create folders and move messages between folders in Microsoft 365 Groups.
2419+
- $false: Group owners can't create folders or move messages between folders in Microsoft 365 Groups. This is the default value.
2420+
2421+
To allow group owners to allow group users to create folders and moved messages in Microsoft 365 Groups, use the IsGroupMemberAllowedToEditContent parameter.
2422+
2423+
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).
24052424

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

2422-
The IsGroupMemberAllowedToEditContent parameter specifies whether group owner can grant permission to members for Folders and Rules feature content edit.
2441+
The IsGroupMemberAllowedToEditContent parameter specifies whether group owners can allow group members to manage folders and messages in Microsoft 365 Groups. Valid values are:
2442+
2443+
- $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:
2444+
• Create, rename, move, copy, and delete folders.
2445+
• Move, copy, and delete messages manually or via Inbox rules.
2446+
• Create, edit, copy, and delete Inbox rules.
2447+
- $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.
2448+
2449+
The value of this parameter is meaningful only when the value of the IsGroupFoldersAndRulesEnabled parameter is $true.
2450+
2451+
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.
2452+
2453+
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).
24232454

24242455
```yaml
24252456
Type: Boolean
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
---
2+
external help file: Microsoft.TeamsCmdlets.PowerShell.Custom.dll-Help.xml
3+
Module Name: MicrosoftTeams
4+
applicable: Microsoft Teams
5+
title: Get-CsTeamsAIPolicy
6+
online version: https://learn.microsoft.com/powershell/module/teams/Get-CsTeamsAIPolicy
7+
schema: 2.0.0
8+
author: Andy447
9+
ms.author: andywang
10+
---
11+
12+
# Get-CsTeamsAIPolicy
13+
14+
## SYNOPSIS
15+
16+
This cmdlet retrieves all Teams AI policies for current tenant.
17+
18+
## SYNTAX
19+
20+
```
21+
Get-CsTeamsAIPolicy
22+
```
23+
24+
## DESCRIPTION
25+
26+
This cmdlet retrieves all Teams AI policies for current tenant.
27+
28+
## EXAMPLES
29+
30+
### Example 1
31+
```powershell
32+
PS C:\> Get-CsTeamsAIPolicy
33+
```
34+
35+
Retrieves Teams AI policies, shows "EnrollFace" and "EnrollVoice" values.
36+
37+
## PARAMETERS
38+
39+
### CommonParameters
40+
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).
41+
42+
## INPUTS
43+
44+
## OUTPUTS
45+
46+
## RELATED LINKS
47+
48+
[New-CsTeamsAIPolicy](New-CsTeamsAIPolicy.md)
49+
50+
[Remove-CsTeamsAIPolicy](Remove-CsTeamsAIPolicy.yml)
51+
52+
[Set-CsTeamsAIPolicy](Set-CsTeamsAIPolicy.yml)
53+
54+
[Grant-CsTeamsAIPolicy](Grant-CsTeamsAIPolicy.yml)
Lines changed: 190 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,190 @@
1+
---
2+
external help file: Microsoft.TeamsCmdlets.PowerShell.Custom.dll-Help.xml
3+
Module Name: MicrosoftTeams
4+
applicable: Microsoft Teams
5+
title: Grant-CsTeamsAIPolicy
6+
online version: https://learn.microsoft.com/powershell/module/teams/Grant-CsTeamsAIPolicy
7+
schema: 2.0.0
8+
author: Andy447
9+
ms.author: andywang
10+
---
11+
12+
# Grant-CsTeamsAIPolicy
13+
14+
## SYNOPSIS
15+
This cmdlet applies an instance of the Teams AI policy to users or groups in a tenant.
16+
17+
## SYNTAX
18+
19+
### Identity (Default)
20+
```
21+
Grant-CsTeamsAIPolicy [<CommonParameters>]
22+
```
23+
24+
### GrantToUser
25+
```
26+
Grant-CsTeamsAIPolicy -Identity <String> [[-PolicyName] <String>] [<CommonParameters>]
27+
```
28+
29+
### GrantToGroup
30+
```
31+
Grant-CsTeamsAIPolicy [[-PolicyName] <String>] [-Group] <String> -Rank <Int32>
32+
[<CommonParameters>]
33+
```
34+
35+
### GrantToTenant
36+
```
37+
Grant-CsTeamsAIPolicy [[-PolicyName] <String>] [-Global] [-Force] [<CommonParameters>]
38+
```
39+
40+
## DESCRIPTION
41+
42+
This cmdlet applies an instance of the Teams AI policy to users or groups in a tenant.
43+
44+
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.
45+
46+
## EXAMPLES
47+
48+
### Example 1
49+
```powershell
50+
PS C:\> Grant-CsTeamsAIPolicy -PolicyName Test -Identity testuser@test.onmicrosoft.com
51+
```
52+
53+
Assigns a given policy to a user.
54+
55+
### Example 2
56+
```powershell
57+
PS C:\> Grant-CsTeamsAIPolicy -Group f13d6c9d-ce76-422c-af78-b6018b4d9c80 -PolicyName Test
58+
```
59+
60+
Assigns a given policy to a group.
61+
62+
63+
### Example 3
64+
```powershell
65+
PS C:\> Grant-CsTeamsAIPolicy -Global -PolicyName Test
66+
```
67+
68+
Assigns a given policy to the tenant.
69+
70+
### Example 4
71+
```powershell
72+
PS C:\> Grant-CsTeamsAIPolicy -Global -PolicyName Test
73+
```
74+
75+
Note: _Using $null in place of a policy name can be used to unassigned a policy instance._
76+
77+
## PARAMETERS
78+
79+
### -Force
80+
Suppresses the display of any non-fatal error message that might arise when running the command.
81+
82+
```yaml
83+
Type: SwitchParameter
84+
Parameter Sets: GrantToTenant
85+
Aliases:
86+
87+
Required: False
88+
Position: Named
89+
Default value: None
90+
Accept pipeline input: False
91+
Accept wildcard characters: False
92+
```
93+
94+
### -Global
95+
This is the equivalent to `-Identity Global`.
96+
97+
```yaml
98+
Type: SwitchParameter
99+
Parameter Sets: GrantToTenant
100+
Aliases:
101+
102+
Required: True
103+
Position: 0
104+
Default value: None
105+
Accept pipeline input: False
106+
Accept wildcard characters: False
107+
```
108+
109+
### -Group
110+
This is the identifier of the group that the policy should be assigned to.
111+
112+
```yaml
113+
Type: String
114+
Parameter Sets: GrantToGroup
115+
Aliases:
116+
117+
Required: True
118+
Position: 0
119+
Default value: None
120+
Accept pipeline input: False
121+
Accept wildcard characters: False
122+
```
123+
124+
### -Identity
125+
Specifies the identity of the target user.
126+
127+
Example: testuser@test.onmicrosoft.com
128+
129+
Example: 98403f08-577c-46dd-851a-f0460a13b03d
130+
131+
Use the "Global" Identity if you wish to set the policy for the entire tenant.
132+
133+
```yaml
134+
Type: String
135+
Parameter Sets: GrantToUser
136+
Aliases:
137+
138+
Required: True
139+
Position: Named
140+
Default value: None
141+
Accept pipeline input: False
142+
Accept wildcard characters: False
143+
```
144+
145+
### -PolicyName
146+
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".
147+
148+
```yaml
149+
Type: String
150+
Parameter Sets: GrantToUser, GrantToGroup, GrantToTenant
151+
Aliases:
152+
153+
Required: False
154+
Position: 1
155+
Default value: None
156+
Accept pipeline input: False
157+
Accept wildcard characters: False
158+
```
159+
160+
### -Rank
161+
The rank of the policy assignment, relative to other group policy assignments for the same policy type.
162+
163+
```yaml
164+
Type: Int32
165+
Parameter Sets: GrantToGroup
166+
Aliases:
167+
168+
Required: True
169+
Position: Named
170+
Default value: None
171+
Accept pipeline input: False
172+
Accept wildcard characters: False
173+
```
174+
175+
### CommonParameters
176+
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).
177+
178+
## INPUTS
179+
180+
## OUTPUTS
181+
182+
## RELATED LINKS
183+
184+
[New-CsTeamsAIPolicy](New-CsTeamsAIPolicy.md)
185+
186+
[Remove-CsTeamsAIPolicy](Remove-CsTeamsAIPolicy.yml)
187+
188+
[Get-CsTeamsAIPolicy](Get-CsTeamsAIPolicy.yml)
189+
190+
[Set-CsTeamsAIPolicy](Set-CsTeamsAIPolicy.yml)
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
---
2+
external help file: Microsoft.TeamsCmdlets.PowerShell.Custom.dll-Help.xml
3+
Module Name: MicrosoftTeams
4+
applicable: Microsoft Teams
5+
title: New-CsTeamsAIPolicy
6+
online version: https://learn.microsoft.com/powershell/module/teams/New-CsTeamsAIPolicy
7+
schema: 2.0.0
8+
author: Andy447
9+
ms.author: andywang
10+
---
11+
12+
13+
# New-CsTeamsAIPolicy
14+
15+
## SYNOPSIS
16+
This cmdlet creates a Teams AI policy.
17+
18+
## SYNTAX
19+
20+
```powershell
21+
New-CsTeamsAIPolicy -Identity <String>
22+
```
23+
24+
## DESCRIPTION
25+
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.
26+
27+
## EXAMPLES
28+
29+
### Example 1
30+
```powershell
31+
PS C:\> New-CsTeamsAIPolicy -Identity Test
32+
```
33+
Creates a new Teams AI policy with the specified identity.
34+
The newly created policy with value will be printed on success.
35+
36+
37+
## PARAMETERS
38+
39+
### -Identity
40+
Identity of the Teams AI policy.
41+
42+
```yaml
43+
Type: String
44+
Parameter Sets: (All)
45+
Aliases:
46+
47+
Required: True
48+
Position: Named
49+
Default value: None
50+
Accept pipeline input: False
51+
Accept wildcard characters: False
52+
```
53+
54+
### CommonParameters
55+
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).
56+
57+
58+
## RELATED LINKS
59+
[Remove-CsTeamsAIPolicy](Remove-CsTeamsAIPolicy.yml)
60+
61+
[Get-CsTeamsAIPolicy](Get-CsTeamsAIPolicy.yml)
62+
63+
[Set-CsTeamsAIPolicy](Set-CsTeamsAIPolicy.yml)
64+
65+
[Grant-CsTeamsAIPolicy](Grant-CsTeamsAIPolicy.yml)

0 commit comments

Comments
 (0)