Grant-CsTeamsCallingPolicy

Cmdlet to assign a specific Teams Calling Policy to a user.

Syntax

Grant-CsTeamsCallingPolicy
     [[-Identity] <UserIdParameter>]
     [-PolicyName] <String>
     [-Tenant <Guid>]
     [-DomainController <Fqdn>]
     [-PassThru]
     [-WhatIf]
     [-Confirm]
     [<CommonParameters>]
Grant-CsTeamsCallingPolicy
     [-PolicyName] <String>
     [-Tenant <Guid>]
     [-DomainController <Fqdn>]
     [-PassThru]
     [-Global]
     [-WhatIf]
     [-Confirm]
     [<CommonParameters>]

Description

The Teams Calling Policies designate which users are able to use calling functionality within teams and determine the interoperability state with Skype for Business. This cmdlet allows admins to grant user level policies to individual users.

Examples

Example 1

PS C:\> Grant-CsTeamsCallingPolicy -identity "Ken Myer" -PolicyName SalesCallingPolicy

Assigns the TeamsCallingPolicy called "SalesCallingPolicy" to the user "Ken Myer"

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DomainController

Internal Microsoft use

Type:Fqdn
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Global

Internal Microsoft use

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Identity

The user object to whom the policy is being assigned.

Type:UserIdParameter
Position:0
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PassThru

Enables you to pass a user object through the pipeline that represents the user being assigned the policy. By default, the Grant-CsTeamsCallingPolicy cmdlet does not pass objects through the pipeline.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PolicyName

The name of the policy being assigned. To remove an existing user level policy assignment, specify PolicyName as null.

Type:String
Position:1
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Tenant

Internal Microsoft use

Type:Guid
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

Microsoft.Rtc.Management.AD.UserIdParameter

Outputs

System.Object