In short
Copilot only shows what the user can already open, so the risk is overly wide permissions. Find exposed sites with the SharePoint reports, hide them from Copilot temporarily, then fix the access.
- Find exposed sitesRun the Data access governance reports in the SharePoint admin center.
- Hide sensitive sitesTurn on Restrict content from Microsoft Copilot for sites under review.
- Fix the accessAsk owners to review who has access, or limit the site to a group.
- Re-enable searchOnce permissions are fixed, turn the restriction off for the site.
SharePoint admin center: Reports → Data access governance · Sites → Active sites → Settings
Why can Copilot show files you didn't know existed?
Copilot doesn't bypass any access rule: in its answers it uses only the content the person asking can already open, based on the same permissions as SharePoint, OneDrive and Teams. The trouble starts when those permissions are too wide. A payroll folder shared with "all colleagues" years ago is still open to everyone, but nobody ever found it because nobody knew where it was. Copilot finds it in seconds if someone asks it to "summarise last year's contracts".
So before giving Copilot to your staff, it is worth tidying up access. Microsoft states that prompts, responses and data read through Microsoft Graph are not used to train the foundation models: the risk is not leakage to the outside, it is visibility inside the company.
What do you need to run the checks?
You need an account with the SharePoint administrator role. The data access reports and the option to limit site visibility require SharePoint Advanced Management, which is included with Microsoft 365 Copilot licences. If you don't have those licences, or you can't see the menus below, ask your IT provider to check your plan: without a licence the reports and corrective actions aren't available.
How do you find sites open to too many people?
- Sign in to the SharePoint admin center.
- Expand Reports and choose Data access governance.
- Run Site permissions across your organization first: it shows which sites have the most users, external guests or the "Everyone except external users" group, meaning all internal users.
- Run the Shared with 'Everyone except external users' report to see where, in the last 28 days, someone opened content to the whole company.
- Also look at Sharing links for the sites with the most sharing links created recently.
Microsoft suggests running the permissions reports once a quarter and the activity reports once a month. Start with the sites that hold accounting, HR, contracts and clients.
How do you hide a site from Copilot right away?
If you don't have time to fix everything now, you can take a site out of organisation-wide search and Copilot answers while you review its permissions.
- In the SharePoint admin center open Sites → Active sites and select the site.
- Open the Settings tab.
- Turn on Restrict content from Microsoft Copilot and select Save.
Alternatively, from PowerShell with the SharePoint Online module:
Set-SPOSite -Identity SITE_ADDRESS -RestrictContentOrgWideSearch $true
Replace SITE_ADDRESS with the full address of the site, for example the one shown in the list of active sites. To check whether the restriction is active on a site, the command Get-SPOSite -Identity SITE_ADDRESS | Select RestrictContentOrgWideSearch shows the current value.
This measure is temporary and doesn't change permissions: anyone who can open the files still can, and the files stay in the search index. The site shows a "Restricted" tag and loses the Copilot buttons. It isn't instant: on very large sites it can take more than a week. Use it only on genuinely sensitive sites, because too many exclusions make Copilot's answers poor.
How do you really fix the permissions?
The lasting fix is to remove access from people who don't need it.
- For a quick lock, Restricted access control limits a site to a specific group.
- To involve the people who know the content, use Site access review: it asks site owners to review who has access.
- To understand what changed, the Change history report lists recent permission changes.
Once the site is sorted, set Restrict content from Microsoft Copilot back to off (or use $false in the command) so it becomes searchable again.
Why isn't a one-off check enough?
Permissions change every day: a new sharing link, a guest added to a team, a site created with default settings. That is why the activity reports look at the last 28 days and need repeating. If your company doesn't have SharePoint Advanced Management, the activity reports first require you to turn on data collection: the data is kept for 28 days and the first report is ready after about 24 hours, so it is best to switch it on early.
What can an employee do without being an administrator?
An employee can't use these tools, but can avoid creating new problems. When you share a file, choose specific people rather than "Everyone in the organisation". Keep confidential documents in a site or folder with few members. If you see a document in a Copilot answer that you shouldn't be reading, tell your administrator straight away: Copilot showed you a wrong permission, not a fault of its own.
Sources
- Data, Privacy, and Security for Microsoft Copilot
- Restrict discovery of SharePoint sites and content
- Data access governance reports for SharePoint sites
Follow the blog on Telegram
The weekly tech roundup every Monday, plus new guides and insights as soon as they are out. Posts are in Italian.
Need a hand at your company?
I provide IT and AI consulting for businesses and professionals, in Apulia and remotely.
Guide written with AI assistance and checked by me before publication.
Commands and scripts in these articles are examples for information only, provided as is, without warranty. Read them, test them on a non-production computer and back up first: you run them at your own risk and, to the extent permitted by law, I am not liable for any resulting damage or data loss.
Company and product names mentioned are trademarks of their respective owners, used only to identify the products discussed. This site is independent and is not affiliated with, sponsored or endorsed by any of them.