Collaboration workloadsIntermediate21 min read

What Does OneDrive sync Mean?

Reviewed byJohnson Ajibi· Senior Network & Security Engineer · MSc IT Security

This page mentions older exam versions. See the Current Exam Context and Legacy Exam Context sections below for the updated mapping.

On This Page

Quick Definition

OneDrive sync lets you keep your files on your computer and in the cloud up to date. When you add, change, or delete a file in your OneDrive folder on your PC, that change happens in the cloud too. This means you can access your latest files from any device, even if you are offline temporarily.

Commonly Confused With

OneDrive syncvsOneDrive Backup

OneDrive Backup specifically refers to protecting folders like Desktop, Documents, and Pictures by copying them to OneDrive. Unlike sync, backup does not remove files from the cloud when you delete them locally. Backup is a one-way protection, while sync is a two-way mirror.

If you accidentally delete a file from your Desktop, OneDrive sync would delete it from the cloud too. OneDrive Backup would keep the cloud copy safe.

OneDrive syncvsWindows File History

File History is a Windows native backup feature that saves previous versions of files from your entire drive to an external or network location. OneDrive sync only keeps the current version plus limited version history (up to 30 days). File History is for long-term recovery; sync is for current-file availability across devices.

If you need to restore a file from three months ago, use File History. If you need to edit a file on your phone that you created on your PC, use OneDrive sync.

OneDrive syncvsSharePoint Document Library Sync

While both use the same sync client, SharePoint sync is for team libraries. OneDrive sync is for personal storage. SharePoint sync has different permission models and may require site access approval. Syncing large SharePoint libraries can cause performance issues, which is less common with personal OneDrive.

You sync a team project folder from SharePoint to collaborate with colleagues. You sync your personal OneDrive to keep your own files accessible from any device.

Must Know for Exams

OneDrive sync appears in several Microsoft-focused certification exams, particularly those related to Microsoft 365, Windows client administration, and enterprise mobility. The most directly relevant exam is MS-101 (Microsoft 365 Mobility and Security), where synchronization of files and settings is a core objective under 'Plan for device management.' Candidates must understand how OneDrive sync interacts with Azure AD, conditional access policies, and mobile device management (MDM). Questions may ask how to configure sync restrictions for unmanaged devices or how to enable Known Folder Move, which automatically syncs Desktop, Documents, and Pictures folders.

In the MD-101 (Managing Modern Desktops) exam, OneDrive sync is tested under the 'Manage Windows clients and devices' domain. Candidates need to know how to deploy the OneDrive sync client using Group Policy or Microsoft Intune, how to configure sync settings like bandwidth throttling, and how to troubleshoot common sync errors. Exam questions often present a scenario where a user reports that a file is not syncing, and the candidate must identify whether the issue is a file size limit, a path length problem, or a permissions conflict.

The AZ-900 (Microsoft Azure Fundamentals) exam covers OneDrive sync only peripherally, as part of understanding cloud storage models. It might ask about the difference between sync, backup, and cloud-only storage. The MS-900 (Microsoft 365 Fundamentals) may include a question about the benefits of syncing files for offline access.

For general IT certifications like CompTIA A+ or Network+, OneDrive sync appears less centrally but can show up in troubleshooting scenarios related to file synchronization, firewall ports (HTTPS 443), or network connectivity issues. The key takeaway for exams is that OneDrive sync is not the same as a traditional backup, it replicates current files, not historical versions, though it does keep limited version history. Candidates should also recognize that sync conflicts are normal and that the 'keep both' behavior is the default resolution method.

Simple Meaning

Think of OneDrive sync as a personal assistant who carries a matching notebook for you. You have your own notebook (your local computer folder). Your assistant also has an identical notebook stored in a secure office (the cloud). Every time you write something new in your notebook, your assistant copies that page and puts it into their notebook. If you change a page in your notebook, your assistant goes back to the office and updates that same page in their notebook. If you lose your notebook or leave it at home, you can go to the office and check your assistant's notebook, and it will have all the latest information because your assistant kept it updated.

In the digital world, the 'notebook' is your OneDrive folder on your computer. The 'assistant' is the OneDrive sync client software that runs in the background. The 'office' is Microsoft's cloud servers. When you create a new file, the sync client immediately uploads it. When you edit a file, the sync client uploads only the changed parts, not the whole file again. This keeps things fast and efficient. If you make a change on your phone or on a different computer, the sync client on your main PC will download that change so your local notebook stays perfectly matched. The whole system works so you never have to manually email files to yourself or worry about which version is the newest.

Full Technical Definition

OneDrive sync is a client-server file synchronization service integrated into Microsoft Windows and available for macOS, iOS, and Android. The sync client uses the Microsoft File Sync API to communicate with the OneDrive cloud service via HTTPS over port 443. The core protocol is a proprietary synchronization protocol built on top of RESTful web services, using OAuth 2.0 for authentication and TLS 1.2 or higher for encryption in transit.

When a user places a file into the local OneDrive folder, the sync client calculates a cryptographic hash of the file content. It sends a request to the OneDrive service with metadata including the file name, path, size, and hash. The cloud service checks if a file with the same hash already exists. If it does, the service creates a link (deduplication) rather than storing a new copy. If the file is new, the client uploads the file in chunks, allowing for resumable uploads if the connection drops. This chunked upload mechanism uses HTTP Range headers and supports incremental sync, meaning only the byte-level changes (deltas) are transferred for modified files, not the entire file.

The sync engine maintains a local database (SQLite) that tracks the state of every file: its version, sync status, and pending changes. When conflicts arise-such as a file being edited on two devices at the same time-the sync engine applies a last-writer-wins policy by default, but also creates a copy of the conflicting file with the device name appended (e.g., 'Report (Laptop conflicted copy 2025-02-18).docx'). The sync client supports selective sync, allowing users to choose which folders to synchronize to a specific device. It also integrates with Windows File History and Microsoft 365 apps to provide real-time co-authoring. For organizations, IT administrators can configure sync policies via Group Policy or Microsoft Intune, controlling settings like sync root path, file exclusions, and bandwidth throttling.

Real-Life Example

Imagine you are a chef running two kitchens, one at home and one at a catering hall. You have a master recipe book, and you need both kitchens to have the exact same recipes at all times. You hire a delivery person whose only job is to watch for changes. Every time you add a new recipe or tweak an ingredient amount in your home kitchen, you hand the delivery person a photo of that page. They ride over to the catering hall and replace the old page with the new photo. If you accidentally spill flour on a recipe at the catering hall, the delivery person notices the flour is gone (the file is deleted) and removes that page from the home kitchen's book too. If a customer requests a change at the catering hall, the delivery person brings that change back to you. This way, both books are always identical, and you never have to wonder whether you added the extra pinch of salt to the catering kitchen's copy.

In IT terms, your two kitchens are your laptop and your tablet or phone. The delivery person is the OneDrive sync client. The master recipe book is your OneDrive folder. The photos are the encrypted data chunks sent over the internet. The delivery route is the HTTPS protocol. When you are offline (the delivery person takes a break), you can still cook from your local recipe book. As soon as you are back online, the delivery person compares both books page by page and brings everything up to date.

Why This Term Matters

For IT professionals, OneDrive sync is a cornerstone of modern hybrid work. It bridges the gap between local performance and cloud availability. When users can access files offline and have them automatically updated when they reconnect, productivity increases significantly. IT support desks receive far fewer tickets about 'I can't find my file' or 'I accidentally deleted something' because OneDrive's version history and recycle bin provide safety nets.

From a security and compliance perspective, OneDrive sync allows organizations to enforce Data Loss Prevention (DLP) policies. Files synced to a managed device are encrypted both in transit and at rest. IT can use Microsoft Purview to audit sync activity, detect sensitive data being synced to unauthorized locations, and even block sync on unmanaged devices. This matters because shadow IT (users storing work files on personal cloud services) becomes less necessary when a sanctioned, enterprise-grade sync solution is available.

OneDrive sync also reduces network overhead compared to traditional file servers. Instead of constantly accessing files over a VPN, users sync files once and work locally. The sync engine uses differential sync to minimize bandwidth. For organizations with remote or branch offices, this reduces latency and improves user experience. IT staff must understand sync behavior, conflict resolution, and selective sync to properly support users and troubleshoot issues like stuck syncing, permission errors, or large file upload failures.

How It Appears in Exam Questions

Exam questions about OneDrive sync typically fall into three categories: scenario-based troubleshooting, configuration choices, and conceptual understanding. In scenario-based questions, you might read: 'A user reports that a large project file saved in the OneDrive folder on their desktop is not appearing on their laptop. What is the most likely cause?' The answer choices might include 'The user is not connected to the internet,' 'The file exceeds the maximum path length of 255 characters,' or 'The sync client is paused.' The correct answer often relates to sync client status or file size limits. Another common scenario: 'A user edited a document on their phone and on their desktop simultaneously. Later, they see two files with different names. What happened?' The answer describes the auto-generated conflict copy.

Configuration questions ask you to choose the correct setting to achieve a goal. For example: 'An administrator wants to ensure that all users' Desktop, Documents, and Pictures folders are automatically synced to OneDrive. Which feature should they enable?' The answer is 'Known Folder Move.' Or: 'An organization needs to prevent users from syncing OneDrive to personal devices. Which policy should be configured?' The answer is 'Allow syncing only on PCs joined to Azure AD.'

Conceptual questions might ask: 'Which protocol does the OneDrive sync client use to transfer files?' The answer is HTTPS (port 443). Or: 'What is the default conflict resolution behavior in OneDrive?' The answer is 'If a file is modified on two devices, a conflict copy is created with the device name appended, and both versions are kept.' Some questions test understanding of differential sync: 'When a user edits a large PowerPoint file, how does OneDrive minimize bandwidth usage?' The answer is 'It uploads only the changed portions of the file, not the entire file.'

Advanced exam questions, especially in MS-101 and MD-101, may present multi-step troubleshooting scenarios involving conditional access policies that block sync or Intune configuration profiles that override local settings. Candidates must be able to read an error code or a sync status message (like 'Sync pending' or 'Changes not yet synced') and determine the root cause.

Practise OneDrive sync Questions

Test your understanding with exam-style practice questions.

Practise

Example Scenario

You are an IT support specialist for a mid-sized company. A user named Priya calls the help desk. She says, 'I saved an important sales report to my OneDrive folder on my office computer yesterday. Today I'm working from home on my personal laptop. I logged into OneDrive, but the report isn't there. I need it for a meeting in 30 minutes.'

First, you ask Priya to confirm she saved the file to the OneDrive folder and not to a regular folder on her desktop. She confirms she placed it in 'C:\Users\Priya\OneDrive'. Next, you ask if she saw the green checkmark icon on the file indicating it was synced. She says she did not check. You then ask her to open the OneDrive icon in the system tray on her office computer (if she can access it remotely) or you check her sync status from the Microsoft 365 admin portal. You discover that her office computer's sync client shows a warning: 'Sync paused because the user has not signed in for more than 14 days.' Because Priya had not signed into the OneDrive client interactively recently, the client paused sync to protect the data.

You guide Priya to unlock her office computer remotely and sign into the OneDrive client again. The sync resumes immediately. The file uploads to the cloud. Within a minute, Priya sees the report appear on her personal laptop when she refreshes OneDrive in her browser. She opens it just in time for her meeting. The key lesson: OneDrive sync requires an active authenticated session to operate. If the client is paused for inactivity, files may not sync even if they are in the correct folder. This is a common exam scenario where a candidate must recognize that 'sync paused' is a separate condition from 'offline' or 'no internet connection.'

Common Mistakes

Confusing OneDrive sync with OneDrive backup.

Sync copies the current state of files both ways, so deleting a file locally deletes it in the cloud. Backup preserves old versions independently and does not propagate deletions.

Remember that sync is a two-way mirror; backup is a one-way historical archive.

Assuming all files in the OneDrive folder always sync immediately.

OneDrive sync can be paused manually, paused due to inactivity, or blocked by network firewalls. Files also have size limits (100GB per file) and path length limits (400 characters). If any condition is not met, sync stalls.

Always check the OneDrive system tray icon for error status and verify file properties before assuming sync is working.

Thinking that OneDrive sync works without an internet connection.

Sync requires an internet connection to upload changes or download remote updates. While you can edit files locally offline, changes remain pending until the connection is restored.

Understand that offline access is read/write locally, but synchronization only happens online.

Believing that the 'Files On-Demand' feature saves space by never downloading files.

Files On-Demand shows placeholder files that download only when opened. However, if you set a file to 'Always keep on this device', it occupies full local storage. Confusing these modes can lead to unexpected disk space usage.

Use Files On-Demand for rarely used files and 'Always keep on this device' for files you need offline.

Ignoring the impact of sync conflicts on data integrity.

When two users edit the same file, OneDrive creates a conflict copy. Users may not notice which file has the correct content, leading to data loss or confusion.

Train users to check for conflict copies and merge changes. For shared files, use real-time co-authoring instead of simultaneous offline edits.

Exam Trap — Don't Get Fooled

{"trap":"The exam presents a scenario where a user disconnects from the internet, edits a file, and then reconnects. The question asks: 'What happens to the version created locally when the user was offline?'","why_learners_choose_it":"Learners often choose 'The offline version is lost because the cloud version is considered the primary copy' or 'The offline version replaces the cloud version automatically without any prompt.'

","how_to_avoid_it":"The correct answer is that OneDrive sync detects the conflict, creates a copy of the cloud version with a conflict suffix, and keeps both files. The offline version is not lost, but it is renamed. Understand that OneDrive preserves both versions rather than overwriting silently."

Step-by-Step Breakdown

1

File Save

You save a file (e.g., a Word document) into your local OneDrive folder. The operating system writes the file to disk. The OneDrive sync client monitors the folder for changes using the Windows change journal, which tracks file system modifications.

2

Change Detection

The sync client detects that a new file has been created or an existing file has been modified. It reads the file's metadata (name, size, last modified date) and calculates a content hash. This hash is used to check if the same file already exists in the cloud.

3

Authentication and Authorization

The sync client sends an HTTPS request to the OneDrive service. It includes an OAuth 2.0 access token that proves the user's identity and verifies they have permission to write to the specified OneDrive folder. The service validates the token with Azure AD.

4

Upload (or Delta Sync)

If the file is new, the client uploads it in chunks. For modified files, the client uses differential sync to identify only the byte-level changes and uploads those chunks. The cloud service reassembles the file and stores it, applying deduplication if the content matches an existing file.

5

Cloud Processing

The OneDrive service updates its index, stores the file in the user's storage quota, and records version history. It also scans the file for malware using Microsoft Defender. If the file passes all checks, the service sends a confirmation response back to the client.

6

Local Status Update

The sync client receives the confirmation and updates its local database to mark the file as 'synced'. It changes the file icon overlay to a green checkmark. The client then pushes the change notification to other linked devices via the cloud service.

7

Propagation to Other Devices

When a different device (e.g., a laptop) connects to the internet, its sync client polls the OneDrive service for changes. It receives the list of updated files, downloads the changed chunks, and applies them to the local copy. The user sees the updated file appear in their OneDrive folder.

Practical Mini-Lesson

In practice, IT professionals need to understand that OneDrive sync is not a set-it-and-forget-it tool. Configuration and monitoring are critical. When deploying OneDrive sync in an enterprise, you must consider the sync client's interaction with Group Policy and Intune. For instance, you can configure the 'Silently configure OneDrive' policy to set up the sync client without user interaction by specifying the tenant ID and user email. This ensures that when a user signs into Windows with their work account, OneDrive is automatically configured.

One common practical challenge is managing sync for shared devices, like computers in a training lab or hospital workstation. On shared devices, each user should have their own OneDrive profile, and files should not persist after sign-out. IT can enable the 'Remove OneDrive' policy when the user signs out, ensuring the local copy is deleted but the cloud copy remains. Another challenge is handling large files. The default file size limit for OneDrive sync is 100 GB. If a user works with larger files, they will need to use the web interface or a different storage solution. Also, the path length limit is 400 characters; files with longer paths will fail to sync.

Bandwidth management is another real-world concern. The sync client can be configured to throttle upload and download speeds during peak hours. IT can set these limits via Intune or registry keys. For remote sites with limited internet, you might configure the sync client to only sync during off-peak times using the 'Pause syncing' policy. Known Folder Move (KFM) is a powerful feature that IT should enable to ensure the Desktop, Documents, and Pictures folders are automatically protected. When KFM is deployed, users who previously stored important files on the desktop no longer risk losing them if the device fails.

Troubleshooting is a necessary skill. Common issues include the sync client showing 'stuck' status, which could be due to file name conflicts (e.g., a file name contains invalid characters like a leading space or a question mark). The sync client logs detailed information in the %localappdata%\Microsoft\OneDrive\logs directory. IT can use the 'OneDrive Diagnostic Tool' (onedrive.exe /reset) to clear and reset the client without affecting cloud files. Understanding these nuances helps professionals pass exams and solve real problems.

Memory Tip

Think of OneDrive sync as a two-way always-latest mirror: local changes go up, cloud changes come down, conflicts create copies, offline edits sync later.

Covered in These Exams

Current Exam Context

Current exam versions that test this topic — use these objectives when studying.

Legacy Exam Context

Older materials may mention these exam versions, but learners should use the current objectives for their target exam.

MS-101MS-102(current version)

Related Glossary Terms

Frequently Asked Questions

Does OneDrive sync work if I am offline?

You can view and edit files stored locally on your device while offline. The changes will sync to the cloud automatically when you reconnect to the internet. OneDrive sync does not transfer data while you are offline.

How do I know if my file has synced?

Check the file icon in File Explorer. A solid green checkmark means the file is synced. A blue cloud icon means the file is online-only. A red circle with a white cross indicates a sync error, and a paused icon means syncing is paused.

What happens if I delete a file from my synced folder?

Deleting a file from your local OneDrive folder will also delete it from the cloud and from all other synced devices. The file will go to the OneDrive recycle bin, and you have up to 30-93 days (depending on your plan) to recover it.

Can I sync a network drive with OneDrive?

No. OneDrive sync supports only local drives formatted with NTFS. Network drives, USB drives, and external drives are not supported for syncing. You must copy files to the local OneDrive folder first.

Is there a limit to how many files I can sync?

OneDrive supports syncing up to 20,000 files per folder and up to 300,000 files across all folders. Larger amounts may cause performance issues. The maximum file size per file is 100 GB.

How do I stop a file from syncing?

You can right-click the file or folder, select 'Free up space' to make it online-only (not stored locally), or move the file out of the OneDrive folder entirely to stop syncing. Alternatively, you can pause sync from the OneDrive settings.

Can two people edit the same file at the same time via OneDrive sync?

For Office files (Word, Excel, PowerPoint), OneDrive supports real-time co-authoring. For non-Office files, if two people edit the same file simultaneously, OneDrive will create a conflict copy with the device name appended when the second person saves.

What should I do if OneDrive sync is stuck?

First, check your internet connection. Then look at the OneDrive icon in the system tray for error messages. You can reset the sync client by running 'onedrive.exe /reset' from the command prompt, which will re-sync all files without data loss.

Summary

OneDrive sync is a core collaboration workload feature that keeps files consistent across devices and the cloud. For IT certification learners, understanding the distinction between sync and backup, knowing how to configure sync settings via Group Policy or Intune, and being able to troubleshoot common issues like stuck sync or conflict copies are vital exam skills. The sync process relies on HTTPS, OAuth 2.0, differential sync, and a local SQLite database for state tracking. Real-world deployment requires attention to file size limits, path length limits, bandwidth throttling, and the Known Folder Move feature.

For exams, focus on scenarios where sync is paused due to inactivity, where conflict resolution creates duplicate files, and where administrative policies impact sync behavior. Remember that OneDrive sync is not a backup-deletions propagate. The official Microsoft documentation and the sync client logs are your best troubleshooting allies. By mastering the concepts of online-only vs. locally-available files, selective sync, and the impact of conditional access policies, you will be well-prepared for certification questions in MS-101, MD-101, and other Microsoft exams.

The key takeaway is that OneDrive sync provides a seamless user experience when configured correctly, but it requires careful planning and monitoring from an IT perspective. Always think about the direction of data flow and what happens when the user is offline or when conflicts arise.