How to Block an Inbound Mobile Number in Microsoft Teams
Question details
The user needs to know how to block a specific inbound mobile number from calling their Microsoft Teams environment.
- Product
- Microsoft Teams
- Device & OS
- not provided
- Scenario
- Preventing unwanted contact or spam calls from a specific mobile number by setting up inbound call blocking.
- Observed behavior
- The Teams admin center lacks a direct graphical interface option to block individual inbound mobile numbers, requiring a different configuration approach.
Ensure you have Microsoft Teams administrator privileges and the Microsoft Teams PowerShell module installed on your computer before attempting to configure blocked numbers.
Use Teams PowerShell to Block Inbound Calls
Since the Teams admin center does not provide a direct blocking feature, administrators must use Teams PowerShell to create a blocked number pattern.
Blocking a number at the tenant level depends on whether the number is a Teams-assigned PSTN number or simply a contact number stored in a Microsoft 365 profile. Only actual PSTN routing can be blocked using this method.
Right-click the Start menu and select Windows PowerShell (Admin) or Terminal (Admin) to launch the command line with elevated privileges.
Type the command 'Connect-MicrosoftTeams' and press Enter. A login prompt will appear; sign in with your Teams administrator credentials.
Use the 'New-CsInboundBlockedNumberPattern' cmdlet to block the specific number. For example, run: New-CsInboundBlockedNumberPattern -Name "BlockSpamMobile" -Pattern "^\+1234567890$" (replace the digits with the exact mobile number you wish to block).
Switch to WPS Office for a Lightweight and Free Office Suite
While Microsoft Teams handles your corporate communications, managing your daily documents shouldn't be a hassle. WPS Office offers a free, lightweight, and highly compatible alternative to Microsoft Office for your word processing, spreadsheets, and presentation needs.
- 1. Download WPS Office: Visit the official WPS website and click the 'Download' button to get the free installer.
- 2. Install the Application: Run the setup file and follow the straightforward on-screen instructions to install the suite.
- 3. Open Your Documents: Launch WPS Office and instantly open, edit, and save your existing Microsoft Office files without formatting loss.

Frequently Asked Questions
Can I block numbers directly in the Microsoft Teams Admin Center?
No, the Microsoft Teams admin center generally does not provide a direct graphical option to block an individual inbound mobile number. Administrators must use the Teams PowerShell module to configure block lists.
What is the difference between a Teams PSTN number and a Microsoft 365 profile number?
A PSTN number is officially assigned for Teams Calling to route external phone network calls, whereas a Microsoft 365 profile number is merely contact information stored in a user's directory profile. Inbound call blocking rules only apply to actual PSTN call routing.
Do I need special permissions to block an inbound caller in Teams?
Yes, configuring inbound blocked number patterns requires tenant administrator privileges and access to the Microsoft Teams PowerShell module.




