Skip to content

Commit 3366352

Browse files
authored
Merge pull request #13076 from gramirez-msft/main
Update Files related Teams policy controls
2 parents cd6303d + d39c229 commit 3366352

File tree

4 files changed

+14
-40
lines changed

4 files changed

+14
-40
lines changed

teams/teams-ps/MicrosoftTeams/New-CsTeamsFilesPolicy.md

Lines changed: 6 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Creates a new teams files policy.
1616

1717
```
1818
New-CsTeamsFilesPolicy [-NativeFileEntryPoints <String>] [-SPChannelFilesTab <String>]
19-
[-DefaultFileUploadAppId <String>] [-FileSharingInChatswithExternalUsers <String>] [-AutoShareFilesInExternalChats <String>]
19+
[-DefaultFileUploadAppId <String>] [-FileSharingInChatswithExternalUsers <String>]
2020
[-Identity] <String> [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
2121
```
2222

@@ -35,22 +35,6 @@ The command shown in Example 1 creates a per-user teams files policy CustomTeams
3535

3636
## PARAMETERS
3737

38-
### -AutoShareFilesInExternalChats
39-
40-
Indicates if file scope will be changed automatically when sharing files and loops in chats with external or guest users.
41-
42-
```yaml
43-
Type: String
44-
Parameter Sets: (All)
45-
Aliases:
46-
47-
Required: False
48-
Position: Named
49-
Default value: None
50-
Accept pipeline input: False
51-
Accept wildcard characters: False
52-
```
53-
5438
### -DefaultFileUploadAppId
5539
This can be used by the 3p apps to configure their app, so when the files will be dragged and dropped in compose, it will get uploaded in that 3P app.
5640

@@ -68,7 +52,10 @@ Accept wildcard characters: False
6852
6953
### -FileSharingInChatswithExternalUsers
7054
71-
Indicates if file sharing in chats with external users is enabled.
55+
Indicates if file sharing in chats with external users is enabled. It is by default enabled, to disable admins can run following command.
56+
```powershell
57+
Set-CsTeamsFilesPolicy -Identity Global -FileSharingInChatswithExternalUsers Disabled
58+
```
7259

7360
```yaml
7461
Type: String
@@ -77,7 +64,7 @@ Aliases:
7764

7865
Required: False
7966
Position: Named
80-
Default value: None
67+
Default value: Enabled
8168
Accept pipeline input: False
8269
Accept wildcard characters: False
8370
```

teams/teams-ps/MicrosoftTeams/New-CsTeamsMessagingPolicy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -769,7 +769,7 @@ Type: System.String
769769
Parameter Sets: (All)
770770
Required: False
771771
Position: Named
772-
Default value: Disabled
772+
Default value: Enabled
773773
Accept pipeline input: False
774774
Accept wildcard characters: False
775775
```

teams/teams-ps/MicrosoftTeams/Set-CsTeamsFilesPolicy.md

Lines changed: 6 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The policies also specify third-party app ID to allow file storage (e.g., Box).
1818

1919
```powershell
2020
Set-CsTeamsFilesPolicy [-NativeFileEntryPoints <String>] [-SPChannelFilesTab <String>]
21-
[-DefaultFileUploadAppId <String>] [-FileSharingInChatswithExternalUsers <String>] [-AutoShareFilesInExternalChats <String>]
21+
[-DefaultFileUploadAppId <String>] [-FileSharingInChatswithExternalUsers <String>]
2222
[-Identity] <String> [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
2323
```
2424

@@ -45,22 +45,6 @@ The command shown in Example 2 changes the DefaultFileUploadAppId to AppId_GUID
4545

4646
## PARAMETERS
4747

48-
### -AutoShareFilesInExternalChats
49-
50-
Indicates if file scope will be changed automatically when sharing files and loops in chats with external or guest users.
51-
52-
```yaml
53-
Type: String
54-
Parameter Sets: (All)
55-
Aliases:
56-
57-
Required: False
58-
Position: Named
59-
Default value: None
60-
Accept pipeline input: False
61-
Accept wildcard characters: False
62-
```
63-
6448
### -Confirm
6549
Prompts you for confirmation before executing the command.
6650

@@ -93,7 +77,10 @@ Accept wildcard characters: False
9377
9478
### -FileSharingInChatswithExternalUsers
9579
96-
Indicates if file sharing in chats with external users is enabled.
80+
Indicates if file sharing in chats with external users is enabled. It is by default enabled, to disable admins can run following command.
81+
```powershell
82+
Set-CsTeamsFilesPolicy -Identity Global -FileSharingInChatswithExternalUsers Disabled
83+
```
9784

9885
```yaml
9986
Type: String
@@ -102,7 +89,7 @@ Aliases:
10289

10390
Required: False
10491
Position: Named
105-
Default value: None
92+
Default value: Enabled
10693
Accept pipeline input: False
10794
Accept wildcard characters: False
10895
```

teams/teams-ps/MicrosoftTeams/Set-CsTeamsMessagingPolicy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -825,7 +825,7 @@ Type: System.String
825825
Parameter Sets: (All)
826826
Required: False
827827
Position: Named
828-
Default value: Disabled
828+
Default value: Enabled
829829
Accept pipeline input: False
830830
Accept wildcard characters: False
831831
```

0 commit comments

Comments
 (0)