Manage caller ID for users

This article describes how to manage caller ID settings for your users. As an admin, you can:

  • Display an alternate phone number for Teams users in your organization.
  • Block the outbound phone number.
  • Block an incoming number from being displayed.
  • Set the Calling Party Name (CNAM).

Caller ID consists of two user-facing pieces of information:

  • Calling line ID (CLID) - The phone number that the Public Switched Telephone Network (PSTN) presents as the caller's identity.
  • Calling party name (CNAM) - The name that appears alongside the phone number (for example, your company's name, a user's name, or Anonymous).

Important

Emergency calls will always send the user's telephone number (caller ID) to a public-safety answering point (PSAP). For more information on emergency calls, read Plan and manage emergency calling.

For more information, see More about Calling Line ID and Calling Party Name.

Outbound caller ID options

For the outbound PSTN caller ID, the following options are available:

  • The telephone number assigned to the user, which is the default.

  • Anonymous, which is available by removing the presentation of the user’s PSTN number.

  • A substitute phone number, which can be one of the following:

    • A telephone number through Operator Connect or Direct Routing that is assigned to a resource account used by a Teams Auto Attendant or Call Queue.

    • A telephone number that is classified as a service and toll-free number in your Calling Plans telephone number inventory. It's assigned to a resource account used by a Teams Auto Attendant or Call Queue.

    Note

    The use of CallingIDSubstitute = Service has been deprecated. You're no longer able to create new caller ID policies using CallingIDSubstitute = Service and existing caller ID policies with CallingIDSubstitute = Service are not being honored. You should use CallingIDSubstitute = Resource instead. See Set-CsCallingLineIdentity for more details and examples.

  • The Calling Party Name or CNAM set on the outbound PSTN call.

    • For example, when a user makes a call, you can change the caller ID to display your organization's main phone number and company name instead of the user's phone number.

    • The CNAM can have a maximum of 200 characters, but downstream systems might support fewer characters.

    • The CNAM is sent on calls where the caller ID is substituted with LineURI, a resource account or service phone number, and when the caller is a Teams user.

  • End user control that overrides the caller ID policy.

    • The parameter EnableUserOverride has precedence over other settings in the CallingLineIdentity policy.

    • For example, assume a policy instance has substitution enabled with a resource account and EnableUserOverride is set and enabled by the user. In this case, the outbound caller ID is blocked and Anonymous is used.

You can't assign the following types of phone numbers for the outbound caller ID:

  • Any phone numbers that are classified as a user in your Calling Plan or Operator Connect's telephone number inventory.

  • Any on-premises telephone number via Direct Routing that is assigned to a user.

  • A Skype for Business Server on-premises telephone number.

For Direct Routing, the phone number substitution and the CNAM are sent in the From Session Information Protocol (SIP) header. If the corresponding OnlinePstnGateway policy is configured with -ForwardPai $true, the P-Asserted-Identity (PAI) SIP header contains the real calling user.

For more information, see configure caller ID policies.

Inbound caller ID options

Phone System shows the incoming external phone number as the caller ID. If the number is associated with a user or contact in Microsoft Entra ID or a personal contact, the Skype for Business and Teams clients shows the caller ID based on that information. If the phone number isn't in Microsoft Entra ID or a personal contact, the telco-provided display name is shown if it's available.

The Block incoming caller ID setting allows for blocking the caller ID on incoming PSTN calls. You can turn on this setting, but it isn't available to your end users on the user settings page. When this setting is turned on, the incoming PSTN caller is shown as coming from Anonymous.

For more information, see configure caller ID policies.

Configure caller ID policies

As an admin, you can control caller ID for both inbound and outbound calls. With caller ID settings turned off, the Teams user's phone number is visible when that user makes a call to the PSTN. Likewise, when a PSTN caller makes a call to a Teams user, the PSTN caller's phone number is visible.

By default, the following caller ID settings are turned off.

Setting Default Description
Block incoming caller ID Off This setting blocks a user from receiving caller ID on any incoming PSTN calls.
Override the caller ID policy Off This setting allows users to override the settings in the policy that decide whether or not they display their number to the callee. By turning on this setting, users can choose whether to display their caller ID.

Your end users can set their caller ID to Anonymous by going to Settings > Calls, and then under Caller ID, select Hide my phone number and profile information for all calls. It takes a few minutes for this setting change to reflect on new calls.
Calling Party Name (empty) This setting sends a CNAM on outbound PSTN calls.
Replace the caller ID with Users's number User's number This setting replaces a user's caller ID with another phone number. For example, you can change the user's caller ID from their phone number to a main phone number for your business or to a main phone number for the legal department. You can set the calling ID number to any Calling Plan, Operator Connect, or Direct Routing phone number assigned to a resource account used by an Auto Attendant or a Call Queue.
Replace the caller ID with Anonymous (empty) This setting lets you block the outgoing caller ID from being sent on a user's outgoing PSTN calls. Turning on this setting blocks the outgoing caller's phone number from being displayed on the phone of a person being called and that call is displayed as coming from Anonymous. If the outbound caller ID is set to Anonymous, Override the caller ID policy will have no effect, and the caller ID will still show as Anonymous.
Replace the caller ID with Resource account (empty) This setting lets you choose a resource account which phone number will be used to replace the caller ID of users.

You can configure caller ID policies with the Teams admin center or with PowerShell.

Use the Teams admin center

You can manage caller ID policies by going to Voice > Caller ID policies in the Microsoft Teams admin center. You can use the global (Org-wide default) policy or create and assign custom policies. Users in your organization automatically get the global policy unless you create and assign a custom policy.

For more information on each policy, see configure caller ID policies.

Create a custom caller ID policy

  1. In the left navigation of the Microsoft Teams admin center, go to Voice > Caller ID policies.

  2. Select Add.

  3. Enter a name and description for the policy.

  4. Turn on or off Block incoming caller ID and Override the caller ID policy.

  5. Enter a Calling Party Name.

  6. Under Replace the caller ID with, set which caller ID is displayed for users by selecting one of the following:

    • User's number: Display the user's number.

    • Anonymous: Display the caller ID as Anonymous.

    • Resource account: Set a resource account associated with an Auto Attendant or Call Queue.

    If you choose Resource account, you're prompted to specify a resource account for the next field, called Replace the caller ID with this resource account. Only resource accounts with an assigned phone number will be displayed. If you just assigned a phone number to the resource account, it might take a few minutes before the resource account is available for selection.

  7. Select Save.

Assign a custom caller ID policy to users

You can assign a policy directly to users, either individually or at scale through a batch assignment (if supported for the policy type), or to a group that the users are members of (if supported for the policy type).

To learn about the different ways that you can assign policies to users, see Assign policies to your users in Teams.

Edit a caller ID policy

You can edit the global policy or any custom policies that you create.

  1. In the left navigation of the Microsoft Teams admin center, go to Voice > Caller ID policies.
  2. Select the policy by clicking to the left of the policy name, and then select Edit.
  3. Change the settings that you want, and then select Save.

Use PowerShell

You can manage caller ID policies by using the following PowerShell cmdlets in Teams PowerShell module 2.3.1 or later:

New custom caller ID policy

This example creates a new caller ID policy that sets the caller ID to the phone number of the specified resource account and sets the Calling party name to Contoso:

$ObjId = (Get-CsOnlineApplicationInstance -Identity dkcq@contoso.com).ObjectId
New-CsCallingLineIdentity -Identity DKCQ -CallingIDSubstitute Resource -EnableUserOverride $false -ResourceAccount $ObjId -CompanyName "Contoso"

This example creates a new caller ID policy that sets the caller ID to Anonymous:

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

Change a caller ID policy

This example modifies the UKAA caller ID policy to set a new description:

Set-CsCallingLineIdentity -Identity "UKAA" -Description "UK Main office"

Remove a caller ID policy

This example removes the UKAA caller ID policy:

Remove-CsCallingLineIdentity -Identity "UKAA"

Grant a caller ID policy

This example grants the Anonymous caller ID policy to Amos Marble:

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