In this section

0.2 Access in SharePoint, OneDrive and Teams

Module 0

Introduction

Lesson 0.1 established that Copilot reaches whatever its user can open. This lesson is about how users come to be able to open things.

Access in Microsoft 365 is built in layers: a site grants access to its groups, a library and a folder inherit it or keep their own, a file inherits it and can carry sharing links on top, and Teams adds its own storage rules underneath. Each layer is reasonable on its own. Together, after a few years, they produce audiences that nobody chose.

A site created for a project of six people acquires a nested group when the project grows, a public setting when someone wants the wider department to see one document, an organization link on a spreadsheet that needed to reach a manager in a hurry, and a guest from a supplier who was meant to stay for a month.

Every one of those decisions was sensible on the day. None of them is visible from the site's home page, and none of them expires on its own.

Where access comes fromSitegroups: owners, members, visitorsLibraryinherits from the siteFolderinherits, or keeps its ownFileinherits, plus sharing linksa link: one more audienceEach step down can add access. None removes it from above.

Access flows down the hierarchy and is added at each level. To know who can open one file, read every level above it and every link on it.

The figure is the model to keep in mind for the rest of the course. Access flows down from the site and is added at every level beneath it.

A folder can stop inheriting and keep its own permissions, and a file can be shared with a link that reaches people the site never included. To say who can open one file, you have to read every level above it and every link on it.

The lesson works through the layers in order and ends with how to read them for a real file. It uses one HR site throughout, People Operations, because HR content is the clearest case of content whose audience matters: the same salary file is entirely appropriate for the HR team and entirely inappropriate for most of the organization.

1

Sites and Their Groups

Owners, members, visitors, and what hides inside them

A SharePoint site is the unit most access starts from. Every site has three default SharePoint groups. Owners get Full Control, Members can edit or contribute depending on the site template, and Visitors can read.

Those three groups and their permission levels are the same on almost every site, which makes the site permissions page quick to read once you know the pattern: the questions are always who is in each group, and whether anything beyond the three groups has been granted access directly.

People are rarely added to these groups one by one; the groups usually hold other groups, and that is where audiences grow unseen.

SharePointSearch
People Operations › Settings › Site permissions
Site permissions
GroupPermissionMembers
People Operations OwnersFull control2
People Operations MembersEditPeople Operations group (14)
People Operations VisitorsReadHR Partners (38), nested
Recreated SharePoint site permissions with worked-example values.

The highlighted cell is the pattern to watch for. The Visitors group looks small on the page because it lists one entry, HR Partners, and that entry is a group of 38 people. SharePoint groups can contain Microsoft Entra security groups and Microsoft 365 groups, and those can contain more. The count that matters is people after every group is expanded, and no page in SharePoint shows it by default.

Module 1 expands groups as part of the exposure map. The expansion also surfaces a second problem, which is ownership. A nested group is managed somewhere else, by someone else, and the site owner rarely knows who. When HR Partners gains ten members next quarter, the People Operations site gains ten readers, and nobody on the site is told.

Group-connected sites add a second layer. A team site created with a Microsoft 365 group gives that group's members and owners access to the site, so membership of the group is membership of the site.

Changing who is in the group, in Outlook, Teams or the admin center, changes who can open every file on the site that inherits. Site owners often do not realize that adding someone to the team to join a conversation also gave them every document.

SharePoint

Read who a site grants access to:
SharePoint › The site › Settings › Site permissions
Read the three groups and their permission levels, then Advanced permissions settings for anything granted directly. Open each group to see whether it holds other groups.

The page shows groups, not people; the count after expansion is a second step.

Libraries and folders inherit from the site unless someone breaks inheritance. Breaking it is common and useful: a Compensation folder on an HR site can keep its own, tighter permissions. It is also easy to forget, and a folder that once kept tight permissions may have been reset, or may have had people added who were only meant to be there for a week.

Reading access means checking whether each level inherits, and reading the ones that do not. SharePoint shows a message on a library or folder that has unique permissions, and the site's permission pages list the items with exceptions. Those exceptions are where the interesting access usually sits, in both directions: folders locked down for good reason, and folders opened up for a reason nobody remembers.

2

Where Teams Keeps Files

A team is a group with a site underneath

Microsoft Teams stores files in SharePoint and OneDrive, and the place a file lands decides who can open it. Microsoft's documentation states that each team is connected to a Microsoft 365 group where its membership is stored, and that the team's site is created with the team.

Permissions on the site and permissions in the team are therefore the same thing seen from two places. Adding someone to the team in Teams adds them to the group, and the group is what the site trusts.

Foundations.xlsx
B5the sender's OneDrive, Microsoft Teams Chat Files
ABC
1Where the file was sharedStored inWho can open it by default
2A standard channelthe team site, a folder per channelevery member of the team
3A private channelits own SharePoint sitemembers of that channel
4A shared channelits own SharePoint sitemembers of that channel, including other tenants' users
5A one-to-one or group chatthe sender's OneDrive, Microsoft Teams Chat Filesthe people in that chat
Where Teams keeps files

Standard channels all share the team's site; each channel is a folder in the site's default library, so every member of the team can open every standard channel's files.

Private and shared channels are different: each has its own SharePoint site, which only that channel's members can reach by default. Shared channels can include people from other organizations, which makes their sites one of the few places where another tenant's users are members by design.

A private channel is often created precisely to hold sensitive material away from the rest of a team, and its site starts with tight access for that reason. It is still a SharePoint site, with its own owners and its own sharing settings, and the same layers apply to it as to any other site once people start sharing from it.

The highlighted row is the one people forget. Files uploaded into a one-to-one or group chat are stored in the sender's OneDrive, in a folder called Microsoft Teams Chat Files, and shared with the people in that chat. They do not live in any team site.

An exposure map that reads only SharePoint sites misses them, and when the sender leaves the organization, the files' future depends on what happens to that person's OneDrive.

OneDrive itself is a personal site. Its owner has full control and can share files from it like any other site, which makes OneDrive the largest and least reviewed sharing surface in most tenants. Every user has one, and few organizations know what their users have shared from them.

The OneDrive sharing ceiling is set separately from SharePoint's, and many tenants set OneDrive tighter for exactly this reason. Even so, organization links from OneDrive are common, because the default link type applies there too, and a user sharing a draft with a colleague often creates a link that works for the whole organization.

3

Sharing Links

Three types, three reaches

A sharing link adds access to one file or folder on top of whatever it inherits. SharePoint and OneDrive offer three link types, and the difference between them is how far a forwarded link reaches.

Foundations.xlsx
C3works for anyone in the organization
ABC
1Link typeWorks forIf forwarded
2Specific peoplethe people nameddoes not work for anyone else
3People in your organizationanyone in the organization with the linkworks for anyone in the organization
4Anyone with the linkanyone who has it, signed in or notworks for anyone, untracked
Where Teams keeps filesSharing links

A Specific people link works only for the people it names; forwarded to anyone else, it does not open. A People in your organization link works for anyone in the organization who has it, so forwarding it, or posting it in a channel, widens the audience to everyone who sees the message.

An Anyone link works for anyone who holds it, without signing in, and Microsoft notes that access through it cannot be tracked. Anyone links exist only where the site's external sharing allows them, and they can be set to expire and limited to view.

How far a forwarded link reachesSpecific peopleonly thosenamedPeople in your organyone in theorganization who has itAnyone with the linkanyone who has it,no sign-inPosting a link in a channel is forwarding it to every member.

The three link types by reach. Forwarding a Specific people link widens nothing; forwarding the other two widens the audience to everyone who receives it.

The middle box is the one that most often surprises people, for the reason below.

The highlighted cell is the most common source of exposure in tenants that do not allow Anyone links. A People in your organization link feels internal and therefore safe. It is internal; it is also unlimited inside the organization once it has been posted somewhere visible. Before Copilot, a link posted in a channel two years ago was effectively forgotten.

With Copilot, every person who can see that channel holds a path to the file, and the file is in scope whenever a question touches its subject. The link's creator usually meant to reach one or two people in the channel. Nothing in the link records that intention, and nothing ends it.

The default link type decides which of the three users get when they click Share without thinking. It is set for the organization and can be set per site, and sensitivity labels can set it too, as Module 3 shows. A tenant whose default is People in your organization creates organization-wide links every working day without anyone deciding to.

Changing the default does not change links that already exist, so a tenant that tightens its default today still holds every organization link created under the old one. Module 5 deals with both: the default going forward, and the links already out there.

Links also carry a permission, view or edit, and can be set to block download. Those settings matter for what a recipient can do once they open the file. For Copilot, the question is simpler: can the user open the file at all. A view-only organization link gives every holder enough access for Copilot to use the file in an answer to them.

4

Everyone, Guests and External Sharing

The audiences that include more than anyone listed

Two special audiences include far more people than their names suggest. Everyone except external users is a built-in group that holds every user added to the organization, now and in the future. It does not appear in the Microsoft 365 admin center as a group you can open, and it is easy to grant without noticing.

On a public group-connected team site, it has Edit by default, which means a public site is readable and editable by the whole organization from the day it is created.

SharePoint admin center

Read the organization's sharing ceiling:
SharePoint admin center › Policies › Sharing
Read the two external sharing sliders, SharePoint and OneDrive, then File and folder links for the default link type. A site can be set lower than these values, never higher.

The sharing page is the first place to look in any tenant, because it sets the limits every site works within. Two sliders set how far SharePoint and OneDrive content may be shared outside the organization, and the section below them sets the default link users are offered.

The SharePoint admin center Sharing page. External sharing sliders show SharePoint at Anyone, the most permissive level, and OneDrive at Only people in your organization, the least. Below, File and folder links has Only people in your organization selected as the default link type.

The organization-level sharing settings in the course tenant: how far SharePoint and OneDrive may share outside the organization, and which link type users get by default. Select the image to open it full size.

The sliders map to four levels. Each level allows everything the levels below it allow, plus one more kind of audience.

Foundations.xlsx
C2yes
ABC
1LevelWho content can be shared withAnyone links?
2Anyoneanyone, including people who never sign inyes
3New and existing guestsexternal people, who sign in or verifyno
4Existing guestsonly guests already in the directoryno
5Only people in your organizationno one outside the organizationno
Where Teams keeps filesSharing linksExternal sharing levels

External sharing sets the ceiling for how far content can leave the organization. The levels run from Anyone, through new and existing guests, to existing guests only, to only people in the organization.

SharePoint and OneDrive are set separately, and Microsoft documents that OneDrive can be more restrictive than SharePoint but never more permissive. Each site can be set lower than the organization, never higher. The capture shows the course tenant with SharePoint at the most permissive level and OneDrive at the least, which means Anyone links are possible on SharePoint sites whose own setting allows them.

The highlighted row is that level. It is the only one at which Anyone links can exist, and a tenant that sets SharePoint to Anyone for one site's sake has raised the ceiling for every site that has not set itself lower. Reading the ceiling first tells you which kinds of links are possible anywhere; reading each site tells you which are possible there.

Most tenants have reasons for their settings. A firm that shares drawings with clients may need guest sharing on project sites. A firm that publishes brochures may want Anyone links on one marketing site.

The engineering question is whether the setting is as wide as the widest need, applied everywhere, or as narrow as each site's own need, applied site by site. The second is more work and much less exposure.

Guests are external people with an account in the tenant. Once a guest is added to a group or a site, they are an ordinary member of that audience and can open what the audience can open. For a data security engineer the practical point is that guests appear in group memberships, and an access review that expands groups must say which members are external.

5

Reading a File's Access

Every level, every link

Reading access for one file means combining everything above. The Manage access panel in SharePoint and OneDrive is the place to start, because it shows inherited groups and every link on the item.

SharePointSearch
People Operations › Documents › Compensation
Pay review export.xlsx: Manage access
WhoAccessThrough
People Operations OwnersFull controlsite
People Operations MembersEditsite
People Operations VisitorsReadsite
People in your organization with the linkViewlink created 2025-03-14
Joni ShermanEditspecific people link
Recreated Manage access panel with worked-example values.

The panel lists five audiences. Three come from the site and match the site permissions page. Joni Sherman has a Specific people link, which reaches only her. The highlighted row is an organization link created in March 2025, which reaches anyone in the organization who has it.

The panel does not say where that link was sent, and it does not expand the Visitors group into its 38 people. Both of those need another step: the group expanded in Entra or with PowerShell, and the link's reach judged from where it was shared, which Module 1 reads from activity and reports.

The panel also shows nothing about Everyone except external users unless that group was granted access explicitly, and nothing about whether the site is public. Those come from the site permissions page and the group's privacy setting.

No single screen answers the question; the answer is the union of several. That is the main reason access reviews go wrong in practice. A reviewer reads one screen, finds it reasonable, and signs the site off, while the audience that matters was on a screen they did not open.

SharePoint

Read every path to one file:
SharePoint › The library › select the file › Manage access
Read the people and groups with access, then the Links tab for every sharing link, its type and its permission.

The panel above is a recreation of that page for one file; the steps are the same for any file.

Site-level settings are read in the SharePoint admin center or with PowerShell. The site's sharing capability tells you whether Anyone links can exist there at all, and its default link type tells you what users get by default.

PS C:\> $site = 'https://ne.sharepoint.com/sites/PeopleOps'
PS C:\> Get-SPOSite -Identity $site | Select SharingCapability, DefaultSharingLinkType

SharingCapability     DefaultSharingLinkType
-----------------     ----------------------
ExternalUserSharingOnly None

The output shows a site that allows sharing with guests but not Anyone links, which need the most permissive value, ExternalUserAndGuestSharing. A default link type of None means the site uses the value set for the organization. That rules out one kind of exposure for the site and leaves the rest to be read item by item.

Reading one file this thoroughly takes a few minutes. Reading a tenant this way would take years, which is why Module 1 starts from reports that find the sites and items worth reading, and saves the full read for the content that matters.

The SharePoint admin center's data access governance reports list sites with organization-wide and Anyone links, sites shared with Everyone except external users, and sites with many sharing links created recently. Each report narrows thousands of sites to dozens, and the dozens are where a full read like the one above pays off.

The same order applies in reverse when fixing access. Start at the ceiling, because tightening the organization's sharing setting changes what can be created everywhere. Then the sites, because a site's groups and privacy setting reach every file that inherits. Then the links on the files that matter.

Module 5 orders remediation this way and adds the one consideration this lesson has not covered: what each fix will break for the people who were using the access legitimately.

Microsoft 365 CopilotWorkWebPrepared example
Who can access files in a private channel in Microsoft Teams?
Only members of the private channel. Private channels have their own SharePoint site, separate from the parent team site, so other team members cannot see the files.
Check before you use itRight about the default and silent about everything that widens it. A member can share a file from the private channel site with a link, and a site owner can add people to that site. "Only members" describes how the site starts, and an access review has to read how it is now.

The assistant states the default correctly. The default is where a private channel starts, and access reviews are about where it has got to since. Any channel member can share a file onward with a link, and the channel site's owners can add members directly.

Ask an assistant about defaults and you will usually get a correct answer; ask it about your tenant's current state and the only correct answer is to read it.

Do

Practice

Everyone who can open one file
the requirement set
Review taskFoundationsEveryone who can open one file
DeliverableA list of every person or group who can open Pay review export.xlsx, with the path each one uses.
Done whenEvery audience is named with its path and size, and the one that should not be there is marked.
  • Site permissionsRead the groups. Owners, members, visitors; expand any nested group.
  • Manage accessRead the file. Inherited access, then every link and its type.
  • Sharing settingsCheck the ceiling. Could an Anyone link exist on this site at all?
  • The listWrite it. Each audience, its size, its path, and whether it should be there.

Use the site permissions, the Manage access panel and the PowerShell output from this lesson. Expand the Visitors group using the count shown, treat the organization link as reaching the 300-member channel it was posted to, and write each audience on its own line. Then mark the one audience that the file's owner would not have chosen, and say which of the three layers in Lesson 0.1 would remove it.

Try thisCheck it covers every path
In SharePoint Online, how do I find out everyone who can open a specific file, including through sharing links and nested groups?

What to look at: whether it includes inherited site groups, nested groups expanded to people, every sharing link and its type, and the special groups that include everyone. An answer that stops at the Manage access panel has listed the groups and not the people in them.

The answer worth trusting covers every path: inherited groups expanded to people, every link with its type, and the special groups that include everyone. An answer that stops at the Manage access panel has listed groups, not people.

Access in Microsoft 365 is built in layers: site groups that hold other groups, libraries and folders that inherit or keep their own permissions, files that carry links, and Teams storage that spreads files across team sites, channel sites and the sender's OneDrive. Three link types differ in how far a forwarded link reaches, and the organization-wide link is the one that most often surprises.

Everyone except external users and public sites widen audiences to the whole organization. External sharing sets the ceiling. Reading one file's access means reading every level and every link. The next lesson moves from where data lives to where the controls for it are built: the Microsoft Purview portal and the roles that open it.