Set the Caller ID for a user

You can either change or block the Caller ID (also called a Calling Line ID) for a user. PSTN Calling in Skype for Business Online provides a Caller ID that is the user's telephone number that you have assigned to them. There are three 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: You can change the Caller ID to Anonymous or Service or LineUri. 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 users telephone number (Caller ID).

By default, all three 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.

  • 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:

      $Credential = get-credential
      $O365Session = New-CsOnlineSession -Credential $credential
      Import-PSSession $O365Session
  • Run the following cmdlets to set Caller ID options:

To see all of the settings run:


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 –Tenant "cd56c991-c105-4bfe-9255-dc4427fbaf41"

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!