Set the Caller ID for a user

This feature is currently in preview and could change as it is released or updated.

PSTN Calling in Skype for Business Online provides a default Caller ID that is the user's assigned telephone number. You can either change or block the Caller ID (also called a Calling Line ID) for a user. You learn more about how to use CallerID in your organization by going here.

There are two settings that you can change:

Note: This is not for on-premises organizations with Lync or Skype for Business Server.

  • Change their Caller ID You can replace a user's Caller ID, which by default is their telephone number, with another phone number. For example, you could change the user's Caller ID from their phone number to a main phone number for your business or change the user's Calling Line ID from their phone number to a main phone number for the legal department. You can change the Calling ID number to any Online service number (toll or toll-free).

    Note: If you want to use the Service parameter, you must specify a valid service number.

  • Block their Caller ID You can block their Caller ID from being sent on a user’s PSTN calls. Doing this will block their phone number from being displayed on the phone of a person calling.

Important: Emergency calls will always send the user's telephone number (Caller ID).

By default, all two of these Caller ID settings are turned off. This means that the Skype for Business Online user's phone number can be seen when that user makes a call to a PSTN phone.

  • Check that you are running Windows PowerShell version 3.0 or higher
    1. To verify that you are running version 3.0 or higher: Start Menu > Windows PowerShell.

    2. Check the version by typing Get-Host in the Windows PowerShell window.

    3. If you don't have version 3.0 or higher, you need to download and install updates to Windows PowerShell. See Windows Management Framework 4.0 to download and update Windows PowerShell to version 4.0. Restart your computer when you are prompted.

    4. You will also need to install the Windows PowerShell module for Skype for Business Online that enables you to create a remote Windows PowerShell session that connects to Skype for Business Online. This module, which is supported only on 64-bit computers, can be downloaded from the Microsoft Download Center at Windows PowerShell Module for Skype for Business Online. Restart your computer if you are prompted.

    If you need to know more, see Connect to all Office 365 services in a single Windows PowerShell window.

  • Start a Windows PowerShell session
    1. From the Start Menu > Windows PowerShell.

    2. In the Windows PowerShell window, connect to your Office 365 organization by running:

      Import-Module "C:\Program Files\Common Files\Skype for Business Online\Modules\SkypeOnlineConnector\SkypeOnlineConnector.psd1"
      $Credential = get-credential
      connect-msolservice -credential $cred
      $session=New-CsOnlineSession -Credential $cred

    If you want more information about starting Windows PowerShell, see Connect to all Office 365 services in a single Windows PowerShell window or Connecting to Skype for Business Online by using Windows PowerShell.

  • Run the following cmdlets to set Caller ID options:

  • To see all of the settings run:

    Get-CsCallingLineIdentity
  • To create a new Caller ID policy for your organization that sets the Caller ID to anonymous, run:

    New-CsCallingLineIdentity -Tenant "cd56c991-c105-4bfe-9255-dc4427fbaf41" -Identity Anonymous -Description "anonymous policy" -CallingIDSubstitute Anonymous -EnableUserOverride $false -BlockIncomingPstnCallerID $true
  • To set it so the incoming caller ID is blocked, run:

    Set-CsCallingLineIdentity -Tenant "cd56c991-c105-4bfe-9255-dc4427fbaf41" -BlockIncomingPstnCallerID $true -EnableUserOverride $true
    
  • Assign the policy to Amos Marble:

    Grant-CsCallingLineIdentity -PolicyName Anonymous -Identity amos.marble@contoso.com –Tenant "cd56c991-c105-4bfe-9255-dc4427fbaf41"
    

To learn more about these settings and how you can use them, go here.

Want to know more about Windows PowerShell?

See Also

Emergency calling terms and conditions

Skype for Business Online PSTN services use terms

Share Facebook Facebook Twitter Twitter Email Email

Was this information helpful?

Great! Any other feedback?

How can we improve it?

Thank you for your feedback!

×