en-US

AutoShareFilesInExternalChats

Parameter of CsTeamsMessagingPolicy

Description

Determines whether files are automatically shared in external chats.

Possible values:

  • Enabled: Files are automatically shared in external chats.
  • Disabled: Files are not automatically shared in external chats.

Microsoft Learn documentation

Characteristics

Type
System.String
Default value
Enabled
Parameter sets
(All)

Apply

Get-CsTeamsMessagingPolicy -Identity 'Global'

This value type (System.String) must be built by hand: see the examples on the policy page and the Microsoft documentation.

Assign to users: Grant-CsTeamsMessagingPolicy Microsoft Learn documentation