Microsoft OneDrive Administration: Complete Practical Course — Matching the OneDrive Admin Center & MS-102 Certification
The guide covers the complete OneDrive administration lifecycle — provisioning, quota management, sync policies, Known Folder Move (Folder Backup), sharing & external collaboration, orphaned account retention, admin access to user OneDrives, Personal Vault, Files On-Demand, Purview compliance integration, and usage reporting — including the latest 2025–2026 features: OneDrive Copilot integration, Home Site pinning in OneDrive, and updated SharePoint Embedded storage architecture.
🗺️ Course Module Map
OneDrive Admin Center Overview
admin.onedrive.com, portal navigation, tenant-wide settings, relationship with SharePoint admin center
Storage Settings & User Quotas
Default storage per user, per-user quota override, tenant total storage, storage reporting
Sync Client Policies
OneDrive sync settings, domain restrictions, block file types, differential sync, update rings
Sharing & External Collaboration
OneDrive sharing levels, guest link settings, expiry, anyone links, domain restrictions
Known Folder Move (KFM)
Folder Backup policy, Desktop/Documents/Pictures redirection via GPO, Intune, and MDM
Data Migration to OneDrive
Migration Manager, SPMT, Google Drive migration, file share migration, migration reports
Orphaned Account & Retention Management
OneDrive retention after user deletion, access delegation, secondary admin designation
Admin Access to User OneDrives
Granting admin access, site collection admin rights, eDiscovery access, unlocking OneDrives
Personal Vault & Files On-Demand
Personal Vault additional authentication, Files On-Demand (smart sync), offline access policy
Compliance Integration
DLP policies for OneDrive, retention labels, eDiscovery holds, sensitivity labels in OneDrive
Reports & Usage Analytics
OneDrive usage reports, storage consumption, inactive users, file activity via Microsoft Graph
MS-102 Certification Alignment
OneDrive exam topics, scenario tips, PowerShell expectations, and study resources
🏠 Module 1: OneDrive Admin Center Overview
The OneDrive Admin Center is accessible directly at admin.onedrive.com or via Microsoft 365 Admin Center → SharePoint → OneDrive settings. Most OneDrive tenant settings are configured within the SharePoint Admin Center (admin.sharepoint.com) — the OneDrive admin portal surfaces the most-commonly used settings as a simplified view, while the full configuration depth lives in the SharePoint admin center.
OneDrive Storage Tiers & Licensing
| Plan | OneDrive Storage Per User | Tenant Pool Calculation |
|---|---|---|
| Microsoft 365 Business Basic/Standard/Premium | 1 TB per licensed user | 1 TB per user — no pooled storage; each user gets their own 1 TB |
| Microsoft 365 E1 / E3 | 1 TB per licensed user | 1 TB per user |
| Microsoft 365 E5 | Unlimited (subject to policy) | 1 TB baseline + 10 GB per licensed user added to tenant pool; admins set per-user quota |
| Microsoft 365 F1 / F3 (Frontline) | 2 GB per licensed user | Significantly reduced — suitable for frontline workers with limited file storage needs |
📄 Storage
🔁 Sync
🔗 Sharing
📤 Migration
🔐 Access control
📊 Reports
💾 Module 2: Storage Settings & User Quotas
Storage in OneDrive for Business is managed at two levels: the tenant-level default quota (applied to every new OneDrive that is provisioned) and per-user quota overrides (applied to specific users who need more or less than the default). OneDrive sites are provisioned automatically on first sign-in or when an admin provisions them via PowerShell.
Manage OneDrive Storage Quotas & Report on Usage
Set the tenant default OneDrive quota, override quota for specific users, identify users approaching their limit, and export storage usage across all OneDrive sites.
Connect-SPOService -Url "https://contoso-admin.sharepoint.com" # Get current tenant OneDrive default storage quota Get-SPOTenant | Select-Object OneDriveStorageQuota,OneDriveStorageQuotaAlerts # Set default quota to 5 GB with 90% warning alert Set-SPOTenant -OneDriveStorageQuota 5120 -OneDriveStorageQuotaAlerts 4608 # Export all OneDrive sites with storage usage Get-SPOSite -IncludePersonalSite $true -Template "SPSPERS#10" -Limit All | Select-Object Owner,Url,StorageUsageCurrent,StorageQuota,StorageQuotaWarningLevel | Sort-Object StorageUsageCurrent -Descending | Export-Csv -Path "OneDriveStorageReport.csv" -NoTypeInformation # Set custom quota for a specific user (10 GB) Set-SPOSite -Identity "https://contoso-my.sharepoint.com/personal/john_doe_contoso_com" ` -StorageQuota 10240 ` -StorageQuotaWarningLevel 9216 # Flag users above 80% capacity Get-SPOSite -IncludePersonalSite $true -Template "SPSPERS#10" -Limit All | Where-Object {$_.StorageQuota -gt 0 -and ($_.StorageUsageCurrent / $_.StorageQuota) -gt 0.8} | Select-Object Owner,Url,StorageUsageCurrent,StorageQuota | Sort-Object StorageUsageCurrent -Descending | Format-Table -AutoSize # Pre-provision OneDrive for new users Request-SPOPersonalSite -UserEmails @("newuser@contoso.com","anotheruser@contoso.com")
🔁 Module 3: Sync Client Policies
OneDrive sync policies control how the OneDrive sync client (OneDrive.exe) operates on user devices — whether sync is restricted to domain-joined devices, which file extensions are blocked from syncing, and how the client receives updates. These policies are configured in the SharePoint Admin Center under Sync and can also be deployed via Group Policy (GPO) or Intune (MDM) using the OneDrive ADMX templates.
OneDrive Sync Policy Settings
| Setting | Description | Configuration Method |
|---|---|---|
| Sync only on domain-joined PCs | Restricts OneDrive sync to devices joined to specified on-premises AD domains | SharePoint Admin Center → Sync; or GPO/Intune ADMX |
| Block Mac sync | Prevents the OneDrive sync client on macOS from syncing any SharePoint/OneDrive libraries | SharePoint Admin Center → Sync |
| Block file extensions | Prevents files matching specific extensions from syncing (e.g. .tmp, .vhd, .iso, .pst) | SharePoint Admin Center → Sync; or GPO: BlockedExtensions |
| KFM (Folder Backup) — prompt users | Shows a prompt in the sync client asking users to enable Known Folder Move | GPO: KFMOptInWithWizard; Intune: OMA-URI or Settings Catalog |
| KFM (Folder Backup) — silently enable | Silently redirects Desktop, Documents, and Pictures to OneDrive without user interaction | GPO: KFMSilentOptIn; Intune: Settings Catalog OneDrive settings |
| Differential sync | Only syncs the changed parts of a file rather than re-uploading the entire file on edit | Enabled by default — no admin configuration required |
| Update ring | Controls whether the sync client updates via Production, Enterprise (deferred 60 days), or Insider ring | GPO: EnableEnterpriseUpdateRing; Intune: Settings Catalog |
Configure Sync Client Restrictions & Verify via PowerShell
Apply domain-join restrictions for OneDrive sync, block specific file extensions, and verify the sync client restriction settings currently applied to the tenant.
Connect-SPOService -Url "https://contoso-admin.sharepoint.com" # Get current sync client restriction settings Get-SPOTenantSyncClientRestriction # Restrict sync to domain-joined devices only Set-SPOTenantSyncClientRestriction -Enable ` -DomainGuids @("your-ad-domain-guid-here") # Block Mac sync and specific file extensions Set-SPOTenant -BlockMacSync $true Set-SPOTenant -ExcludedFileExtensionsForSyncClient @(".tmp",".vhd",".vhdx",".pst",".bak",".iso") # Verify sync restrictions Get-SPOTenantSyncClientRestriction | Select-Object TenantRestrictionEnabled,AllowedDomainList Get-SPOTenant | Select-Object BlockMacSync,ExcludedFileExtensionsForSyncClient
🔗 Module 4: Sharing & External Collaboration
OneDrive sharing settings can be configured independently from SharePoint site sharing — allowing organisations to be more permissive for personal document sharing while being more restrictive for team sites. The OneDrive sharing setting can be set to any level up to (but not exceeding) the tenant-level SharePoint sharing setting.
OneDrive Sharing Levels
| Sharing Level | Who Can Receive Links | Sign-in Required | Use When |
|---|---|---|---|
| Anyone | Literally anyone — link can be forwarded to unintended recipients | No | Organisations with public-facing file sharing needs; apply mandatory link expiry (14–30 days) |
| New and existing guests | External users who are invited for the first time or existing guests | Yes — Microsoft account, OTP, or work account | Most organisations — allows external sharing with accountability and sign-in |
| Existing guests only | Only users already in the tenant Entra ID as guests | Yes — must have existing guest account | Tightly-controlled environments with pre-approved external partners only |
| Only people in your organisation | Internal users only — no external sharing | Yes — org account required | Regulated industries or departments handling highly sensitive personal data |
Configure OneDrive Sharing Settings & Audit External Shares
Set OneDrive-specific sharing level separately from SharePoint sites, configure anonymous link expiry, and report on all files currently shared externally from OneDrive across the tenant.
Connect-SPOService -Url "https://contoso-admin.sharepoint.com" # Get current OneDrive sharing settings Get-SPOTenant | Select-Object SharingCapability,OneDriveForGuestsEnabled,RequireAnonymousLinksExpireInDays,DefaultSharingLinkType # Require anonymous links to expire after 14 days Set-SPOTenant -RequireAnonymousLinksExpireInDays 14 # Set default sharing link type to Specific people Set-SPOTenant -DefaultSharingLinkType Direct # Get external users on a specific OneDrive Get-SPOUser -Site "https://contoso-my.sharepoint.com/personal/john_doe_contoso_com" -Limit All | Where-Object {$_.LoginName -like "*#ext#*"} | Select-Object DisplayName,LoginName,IsSiteCollectionAdmin | Format-Table -AutoSize # Export all OneDrive external users tenant-wide Get-SPOExternalUser -SiteUrl "https://contoso-my.sharepoint.com" -Limit All | Export-Csv -Path "OneDriveExternalUsers.csv" -NoTypeInformation
📁 Module 5: Known Folder Move (KFM)
OneDrive Known Folder Move (KFM) — now labelled Folder Backup in the OneDrive sync client UI — automatically redirects a user’s Windows Desktop, Documents, and Pictures folders to their OneDrive, providing automatic cloud backup of critical user data. It is one of the most impactful OneDrive features for business continuity and the primary reason organisations can confidently decommission on-premises file servers and roaming profiles.
KFM Deployment Methods
| Method | What It Does | User Interaction |
|---|---|---|
| KFMOptInWithWizard (GPO/Intune) | Shows the sync client wizard asking users to enable Folder Backup — user must click to confirm | User prompted — can decline |
| KFMSilentOptIn (GPO/Intune) | Silently enables Folder Backup without user interaction — Desktop, Documents, Pictures redirected automatically | Silent — user sees a notification toast after completion |
| KFMBlockOptOut (GPO/Intune) | Prevents users from disabling Folder Backup once it is enabled — enforces the policy | User cannot opt out |
| Intune Settings Catalog | Configures KFM settings via Intune MDM for Entra Joined or Hybrid Joined Windows 10/11 devices | Silent for enrolled devices — same effect as GPO |
Deploy Known Folder Move via Intune Settings Catalog & Verify via Graph
Configure KFM silently via Intune Settings Catalog and then use Microsoft Graph to report which users have successfully redirected their known folders to OneDrive.
Connect-MgGraph -Scopes "Reports.Read.All" # Export OneDrive usage report (last 30 days) Invoke-MgGraphRequest -Method GET ` "https://graph.microsoft.com/beta/reports/getOneDriveUsageAccountDetail(period='D30')" ` -OutputFilePath "OneDriveUsageReport.csv" Write-Host "OneDrive usage report exported." # Find KFM Intune configuration profiles Connect-MgGraph -Scopes "DeviceManagementConfiguration.Read.All" Get-MgDeviceManagementConfigurationPolicy -All | Where-Object {$_.Name -like "*OneDrive*" -or $_.Name -like "*Known Folder*"} | Select-Object Name,Description,Platforms,SettingCount | Format-Table -AutoSize # Report on per-user OneDrive storage consumption Connect-MgGraph -Scopes "Files.Read.All","User.Read.All" $Users = Get-MgUser -All -Property DisplayName,UserPrincipalName | Select-Object -First 20 foreach ($User in $Users) { try { $Drive = Get-MgUserDrive -UserId $User.Id Write-Host "$($User.UserPrincipalName) | Used: $([math]::Round($Drive.Quota.Used/1GB,2)) GB / $([math]::Round($Drive.Quota.Total/1GB,2)) GB" } catch { $null } }
📤 Module 6: Data Migration to OneDrive
Microsoft provides two primary tools for migrating content to OneDrive: the SharePoint Migration Tool (SPMT) for SharePoint Server content and the Migration Manager (in the SharePoint Admin Center under Migration) for file shares, Google Drive, Box, and Dropbox. OneDrive personal storage migrations follow the same workflow as SharePoint Online migrations.
Migration Sources Supported to OneDrive
| Source | Tool | What Migrates | Notes |
|---|---|---|---|
| Windows file shares (SMB) | Migration Manager (agent-based) | Folder structure, files, last-modified timestamps | Agents deployed on source file servers; parallel migration tasks |
| Google Drive (personal) | Migration Manager → Google | Google Docs/Sheets/Slides converted to Office format; Drive folders to OneDrive | Requires Google Workspace or personal Google account OAuth consent |
| Box | Migration Manager → Box | Files and folder structure — no permissions | Box admin token required for organisation migration |
| SharePoint Server (My Sites) | SPMT | Personal sites (My Site / MySite host content) to OneDrive | Migrates user documents from SP2013/2016/2019 My Sites to cloud OneDrive |
| Dropbox | Migration Manager → Dropbox | Files and folder structure | Dropbox Business admin access required |
♻️ Module 7: Orphaned Account & Retention Management
When a user account is deleted from Microsoft 365, their OneDrive enters a retention period before being permanently deleted. During this period the content is preserved and can be accessed by a designated manager or admin. This is critical for business continuity — particularly for capturing project files, contracts, and correspondence from departing employees.
Manage Orphaned OneDrives — Set Retention, Grant Access & Clean Up
Configure the retention period for deleted user OneDrives, grant admin or manager access to an orphaned OneDrive, and identify OneDrives that are approaching the end of their retention window.
Connect-SPOService -Url "https://contoso-admin.sharepoint.com" # Get current orphaned OneDrive retention period Get-SPOTenant | Select-Object OrphanedPersonalSitesRetentionPeriod # Set retention to 180 days after account deletion Set-SPOTenant -OrphanedPersonalSitesRetentionPeriod 180 # Grant an admin site collection admin rights on an orphaned OneDrive Set-SPOUser -Site "https://contoso-my.sharepoint.com/personal/departed_user_contoso_com" ` -LoginName "admin@contoso.com" ` -IsSiteCollectionAdmin $true Write-Host "Admin access granted to orphaned OneDrive." # Set user's manager as secondary owner for automatic access delegation Set-SPOSite -Identity "https://contoso-my.sharepoint.com/personal/departed_user_contoso_com" ` -SecondaryOwner "manager@contoso.com" # Remove admin access after content review Set-SPOUser -Site "https://contoso-my.sharepoint.com/personal/departed_user_contoso_com" ` -LoginName "admin@contoso.com" ` -IsSiteCollectionAdmin $false
🔒 Module 8: Admin Access to User OneDrives
Administrators sometimes need to access a user’s OneDrive content — for eDiscovery investigations, content recovery, or data governance reviews. This requires temporarily granting themselves (or a designated admin) site collection administrator rights on the specific OneDrive site. This action is logged in the Microsoft Purview audit log.
⚠️ Admin Access — Always Audit & Remove When Done
Granting yourself admin access to a user’s OneDrive is recorded in the Purview Unified Audit Log under the SiteCollectionAdminAdded operation. Always remove your access after completing the required task and document the business justification. Consider using eDiscovery holds and content search instead of direct OneDrive access for legal matters — this preserves chain of custody and avoids modifying any files.
🔒 Module 9: Personal Vault & Files On-Demand
Personal Vault is a protected area within OneDrive that requires additional identity verification (step-up authentication — PIN, biometric, or authenticator app) to access, providing an extra layer of security for sensitive documents like passports, financial records, or legal documents.
Files On-Demand (also called Smart Sync) allows OneDrive to show all cloud-stored files as placeholders in Windows Explorer without downloading them locally — saving local disk space while maintaining full visibility of the user’s OneDrive content.
Personal Vault & Files On-Demand Settings
| Feature | What Admins Control | PowerShell / Policy |
|---|---|---|
| Personal Vault — disable for all users | Prevent users from accessing or enabling Personal Vault in their OneDrive | Set-SPOTenant -DisablePersonalListCreation $true (limits some features); full disable via OneDrive Admin Center |
| Personal Vault lock timeout | How long before Personal Vault auto-locks after inactivity (default 20 min; can be set to 1–20 min for higher security) | Configurable per-user in UI — no tenant-wide PowerShell override |
| Files On-Demand — always keep on device | Force specific OneDrive folders to always be downloaded locally (always-offline mode) | GPO: FilesOnDemandEnabled; Intune Settings Catalog OneDrive settings |
| Files Restore | Allows users to restore their entire OneDrive to any point in the last 30 days | Always-on for licensed users — no admin configuration required |
📊 Module 10: Compliance Integration
OneDrive for Business is fully integrated with Microsoft Purview compliance capabilities — every file stored in OneDrive can be protected by sensitivity labels, covered by DLP policies, retained by retention policies and labels, included in eDiscovery searches and holds, and audited in the Unified Audit Log.
Purview Compliance Integration with OneDrive
| Purview Capability | OneDrive Integration | Admin Action Required |
|---|---|---|
| Sensitivity labels | Files in OneDrive can have sensitivity labels applied manually by users or auto-applied by auto-labeling policies based on content detection | Create label policy with OneDrive location; configure auto-labeling if needed |
| DLP policies | DLP scans OneDrive files for sensitive information types (credit cards, SSNs, etc.) and can restrict sharing or alert admins when sensitive content is detected | Add OneDrive location to DLP policy in Purview; scope to All OneDrive accounts or specific users |
| Retention policies | Retention policies applied to OneDrive preserve files for the specified period even if users delete them (content goes to Preservation Hold Library) | Create retention policy with OneDrive location in Purview |
| eDiscovery | Content search and eDiscovery cases can include OneDrive as a search location; hold policies preserve OneDrive content for litigation | Add OneDrive URLs to content search or eDiscovery case scope |
| Audit log | All file access, download, share, delete, and rename operations in OneDrive are recorded in the Unified Audit Log (FileAccessed, FileDownloaded, SharingSet, etc.) | No action required — always-on for M365 subscribers |
📊 Module 11: Reports & Usage Analytics
Export OneDrive Usage & Activity Reports via Microsoft Graph
Pull OneDrive usage, activity, and file count reports programmatically for monthly governance dashboards and identify inactive users with allocated OneDrive storage.
Connect-MgGraph -Scopes "Reports.Read.All" # Per-user OneDrive usage (storage + activity, last 30 days) Invoke-MgGraphRequest -Method GET ` "https://graph.microsoft.com/v1.0/reports/getOneDriveUsageAccountDetail(period='D30')" ` -OutputFilePath "OneDriveUsageDetail.csv" # OneDrive activity — who viewed, modified, shared, synced Invoke-MgGraphRequest -Method GET ` "https://graph.microsoft.com/v1.0/reports/getOneDriveActivityUserDetail(period='D30')" ` -OutputFilePath "OneDriveActivity.csv" # Tenant-wide OneDrive storage trend (last 90 days) Invoke-MgGraphRequest -Method GET ` "https://graph.microsoft.com/v1.0/reports/getOneDriveUsageStorage(period='D90')" ` -OutputFilePath "OneDriveStorageTrend.csv" Write-Host "All OneDrive reports exported."
🎓 Module 12: MS-102 Certification Alignment
Deploy and Manage a Microsoft 365 Tenant
OneDrive storage quotas, sync client settings, sharing settings, Known Folder Move deployment, orphaned account retention — Modules 1–7
Implement and Manage Identity and Access
OneDrive external sharing levels, Conditional Access integration with OneDrive (unmanaged device policies), guest access to OneDrive — Module 4
Manage Security and Threats
Sync restrictions (domain-join, file type blocking), DLP for OneDrive, sensitivity labels in OneDrive, OneDrive audit log — Modules 3, 10
Manage Compliance
Retention policies scoped to OneDrive, eDiscovery holds on OneDrive, records management integration — Module 10
✅ MS-102 OneDrive Study Tips
- Know the orphaned OneDrive retention period — default is 30 days; admins can extend to 3,650 days (10 years); the manager specified in the user’s Entra ID profile is automatically granted access during the retention period
- Understand Known Folder Move — the difference between OptInWithWizard (user prompted), SilentOptIn (silent redirect), and BlockOptOut (prevent user disabling it); know that this is GPO or Intune-deployed, not configured in the admin center
- Know that OneDrive sharing can only be equal to or more restrictive than the tenant SharePoint sharing level — you cannot set OneDrive to “Anyone” if the tenant is set to “Existing guests only”
- Study Pre-provisioning OneDrive with
Request-SPOPersonalSite— OneDrive is provisioned lazily (on first sign-in) by default; pre-provisioning is needed for migration scenarios where you need to migrate content before users first sign in
💡 Best Practices Summary
- Deploy Known Folder Move silently for all Windows 10/11 corporate devices — it is the single highest-impact action for eliminating data loss from local drive failures and device theft
- Set orphaned OneDrive retention to at least 180 days (6 months) — the default 30 days is too short for organisations with complex HR offboarding timelines or compliance requirements
- Always set a secondary admin/manager on OneDrives of high-value users using
Set-SPOSite -SecondaryOwner— this ensures automatic access delegation when the primary account is deleted - Restrict sync to domain-joined or Intune-enrolled devices only — this is the primary control preventing personal devices from syncing corporate OneDrive data
- Set mandatory anonymous link expiry of 14–30 days — anonymous links that never expire are a persistent data exposure risk that grows over time as user intentions change
- Run the OneDrive usage report monthly and identify users with zero activity in 30+ days — inactive OneDrives with large storage consumption may indicate former employees whose accounts were not fully offboarded
📚 References
- 🔗 OneDrive for Business Admin Documentation — Microsoft Learn
- 🔗 Known Folder Move (Folder Backup) Documentation — Microsoft Learn
- 🔗 Migrate to OneDrive & SharePoint — Microsoft Learn
- 🔗 OneDrive Admin Center — admin.onedrive.com