New-CsTeamsMediaConnectivityPolicy

This cmdlet creates a Teams media connectivity policy.

Syntax

New-CsTeamsMediaConnectivityPolicy
   -Identity <String>

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

-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