Skip to content
Merged
25 changes: 6 additions & 19 deletions teams/teams-ps/MicrosoftTeams/New-CsTeamsFilesPolicy.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Creates a new teams files policy.

```
New-CsTeamsFilesPolicy [-NativeFileEntryPoints <String>] [-SPChannelFilesTab <String>]
[-DefaultFileUploadAppId <String>] [-FileSharingInChatswithExternalUsers <String>] [-AutoShareFilesInExternalChats <String>]
[-DefaultFileUploadAppId <String>] [-FileSharingInChatswithExternalUsers <String>]
[-Identity] <String> [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
```

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

## PARAMETERS

### -AutoShareFilesInExternalChats

Indicates if file scope will be changed automatically when sharing files and loops in chats with external or guest users.

```yaml
Type: String
Parameter Sets: (All)
Aliases:

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

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

Expand All @@ -68,7 +52,10 @@ Accept wildcard characters: False

### -FileSharingInChatswithExternalUsers

Indicates if file sharing in chats with external users is enabled.
Indicates if file sharing in chats with external users is enabled. It is by default enabled, to disable admins can run following command.
```powershell
Set-CsTeamsFilesPolicy -Identity Global -FileSharingInChatswithExternalUsers Disabled
```

```yaml
Type: String
Expand All @@ -77,7 +64,7 @@ Aliases:

Required: False
Position: Named
Default value: None
Default value: Enabled
Accept pipeline input: False
Accept wildcard characters: False
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,7 @@ Type: System.String
Parameter Sets: (All)
Required: False
Position: Named
Default value: Disabled
Default value: Enabled
Accept pipeline input: False
Accept wildcard characters: False
```
Expand Down
25 changes: 6 additions & 19 deletions teams/teams-ps/MicrosoftTeams/Set-CsTeamsFilesPolicy.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ The policies also specify third-party app ID to allow file storage (e.g., Box).

```powershell
Set-CsTeamsFilesPolicy [-NativeFileEntryPoints <String>] [-SPChannelFilesTab <String>]
[-DefaultFileUploadAppId <String>] [-FileSharingInChatswithExternalUsers <String>] [-AutoShareFilesInExternalChats <String>]
[-DefaultFileUploadAppId <String>] [-FileSharingInChatswithExternalUsers <String>]
[-Identity] <String> [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
```

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

## PARAMETERS

### -AutoShareFilesInExternalChats

Indicates if file scope will be changed automatically when sharing files and loops in chats with external or guest users.

```yaml
Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### -Confirm
Prompts you for confirmation before executing the command.

Expand Down Expand Up @@ -93,7 +77,10 @@ Accept wildcard characters: False
### -FileSharingInChatswithExternalUsers
Indicates if file sharing in chats with external users is enabled.
Indicates if file sharing in chats with external users is enabled. It is by default enabled, to disable admins can run following command.
```powershell
Set-CsTeamsFilesPolicy -Identity Global -FileSharingInChatswithExternalUsers Disabled
```

```yaml
Type: String
Expand All @@ -102,7 +89,7 @@ Aliases:

Required: False
Position: Named
Default value: None
Default value: Enabled
Accept pipeline input: False
Accept wildcard characters: False
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -825,7 +825,7 @@ Type: System.String
Parameter Sets: (All)
Required: False
Position: Named
Default value: Disabled
Default value: Enabled
Accept pipeline input: False
Accept wildcard characters: False
```
Expand Down