Type something to search...
How to block a specific external user in Teams

How to block a specific external user in Teams


Introduction

Microsoft recently introduced a new feature for Teams administrators to block specific external users. This update aims to strengthen security and protect internal members of the organization from unwanted or malicious communications.


User blocking feature

Traditionally, administrators could use the remove API (removeallaccessforuser API) to prevent a malicious user from sending messages back to the same victim. However, this method was not always enough to completely block the user. Now, a new user blocking API allows administrators to block an external user more effectively, preventing any contact resuming.

image


Feature implementation

To use this new capability, a Microsoft Teams administrator must sign in to the Microsoft Teams Admin Center by opening their web browser to https://admin.teams.microsoft.com, and in the left menu, click Users, then External access. By default, the Block specific users from communicating with people in my organization feature is disabled.

image

By activating the switch, the Block a user option appears, and it then becomes possible to manually add the Teams addresses to block.

image


Configuration in PowerShell

You can also configure the blocking functionality via the following PowerShell commands :

Set-CsTeamsExternalAccessConfiguration -Identity Global -BlockExternalAccessUserAccess $true
Set-CsTeamsExternalAccessConfiguration -Identity Global -BlockedUsers @("user1@domain.com", "user2@domain.com")

Conclusion

This new user blocking feature in Microsoft Teams provides an additional layer of security, allowing administrators to better protect their organization from unwanted external communications. By making this measure more accessible and effective, Microsoft continues to improve the security and management of communications within Teams.


Sources

Microsoft Learn - Set-CsTeamsExternalAccessConfiguration

Microsoft 365 Roadmap - ID 411138


Did you enjoy this post ? If you have any questions, comments or suggestions, please feel free to send me a message from the contact form.

Don’t forget to follow us and share this post.

Related Posts

Email verification of external Teams participants

Email verification of external Teams participants

Introduction Microsoft Teams Premium introduces a new feature to enhance the security and reliability of your meetings: email verification for external participants. This feature allows mee

Read More
How to disable self-service on Copilot licenses

How to disable self-service on Copilot licenses

Introduction Microsoft has activated a setting in the tenants (by default) to allow any user to purchase a Microsoft Copilot license through the *Microsoft 365 Copilot self-service pursha

Read More
The SMS messages will be native in Teams

The SMS messages will be native in Teams

Introduction Microsoft Teams continues to evolve, offering comprehensive communication and collaboration solutions. Among its features, SMS integration allows Teams users to easily communic

Read More
How to configure callback in a Teams queue

How to configure callback in a Teams queue

Definition Callback in Teams allows callers in a queue to be called back after a certain time rather than waiting until an agent becomes available.Prerequisites **Licenses r

Read More
How to handle duplicates in Teams directory search

How to handle duplicates in Teams directory search

Introduction Microsoft recently announced a significant optimization for the search by name and extension functionality in its Teams auto attendants. You have probably already had this case

Read More
How to inventory Direct Routing numbers in Teams

How to inventory Direct Routing numbers in Teams

Introduction Microsoft Teams continues to evolve to offer ever more effective communication and collaboration solutions. To make life easier for administrators, Microsoft has announced the

Read More
The end of AzureAD and MSOnline PowerShell modules

The end of AzureAD and MSOnline PowerShell modules

Introduction Microsoft recently announced the general availability of the Microsoft Entra PowerShell module. This module offers administrators and IT professionals a new way to manage and a

Read More
Update to version 6.8.0 of the Teams PowerShell module

Update to version 6.8.0 of the Teams PowerShell module

Introduction Microsoft recently released the new version 6.8.0 of the PowerShell module for Microsoft Teams.Installation You can check the version of the installed module via t

Read More
Debugging Teams calls via the SIP ladder

Debugging Teams calls via the SIP ladder

Introduction Microsoft Teams continues to evolve to offer ever more advanced communication and collaboration solutions. Among the features arriving very soon, we find the possibility of obt

Read More
Update to version 13.3.0 of the Azure PowerShell module

Update to version 13.3.0 of the Azure PowerShell module

Introduction Microsoft recently released the new version 13.3.0 of the PowerShell module for Microsoft Azure.Installation You can check the version of the installed module via

Read More
Update to version 6.9.0 of the Teams PowerShell module

Update to version 6.9.0 of the Teams PowerShell module

Introduction Microsoft recently released the new version 6.9.0 of the PowerShell module for Microsoft Teams.Installation You can check the version of the installed module via t

Read More
Update to version 7.0.0 of the Teams PowerShell module

Update to version 7.0.0 of the Teams PowerShell module

Introduction Microsoft recently released the new version 7.0.0 of the PowerShell module for Microsoft Teams.Installation Vous pouvez vérifier la version du module installé via

Read More