Grant-CsTenantDialPlan

 

Topic Last Modified: 2016-12-16

Use the Grant-CsTenantDialPlan cmdlet to assign an existing tenant dial plan to a user.

Grant-CsTenantDialPlan -Identity <UserIdParameter> -PolicyName <String> [-Confirm [<SwitchParameter>]] [-DomainController <Fqdn>] [-PassThru <SwitchParameter>] [-Tenant <Guid>] [-WhatIf [<SwitchParameter>]]

This example grants the Vt1tenantDialPlan 9 dial plan to Vt1_User1.

Grant-CsTenantDialPlan -PolicyName Vt1tenantDialPlan9  -Identity (Get-CsOnlineUser Vt1_User1).SipAddress

 

Parameter Required Type Description

Identity

Required

Microsoft.Rtc.Management.AD.UserIdParameter

The Identity parameter identifies the user to whom the policy should be assigned.

PolicyName

Required

System.String

The PolicyName parameter is the name of the tenant dial plan to assign to the specified user.

Confirm

Optional

System.Management.Automation.SwitchParameter

The Confirm switch causes the command to pause processing, and requires confirmation to proceed.

DomainController

Optional

Microsoft.Rtc.Management.Deploy.Fqdn

Specifies the domain controller that's used by the cmdlet to read or write the specified data. Valid inputs for this parameter are either the fully qualified domain name (FQDN) or the computer name.

PassThru

Optional

System.Management.Automation.SwitchParameter

PARAMVALUE: SwitchParameter

Tenant

Optional

System.Guid

Specifies the globally unique identifier (GUID) of your Skype for Business Online tenant account. For example: -Tenant "38aad667-af54-4397-aaa7-e94c79ec2308". You can find your tenant ID by running this command: Get-CsTenant | Select-Object DisplayName, TenantID

WhatIf

Optional

System.Management.Automation.SwitchParameter

The WhatIf switch causes the command to simulate its results. By using this switch, you can view what changes would occur without having to commit those changes.

The Grant-CsTenantDialPlan cmdlet assigns an existing tenant dial plan to a user. Tenant dial plans provide information that is required for Enterprise Voice users to make telephone calls. Users who do not have a valid tenant dial plan cannot make calls by using Enterprise Voice. A tenant dial plan determines such things as how normalization rules are applied, and whether a prefix must be dialed for external calls.

You can check whether a user has been granted a per-user tenant dial plan by calling a command in this format: Get-CsOnlineUser "<user name>" | Select-Object TenantDialPlan.

 
Show: