Skip to main content

Flexible Caller ID Suppression

1. Configure Teams Phone System with PowerShell

info
  • You will need Windows PowerShell and the "Microsoft Teams" PowerShell module for configuration.
  • PowerShell must be run with administrator rights to install the module.
  • You can also perform the configuration in the Teams Admin Center.

1.1 Preparation

1.1.1 Install/Update the "Microsoft Teams" module

  • Open PowerShell as administrator.

  • Install or update the Microsoft Teams module with the following command:

Set-ExecutionPolicy RemoteSigned -Force
Install-Module MicrosoftTeams -RequiredVersion 7.1.0 -AllowClobber
  • Finish PowerShell after installing the module.
info

You can skip this step if your module is up to date.

1.2 Configuration

1.2.1 Start session

  • Reopen PowerShell (PowerShell as administrator does not need)
  • Import the Team PowerShell module
Import-Module MicrosoftTeams 
  • To start working with the Microsoft Teams PowerShell module, type the following command:
Connect-MicrosoftTeams 
  • The following is a pop-up for Microsoft 365 authentication. Your user must be assigned the Microsoft role "Global Administrator" or "Team Administrator".

1.2.1 Create Caller ID Policy

New-CsCallerIDPolicy -Identity "AllowHideCallerID" -Description "based on sipcall teams instruction: allow anonymous for users" -EnableUserOverride $true

You can customize the Identity and Description parameters as needed.

Option

If you want to set calls to anonymous by default, also include the parameter -CallingIDSubstitute "Anonymous".

New-CsCallerIDPolicy -Identity "AllowHideCallerID" -Description "based on sipcall teams instruction: allow anonymous for users" -CallingIDSubstitute Anonymous -EnableUserOverride $true

1.2.2 Verify Caller ID Policy

Get-CsCallerIDPolicy -Identity "AllowHideCallerID"

1.2.3 End session

End the PowerShell session:

Disconnect-MicrosoftTeams

1.2 Assign the policy to users

You can assign the policy either individually or to multiple users in a batch:

Grant a user permission for the policy:

Grant-CsCallingLineIdentity -Identity "YourUsername@YourCompany.com" -PolicyName "AllowHideCallerID"
Example:
   Grant-CsCallingLineIdentity -Identity "homer.simpson@thesimpsons.ch" -PolicyName "AllowHideCallerID"
Grant-CsCallingLineIdentity -Identity "marge.simpson@thesimpsons.ch" -PolicyName "AllowHideCallerID"
Grant-CsCallingLineIdentity -Identity "bart.simpson@thesimpsons.ch" -PolicyName "AllowHideCallerID"

2. User Instructions

Once the administrator has configured and assigned the calling policy to the user, the user can enable or disable caller ID suppression.
The following steps are required to suppress the phone number or hide the caller ID:

  • Open Microsoft Teams on your computer or mobile device.
  • In Settings, navigate to the "Calls" section and enable the "Caller ID" option.

2.3 Select the phone number of the person you want to call. Every call will now be displayed as "anonymous" to the recipient.

note

Give Microsoft a few minutes after making changes to the settings.

info

When caller ID is enabled, the phone number is suppressed.

Test anonymous calls

After setup, the administrator or user should verify that caller ID is actually being suppressed:

  1. Make a test call: Call a known number to confirm that your caller ID is hidden.

  2. Check the result: Make sure the call appears as anonymous.

Additional Resources

You can find more product information, downloads, and support on the manufacturer's website: