Set the Caller ID for a user

The Phone System in Office 365 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 can learn more about how to use caller ID in your organization by going here.

Tip: You can't block incoming calls currently in Skype for Business Online.

There are settings that you can change:

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

  • Change their outgoing 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 outbound caller ID You can block the outgoing Caller ID from being sent on a user’s outgoing PSTN calls. Doing this will block their phone number from being displayed on the phone of a person being called.

  • Block their incoming caller ID You can block a user from receiving Caller ID on any incoming PSTN calls.

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

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

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

Set your caller ID policy settings

Note: For all of the Caller ID settings in Skype for Business Online, you must use Windows PowerShell and you can't use the Skype for Business admin center.

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

      Note: You only have to run the Import-Module command the first time you use the Skype for Business Online Windows PowerShell module.

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

    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.

  • To view all of the caller ID policy settings in your organization, run:

    • Get-CsCallingLineIdentity |fl

    See more examples and details for Get-CsCallingLineIdentity.

  • To create a new caller ID policy that sets the caller ID to anonymous, run:

    • New-CsCallingLineIdentity  -Identity Anonymous -Description "Anonymous policy" -CallingIDSubstitute Anonymous -EnableUserOverride $false

    See more examples and details for New-CsCallingLineIdentity.

  • To apply the new policy you created to Amos Marble, run:

    •  Grant-CsCallingLineIdentity -Identity "" -PolicyName Anonymous

    See more on the Grant-CsCallingLineIdentity cmdlet.

If you have already created a policy, you can use the Set-CsCallingLineIdentity cmdlet to make changes to the existing policy, and then use the Grant-CsCallingLineIdentity cmdlet to apply the settings to your users.

  • To block the incoming caller ID, run:

    • Set-CsCallingLineIdentity  -Identity "Block Incoming" -BlockIncomingPstnCallerID $true -EnableUserOverride $true

      See more examples and details for Set-CsCallingLineIdentity.

  • To apply the policy setting you created to a user in your organization, run:

    • Grant-CsCallingLineIdentity -Identity "" -PolicyName "Block Incoming"

    See more on the Grant-CsCallingLineIdentity cmdlet.

Remove a caller ID policy

To remove a policy from your organization, run:

Remove-CsCallingLineIdentity –Identity "My Caller ID Policy"

To remove a policy from a user, run:

Grant-CsCallingLineIdentity –Identity "" –PolicyName $null

Want to know more about Windows PowerShell?

Related Topics

Emergency calling terms and conditions
Audio Conferencing complimentary dial-out period

Expand your skills
Explore training
Get new features first
Join Office Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.