Skip to content
All articlesSharePoint

Restricted Content Discovery in SharePoint: Hide Sites From Copilot

What Restricted Content Discovery does, how to turn it on for a SharePoint site in the admin center or PowerShell, licensing, and how long it takes to apply.

26 Nov 20269 min read
Restricted Content Discovery in SharePoint: Hide Sites From Copilot

What Restricted Content Discovery does

Restricted Content Discovery (RCD) is a site-level SharePoint setting that keeps a site's content out of Microsoft 365 Copilot responses and organization-wide search results, while everyone who has access to the site keeps it. A SharePoint administrator turns it on per site with the Restrict content from Microsoft Copilot setting or one PowerShell command. It is part of SharePoint Advanced Management.

Microsoft's description: it "helps you limit discovery of content from specific SharePoint sites, including recently interacted files, in organization-wide search results and Microsoft Copilot responses while those reviews are taking place." The reviews it refers to are permission reviews. Microsoft positions the setting as "a temporary governance control that gives organizations time to review and right-size access while continuing their Copilot deployment."

The setting changes what can be discovered. It leaves access alone:

AreaWith Restricted Content Discovery on
Microsoft 365 CopilotContent from the site stays out of Copilot's tenant-wide discovery
Organization-wide searchContent stays out of results on SharePoint home, Office.com and Bing
AI features on the siteUsers no longer see the Copilot button, the AI actions menus (including creating agents) or Create pages with AI
Search from inside the siteWorks as before. Microsoft: it "doesn't affect searches that originate from site context"
A document someone has openWorks as before, for example summarizing an open document
Permissions"Site permissions stay the same." People open the site and its files as they did before
The search indexContent stays in the index, so Microsoft Purview eDiscovery and auto-labeling continue to function
How the site looksA Restricted tag is visible on the site

When to use it

Microsoft's guidance is to use it for "sites that might need extra review before they become broadly discoverable through organization-wide search and Microsoft Copilot experiences." Its list of common scenarios:

  • sites with a high risk of oversharing
  • sites undergoing permissions review
  • phased Microsoft Copilot rollouts
  • governance initiatives that require content validation before wider discovery

Microsoft's example is a group of Finance or Human Resources sites: apply the setting while site owners review permissions and access, then "remove the restriction and allow the sites to become discoverable again."

There is a cost to overusing it. Microsoft's warning: "Use Restricted Content Discovery selectively. Excessive use can reduce the amount of content available to organization-wide search and Microsoft Copilot experiences, which can affect the completeness and relevance of search results and AI-generated responses." Every restricted site is a site your own staff can no longer find from organization-wide search.

To find the sites that need review first, Microsoft points to the SharePoint Admin Agent, the content management assessment, Data Access Governance reports and catalog management, all in SharePoint Advanced Management.

Requirements

RequirementDetail
LicensingMicrosoft: "You can configure Restricted Content Discovery if your organization is licensed for Copilot and has SharePoint Advanced Management available."
Who can turn it onSharePoint administrators by default. Site administrators too, once delegation is enabled
Where it appliesSharePoint sites. Microsoft states: "It's not supported for OneDrive sites."
ToolsThe SharePoint admin center, or the SharePoint Online Management Shell

How to turn on Restricted Content Discovery

In the SharePoint admin center

  1. In the SharePoint admin center, expand Sites and select Active sites.
  2. Select the site you want to configure.
  3. Open the Settings tab, and turn Restrict content from Microsoft Copilot on.
  4. Select Save.

With PowerShell

Connect with Connect-SPOService, then:

TaskCommand
Turn it on for a siteSet-SPOSite -Identity <site-url> -RestrictContentOrgWideSearch $true
Turn it off for a siteSet-SPOSite -Identity <site-url> -RestrictContentOrgWideSearch $false
Check a siteGet-SPOSite -Identity <site-url> | Select RestrictContentOrgWideSearch

How long it takes to apply

There is no fixed time. Microsoft says the setting "must propagate across indexing systems", and that the time "depends on site size, the number of files in each site, and the number of concurrent updates being processed."

One figure is given: "For sites with more than 500,000 items, an update to Restricted Content Discovery could take more than a week to fully process and reflect in search and Copilot experiences." Turning the setting off takes time in the same way.

Plan for that. If a large site has to be out of Copilot before a rollout date, turn the setting on well ahead, and avoid changing many large sites at the same moment.

Find every site that has it turned on

Three cmdlets build a report of the sites with Restricted Content Discovery enabled:

TaskCommand
Generate the reportStart-SPORestrictedContentDiscoverabilityReport
View its statusGet-SPORestrictedContentDiscoverabilityReport
Download itGet-SPORestrictedContentDiscoverabilityReport -Action Download -ReportId <ReportGUID>

Because the setting is meant to be temporary, run the report on a schedule and ask why each site is still on it.

Let site administrators manage it

"By default, only SharePoint administrators can manage Restricted Content Discovery." To let site administrators manage the setting for their own sites, enable delegation:

Set-SPOTenant -DelegateRestrictedContentDiscoverabilityManagement $true

To check whether delegation is on:

Get-SPOTenant | Select-Object DelegateRestrictedContentDiscoverabilityManagement

A site administrator who changes the setting must provide a justification. Enabling, disabling and the justifications given are all recorded as audit events in the Microsoft Purview audit log.

Restricted Content Discovery or Restricted Access Control

The two names are close and the effects are very different.

Restricted Content DiscoveryRestricted Access Control
What it changesWhether the site's content is discovered by Copilot and organization-wide searchWho can open the site at all
Effect on accessNone. "Restricted Content Discovery doesn't change existing permissions.""Users not in the specified group can't access the site or its content, even if they had prior permissions or a shared link."
Copilot and searchContent stays out of tenant-wide discovery for everyoneCopilot and organization-wide search honor the policy, so only group members see the content
How it is setSet-SPOSite -Identity <site-url> -RestrictContentOrgWideSearch $trueSet-SPOSite -Identity <siteurl> -RestrictedAccessControl $true, with up to 10 Microsoft Entra security groups or Microsoft 365 groups
Best forBuying time while permissions are reviewedA site that only one team should ever open

If people who should not see a site can open it, Restricted Content Discovery hides the problem from Copilot and leaves it in place. Fix the permissions, or use Restricted Access Control. For walling whole groups of users off from each other, see information barriers in SharePoint.

When the problem is old content, not sensitive content

Restricted Content Discovery works on whole sites. Many Copilot complaints are about something smaller: an out-of-date document in a library that is otherwise current, quoted as if it were the latest. Restricting the whole site would take the current documents out of Copilot too.

For that, change what is in the index. Squirrel archives stale files by age, site, library, folder or file type, removes the file body from SharePoint and leaves a stub; with AI Summarisation it leaves a dated summary instead, so Copilot can still find the document and can see that it is archived. Preparing SharePoint for Copilot compares the options side by side.

Frequently asked questions

What is Restricted Content Discovery in SharePoint?

A site-level setting in SharePoint Advanced Management that keeps content from chosen SharePoint sites out of organization-wide search results and Microsoft 365 Copilot responses. Permissions are unchanged, so people with access still open the site and its files.

Does Restricted Content Discovery change permissions?

No. Microsoft's answer: "Restricted Content Discovery affects discoverability, not access permissions. Users who already have access to content can continue to access it."

How do I turn on Restricted Content Discovery?

In the SharePoint admin center, go to Sites, then Active sites, select the site, open the Settings tab, turn on Restrict content from Microsoft Copilot and select Save. In PowerShell, run Set-SPOSite -Identity <site-url> -RestrictContentOrgWideSearch $true.

How long does Restricted Content Discovery take to work?

It depends on the number of items in the site and how many sites are being updated at once. Microsoft says a site with more than 500,000 items could take more than a week to be fully reflected in search and Copilot.

What licence does Restricted Content Discovery need?

Your organization must be licensed for Copilot and have SharePoint Advanced Management available.

Can I use Restricted Content Discovery on OneDrive?

It applies to SharePoint sites. Microsoft states that it is not supported for OneDrive sites.

Does Restricted Content Discovery affect eDiscovery?

No. The content stays in the search index, and Microsoft states that Purview capabilities such as eDiscovery and auto-labeling continue to function.

Can users still search inside a restricted site?

Yes. Searches that start from the site are unaffected. What changes is organization-wide search, such as SharePoint home and Office.com, and Copilot's tenant-wide discovery.

Can site owners or site admins turn it on themselves?

Only after a SharePoint administrator runs Set-SPOTenant -DelegateRestrictedContentDiscoverabilityManagement $true. Site administrators can then manage the setting for their own sites and must give a justification for each change.

About the author
Mark Smith - Co-Founder, SmiKar Software

Mark Smith co-founded SmiKar Software in 2015 and has spent the past decade helping organisations solve Microsoft 365 data management challenges. He works with the SmiKar team to build solutions for SharePoint archiving, storage optimisation, governance and compliance, supporting customers from growing businesses through to Fortune 500 enterprises.

More about SmiKar

Ready when you are

Cut your Microsoft 365 storage bill - keep your data in your tenant.