Configure teams with protection for sensitive data
In this article, we look at setting up a team for a sensitive level of protection. Be sure you've completed the steps in Deploy teams with baseline protection before following the steps in this article. The sensitive tier offers the following additional protections over the baseline tier:
- A sensitivity label for the team that allows you to turn guest sharing on or off and limits access to SharePoint content to web-only for unmanaged devices. This label can also be used to classify files.
- A more restrictive default sharing link type
- Only team owners can create private channels.
Watch this video for a walkthrough of the procedures described in this article.
Depending on the nature of your business, you may or may not want to enable guest sharing for teams that contain sensitive data. If you do plan to collaborate with people outside your organization in the team, we recommend enabling guest sharing. Microsoft 365 includes a variety of security and compliance features to help you share sensitive content securely. This is generally a more secure option than emailing content directly to people outside your organization.
For details about sharing with guests securely, see the following resources:
- Limit accidental exposure to files when sharing with people outside your organization
- Create a secure guest sharing environment
To allow or block guest sharing, we use a combination of a sensitivity label for the team and site-level sharing controls for the associated SharePoint site, both discussed later.
For the sensitive level of protection, we'll be using a sensitivity label to classify the team. This label can also be used to classify individual files in this or other teams, or in other file locations such as SharePoint or OneDrive.
As a first step, you must enable sensitivity labels for Teams. See Use sensitivity labels to protect content in Microsoft Teams, Office 365 Groups, and SharePoint sites for details.
If you already have sensitivity labels deployed in your organization, consider how this label fits with your overall label strategy. You can change the name or settings if needed to meet the needs of your organization.
Once you have enabled sensitivity labels for Teams, the next step is to create the label.
To create a sensitivity label
- Open the Microsoft Purview compliance portal.
- Under Solutions, click Information protection.
- Click Create a label.
- Give the label a name. We suggest Sensitive, but you can choose a different name if that one is already in use.
- Add a display name and description, and then click Next.
- On the Define the scope for this label page, select Files & emails and Groups & sites and click Next.
- On the Choose protection settings for files and emails page, click Next.
- On the Auto-labeling for files and emails* page, click Next.
- On the Define protection settings for groups and sites page, select Privacy and external user access settings and Device access and external sharing settings and click Next.
- On the Define privacy and external user access settings page, under Privacy, select the Private option.
- If you want to allow guest access, under External user access, select Let Microsoft 365 Group owners add people outside your organization to the group as guests.
- Click Next.
- On the Define external sharing and device access settings page, select Control external sharing from labeled SharePoint sites.
- Under Content can be shared with, choose New and existing guests if you're allowing guest access or Only people in your organization if not.
- Under Access from unmanaged devices, choose Allow limited, web-only access.
- Click Next.
- On the Auto-labeling for database columns page, click Next.
- Click Create label, and then click Done.
Once you've created the label, you need to publish it to the users who will use it. For sensitive protection, we'll make the label available to all users. You publish the label in the Microsoft Purview compliance portal, on the Label policies tab of the Information protection page. If you have an existing policy that applies to all users, add this label to that policy. If you need to create a new policy, see Publish sensitivity labels by creating a label policy.
Create a team
Further configuration of the sensitive scenario is done in the SharePoint site associated with the team, so the next step is to create a team.
To create a team for sensitive information
- In Teams, click Teams on the left side of the app, then click Join or create a team at the bottom of the teams list.
- Click Create team (first card, top left corner).
- Choose Build a team from scratch.
- In the Sensitivity list, choose the sensitive label that you just created.
- Under Privacy, click Private.
- Type a name for the team, and then click Create.
- Add users to the team, and then click Close.
Private channel settings
In this tier, we restrict creating private channels to team owners.
To restrict private channel creation
- In the team, click More options, and then click Manage team.
- On the Settings tab, expand Member permissions.
- Clear the Allow members to create private channels check box.
You can also use teams policies to control who can create private channels.
Shared channel settings
Shared channels doesn't have team-level settings. The shared channel settings you configure in the Teams admin center and Azure AD apply to all teams regardless of sensitivity.
Each time you create a new team with the sensitive label, there are two steps to do in SharePoint:
- Update the guest sharing settings for the site in the SharePoint admin center to update the default sharing link to Specific people.
- Update the site sharing settings in the site itself to prevent members from sharing the site.
Site default sharing link settings
To update the site default sharing link type
- Open the SharePoint admin center, and under Sites, select Active sites.
- Select the site that is associated with team.
- On the Policies tab, under External sharing, click Edit.
- Under Default sharing link type, clear the Same as organization-level setting check box, and select Specific people (only the people the user specifies).
- Select Save.
If you want to script this as part of your team creation process, you can use Set-SPOSite with the
-DefaultSharingLinkType Direct parameter to change the default sharing link to Specific people.
Note that if you add private or shared channels to the team, each creates a new SharePoint site with the default sharing settings. You can update them in the SharePoint admin center by selecting the sites associated with the team.
Site sharing settings
To help ensure that the SharePoint site does not get shared with people who are not members of the team, we limit such sharing to owners. This is only necessary for the SharePoint site that was created with the team. Additional sites created as part of private or shared channels can't be shared outside the team or channel.
To configure owners-only site sharing
- In Teams, navigate to the General tab of the team you want to update.
- In the tool bar for the team, click Files.
- Click the ellipsis, and then click Open in SharePoint.
- In the tool bar of the underlying SharePoint site, click the settings icon, and then click Site permissions.
- In the Site permissions pane, under Site sharing, click Change how members can share.
- Under Sharing permissions, choose Site owners and members, and people with Edit permissions can share files and folders, but only site owners can share the site, and then click Save.
Submit and view feedback for