New-CsTeamsMediaConnectivityPolicy
This cmdlet creates a Teams media connectivity policy.
Syntax
New-CsTeamsMediaConnectivityPolicy
-Identity <String>
[-DirectConnection <String>]
[<CommonParameters>]
Description
This cmdlet creates a Teams media connectivity 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-CsTeamsMediaConnectivityPolicy.
Examples
Example 1
PS C:\> New-CsTeamsMediaConnectivityPolicy -Identity Test
Identity DirectConnection
-------------------------
Tag:Test Enabled
Creates a new Teams media connectivity policy with the specified identity. The newly created policy with value will be printed on success.
Parameters
-DirectConnection
This setting will enable Tenant Admins to control the Teams media connectivity behavior in Teams for both Meetings and 1:1 calls. If this setting is set to true, a direct media connection between the current user and a remote user is allowed which may improve the meeting quality and reduce the egress bandwidth usage for the customer. If this setting is set to disabled, no direct media connection will be allowed for the current user.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Identity
Identity of the Teams media connectivity policy.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |