Learn how to use the robot

Prevent guest access to Teams with SProbot

Why prevent external access to Teams?

In some instances, Teams and SharePoint team sites may contain information that is very definitely only intended for internal use. To limit data loss and accidental oversharing, Microsoft 365 governance best practice is to prevent team owners and members from adding external users (outside the organizational tenant).

What is needed to prevent external access?

Two configuration settings in tandem achieve the lockdown state described above:

SProbot enables you to automate the enforcement of these settings to specific Teams and SharePoint sites by enabling a rule to be configured on a pipeline, and then automatically applying it to all workspaces requested via the pipeline.

Define the setting

In the Governance Rules step of a pipeline, use the Prevent guest access checkbox to enable lockdown.

Screenshot of the governance rules section of a SProbot pipeline configuration

Effects of the setting

With this setting applied, group owners will not be able to add external/guest user to their groups. When searching for an external user, they will simply not be found.

Screenshot of a user searchbox in a SharePoint team site

Considerations

It is important to remember that this setting is in fact two separate settings, one applied to the Microsoft 365 group, the other to the associated team site. This means that it effects both Teams and SharePoint, so serves as an overarching lockdown for both the Teams app and its Files (which reside in SharePoint). Group/site owners cannot change this setting without administrator assistance, so if in future a specific team should not be locked down anymore, both the group and site settings will need to be manually updated.

Use AI to enrich SharePoint and Teams in your tenant

This guide will show you how to use AI enrichment in SProbot to automatically describe, tag and enable cleanup of the SharePoint site and teams in your tenant.

July 24, 2024
Import existing sites and Teams into SProbot

This guide will show you how to import your tenant's existing SharePoint sites and teams into SProbot to enable automated governance and AI enrichment.

July 18, 2024
Require a SharePoint site or team to have multiple owners

This guide shows you how to use the pipeline rules in SProbot to require multiple owners to be specified when a workspace is created.

July 18, 2024

See how SProbot can help you keep your M365 tenant tidy

We'll show you how to tame content sprawl and make it easier for your users to find what they need

Get a demo