Grant-CsCallingLineIdentity

 

Topic Last Modified: 2017-02-23

Use the Grant-CsCallingLineIdentity cmdlet to apply a Caller ID policy to a user account.

Grant-CsCallingLineIdentity -Identity <UserIdParameter> -PolicyName <String> [-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]]

The following example grants the Caller ID policy "Anonymous" to the user Amos Marble.

Grant-CsCallingLineIdentity -PolicyName Anonymous -Identity "amos.marble@contoso.com"

You can either change or block the Caller ID (also called a Calling Line ID) for a user. By default, the Skype for Business Online user's phone number can be seen when that user makes a call to a PSTN phone, or when a call comes in. You can create a Caller ID policy to provide an alternate displayed number, or to block any number from being displayed; you can then apply the Caller ID policy to a specific user.

 

Parameter Required Type Description

Identity

Required

Microsoft.Rtc.Management.AD.UserIdParameter

The Identity parameter identifies the user to whom the Caller ID policy is granted.

PolicyName

Required

System.String

The PolicyName parameter identifies the Caller ID policy that is being granted.

Confirm

Optional

System.Management.Automation.SwitchParameter

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

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.

 
Show: