The Hidden SharePoint Behind Every Teams Channel
Every Microsoft Teams channel stores its files in SharePoint — this is fundamental to the Teams architecture and often misunderstood by both users and IT administrators. When users click the "Files" tab in a Teams channel, they're accessing a SharePoint document library. Understanding this relationship is essential for governance, administration, and effective collaboration.
The Teams-SharePoint Architecture
How Teams and SharePoint Connect
When a new Microsoft 365 Group-connected Team is created:
- A Microsoft 365 Group is created
- A SharePoint team site is auto-provisioned (e.g., /sites/Marketing-Team)
- A "Shared Documents" library (General channel) is created in the SharePoint site
- Each new channel created in Teams adds a new folder in the library
```
Teams Structure → SharePoint Mapping
├── Marketing Team (Teams)
│ └── /sites/MarketingTeam (SharePoint Site)
│ └── Documents Library (root)
│ ├── General/ (General channel files)
│ ├── Campaigns/ (Campaigns channel files)
│ ├── Brand Assets/ (Brand Assets channel files)
│ └── Analytics/ (Analytics channel files)
```
Private Channels: Separate SharePoint Sites
Private channels are different — each private channel gets its own separate SharePoint site:
```
Marketing Team
├── General channel → /sites/MarketingTeam (shared)
├── Public: Campaigns → /sites/MarketingTeam (same site, separate folder)
└── Private: Executive Strategy → /sites/MarketingTeam-ExecutiveStrategy (separate site!)
```
This is why private channels have separate membership and permissions — they're backed by entirely separate SharePoint site collections.
Shared Channels (Teams Connect)
Shared channels (for collaboration with external organizations or different tenants) also have their own SharePoint sites in the host tenant.
File Organization Best Practices
The Folder Trap
Many Teams users create excessive folder hierarchies within channels:
```
❌ Bad: Deep nesting
General/
└── 2024/
└── Q3/
└── Projects/
└── ProjectA/
└── Documents/
└── Final/
└── Final-v2/
└── Final-v2-ACTUAL-FINAL.docx
```
```
✅ Good: Shallow + metadata
General/
├── Budget-2024-Q3.xlsx (metadata: Year=2024, Quarter=Q3, Type=Budget)
├── ProjectA-Brief.docx (metadata: Project=ProjectA, Type=Brief)
└── Campaign-Launch-Timeline.pptx (metadata: Type=Timeline)
```
Metadata + search > folder hierarchies. Train users to use metadata columns and SharePoint search instead of recreating the file share folder structure in Teams.
Channel Structure Guidelines
Design channels to match the natural work organization, not org chart structure:
```
Marketing Team - Good Channel Structure:
├── General (announcements, general discussion)
├── Content Calendar (editorial planning)
├── Campaigns (active campaign work)
├── Brand & Creative (brand assets, design reviews)
├── Analytics & Reporting (dashboards, monthly reports)
└── Private: Agency Contracts (sensitive vendor documents - private channel)
```
Files Tab vs. SharePoint Direct Access
| Access Method | Best For | Notes |
|--------------|---------|-------|
| Teams Files tab | Quick access within Teams workflow | Limited SharePoint features visible |
| "Open in SharePoint" button | Full SharePoint features (views, metadata columns, version history) | Opens in browser |
| SharePoint direct URL | Admin operations, bulk management, power users | Full administrative access |
| OneDrive sync client | Offline access, Windows Explorer integration | Syncs channel folder to local drive |
Permission Management for Teams Files
Understanding Teams Permission Model
Teams permissions are managed differently than traditional SharePoint:
| Role | Teams | SharePoint Equivalent |
|------|-------|----------------------|
| Team Owner | Owners | Site Collection Admin + Full Control |
| Team Member | Members | Edit (contribute) |
| Team Guest | Guests | Edit (limited) |
Warning: Changing SharePoint permissions directly on a Teams-connected site can create inconsistencies between what Teams shows and what SharePoint actually grants. Manage access through Teams whenever possible.
When to Use SharePoint Permissions Directly
Use direct SharePoint permission management for:
- Breaking inheritance on specific files that need restricted access
- Adding non-Team members with view-only access (Teams guest access gives edit by default)
- Applying sensitivity labels to specific documents
- Configuring DLP policies
```powershell
# Add view-only access for an external reviewer without adding to Teams
Connect-PnPOnline -Url "https://contoso.sharepoint.com/sites/MarketingTeam" -Interactive
$file = Get-PnPFile -Url "/sites/MarketingTeam/Shared Documents/Campaigns/Campaign-Brief.docx"
# Break inheritance on this file
Set-PnPListItemPermission `
-List "Documents" `
-Identity $file.ListItemAllFields.Id `
-User "[email protected]" `
-AddRole "View Only"
```
Private Channel Permission Isolation
Private channels are permission-isolated — members of the parent team cannot access private channel files unless they're also members of the private channel. This is the primary use case for private channels.
```powershell
# Check who has access to a private channel SharePoint site
Connect-PnPOnline -Url "https://contoso.sharepoint.com/sites/MarketingTeam-ExecutiveStrategy" -Interactive
Get-PnPGroupMember -Group "Members" | Select-Object LoginName, Title
```
Co-Authoring in Teams Files
One of Teams' most powerful features is real-time co-authoring in Word, Excel, and PowerPoint files stored in channel document libraries.
Co-Authoring Requirements
- File format: .docx, .xlsx, .pptx (not .doc, .xls, .ppt)
- Application version: Microsoft 365 Apps (desktop) or Office for the Web
- Network: Standard HTTPS to Microsoft 365 endpoints
- Licensing: Microsoft 365 Business Standard or Enterprise (E3+)
Co-Authoring Best Practices
- Avoid check-out: "Require check-out" setting breaks co-authoring — disable it for Teams libraries
- Version history: Keep version history enabled (default 500 versions) — co-authoring creates auto-saves
- Conflict resolution: When two users edit the same area simultaneously, SharePoint creates a "co-auth conflict" branch that the document owner must resolve
- Save behavior: Files auto-save every 30 seconds in co-auth sessions — there is no "save" button; this is intentional
Loop Components: The Future of Teams Collaboration
Microsoft Loop components are live, collaborative components (tables, checklists, paragraphs) that can be inserted into Teams chats or channel posts and are stored in SharePoint or OneDrive.
Loop components stored in Teams channel conversations save to:
- The user's OneDrive for Business (1:1 chats)
- The channel's SharePoint document library (channel posts)
For governance purposes: Loop components in channel conversations are subject to the same retention and eDiscovery policies as regular SharePoint content.
File Governance in Teams
File Naming Conventions
Without naming conventions, channel files become chaotic:
- Establish conventions: [ContentType]-[Topic]-[Date] (e.g., Report-Q3-Revenue-20260930.xlsx)
- Use metadata instead of encoding metadata in file names when possible
- Enforce via training — automation is possible via Power Automate but complex
Version History Configuration
```powershell
# Set version history on channel document library (via SharePoint)
Connect-PnPOnline -Url "https://contoso.sharepoint.com/sites/MarketingTeam" -Interactive
$library = Get-PnPList -Identity "Documents"
# Set major versions only, retain 50 versions
Set-PnPList -Identity "Documents" `
-EnableVersioning $true `
-MajorVersions 50 `
-EnableMinorVersions $false # Minor versions create bloat in collaborative environments
```
Preventing File Storage Abuse
Without governance, Teams channels accumulate:
- Duplicate files (same file uploaded multiple times by different users)
- Superseded versions kept indefinitely
- Personal files uploaded to team channels instead of OneDrive
- Large video files (Teams meeting recordings)
```powershell
# Find large files in Teams channel libraries (>100MB)
Connect-PnPOnline -Url "https://contoso.sharepoint.com/sites/MarketingTeam" -Interactive
$library = Get-PnPList -Identity "Documents"
$items = Get-PnPListItem -List $library -Fields "File_x0020_Size", "FileLeafRef", "Created", "Author"
$largeFiles = $items | Where-Object { $_.FieldValues.File_x0020_Size -gt 100MB }
$largeFiles | Select-Object {$_.FieldValues.FileLeafRef}, {$_.FieldValues.File_x0020_Size / 1MB} |
Sort-Object {$_.FieldValues.File_x0020_Size} -Descending
```
Teams Meeting Recording Storage
Teams meeting recordings (90-day default) store to:
- Organizer's OneDrive (if meeting in channel: channel's SharePoint library)
- Stream (classic) is deprecated — all new recordings go to OneDrive/SharePoint
Manage recording storage proactively:
```powershell
# Set retention policy for Teams meeting recordings
Connect-IPPSSession
New-RetentionCompliancePolicy -Name "Teams Recordings - 90 Day Retention" `
-TeamsChannelLocation All `
-TeamsChatLocation All
New-RetentionComplianceRule -Policy "Teams Recordings - 90 Day Retention" `
-RetentionComplianceAction Delete `
-RetentionDuration 90 `
-RetentionDurationDisplayHint Days `
-ContentMatchQuery "Filetype:mp4" # Target only video files
```
Migrating File Shares to Teams Channels
When migrating from Windows file shares to Teams + SharePoint, plan the mapping:
```
File Share Migration Mapping Example:
\fileserverMarketing → Marketing Team channels:
├── \MarketingCampaigns → Campaigns channel files
├── \MarketingBrand → Brand & Creative channel files
├── \MarketingReports → Analytics channel files
└── \MarketingArchive → Archive (separate SharePoint library, not Teams channel)
```
Migration tool: ShareGate or Microsoft SPMT can migrate file share content to Teams channel libraries. Preserve:
- File creation/modification dates (important for audit trails)
- NTFS permissions mapped to Teams membership (map AD groups to M365 groups)
- Folder structure (convert top-level folders to channels where it makes sense)
Conclusion
The Teams-SharePoint file relationship is powerful when properly understood and governed. Teams provides the collaboration interface; SharePoint provides the governance engine. Organizations that invest in file naming conventions, metadata strategies, and version management get dramatically better outcomes than those who treat Teams files as just "another shared drive."
EPC Group designs Teams governance frameworks and migrates organizations from file shares, network drives, and legacy SharePoint to modern Teams + SharePoint environments. Contact us to discuss your Teams file governance strategy.
Written by Errin O'Connor
Founder, CEO & Chief AI Architect | Microsoft Press Bestselling Author | 25+ Years Microsoft Ecosystem
Errin O'Connor is a Microsoft Press bestselling author of 4 books covering SharePoint, Power BI, Azure, and large-scale migrations. He leads our SharePoint consulting practice with expertise spanning 500+ enterprise migrations and compliance implementations across HIPAA, SOC 2, and FedRAMP environments.
Expert SharePoint Services
Need Expert Help?
Our SharePoint consultants are ready to help you implement these strategies in your organization.