OneDrive Domain Change Not Syncing: Fix Guide
In this article
If you changed your organization's domain and OneDrive has stopped syncing, the fix is usually to sign out of the OneDrive sync app and sign back in with your new domain account, then re-link the folder. The old domain credentials are cached, so the client keeps trying to authenticate against an account that no longer exists. Signing out clears that cache and forces a fresh sign-in. Before you start, make sure you know your new sign-in address (for example, name@newdomain.com) and have your password ready. You will also need admin help if your organization has not finished moving your account to the new domain.
What You'll Need
- Your new domain email address and password.
- Access to the OneDrive sync app on the affected computer (Windows or Mac).
- Admin confirmation that the domain change is complete and your account has been moved.
- A stable internet connection.
Step-by-Step
- Confirm the domain change is finished. Ask your Microsoft 365 admin whether your user account has been updated to the new domain and whether OneDrive has been re-provisioned. If the admin is still mid-migration, syncing will not work no matter what you do on the PC.
- Check the OneDrive sync app icon. On Windows, look at the notification area (system tray) near the clock. On Mac, look at the menu bar. A cloud icon with a red X or a warning triangle means the client knows something is wrong.
- Open OneDrive settings. Right-click the cloud icon and choose Settings (Windows) or click the cloud icon and choose Preferences (Mac). Menu labels can differ slightly by version and region.
- Sign out of the old account. In the Account tab, click Unlink this PC or Sign out. This removes the cached old-domain credentials from the sync client. Your files stay on the PC; only the link is removed.
- Sign in with the new domain. Open the OneDrive app from the Start menu (Windows) or Applications (Mac). Enter your new domain email address and password. If prompted to choose between a work or school account and a personal account, pick work or school.
- Re-link your folders. During setup, choose the same folder location you used before if possible. OneDrive will compare the local files with the cloud and sync only the differences.
- Wait for the initial sync. The status changes to "Processing changes" and then "Up to date." Large libraries can take a while; keep the PC awake and online.
- Verify a test file. Create a small text file in the OneDrive folder, wait for the green check mark, then open OneDrive in a browser and confirm the file appears there.
Common Mistakes
- Signing in with the old address. The sync client may auto-fill the old domain. Type the new address manually.
- Unlinking before the admin finishes. If the account still points to the old domain on the server side, re-signing in will fail or loop.
- Choosing the wrong account type. Picking "personal" instead of "work or school" creates a separate OneDrive and leaves the business files unsynced.
- Deleting the local folder. Unlinking does not delete files, but manually deleting the folder before re-linking can remove files that were not yet uploaded.
- Ignoring the notification area. The sync icon is the fastest way to see the actual error message; do not guess.
Tips
- Use the same Windows or Mac user profile you used before the domain change; a new profile starts with no sync history.
- If you have multiple accounts signed in, remove the old one from Settings > Accounts in Windows before adding the new one.
- Keep the PC plugged in and awake during the first full sync.
- Check the OneDrive sync app version and update it if the app offers an update; older builds handle account changes poorly.
- After syncing works, open OneDrive in a browser and confirm the files are in the expected library, not a second library created by the domain change.
Troubleshooting
If signing out and back in does not fix it, work through these checks in order.
- Restart the sync app. Right-click the cloud icon, choose Quit OneDrive, then reopen it from the Start menu or Applications.
- Restart the computer. A reboot clears stuck credential handles that survive an app restart.
- Check the service status. Open the Microsoft 365 status page in a browser and confirm OneDrive is not reporting an outage.
- Clear cached credentials on Windows. Open Credential Manager from the Start menu, look under Windows Credentials for entries containing OneDrive or MicrosoftOffice, and remove them. Sign in again afterward. This removes saved sign-in data only; it does not delete files.
- Reset OneDrive. On Windows, press Windows key + R, type
%localappdata%\Microsoft\OneDrive\onedrive.exe /resetand press Enter. The cloud icon disappears for a moment and returns. On Mac, quit OneDrive, move the OneDrive app to the Trash, empty it, and reinstall from the official Microsoft download page. A reset re-creates the sync database but leaves your files in place. - Reinstall the sync app. Uninstall OneDrive from Settings > Apps, download the current installer from Microsoft, and set it up with the new domain account. As a last resort, unlink the PC and set up syncing again from scratch; local files remain, but expect a full comparison pass.
If none of this works, the problem is almost certainly server-side: the admin needs to confirm the new domain is verified, the user's OneDrive is provisioned, and the sign-in address matches. Ask them to check the user's account in the Microsoft 365 admin center.
Frequently Asked Questions
Will I lose files when I sign out of OneDrive?
No. Signing out or unlinking stops syncing but leaves the local files on the disk. Files that were already uploaded stay in the cloud.
Can I keep using the old domain email after the change?
Only if your admin keeps it as an alias. The sync client should sign in with the primary new address; using an alias can cause repeated sign-in prompts.
Why does OneDrive keep asking for a password?
The cached old-domain credential is failing. Remove the saved credential in Credential Manager (Windows) or Keychain Access (Mac), then sign in again with the new address.
Does this work on Mac the same way?
The steps are the same in principle: open OneDrive preferences, sign out, and sign back in with the new domain. Menu names differ slightly from Windows.
Do I need to re-upload my files?
No. After re-linking, OneDrive compares local and cloud copies and uploads only what is missing or changed.
What if my admin says the domain change is not complete?
Wait. The sync client cannot authenticate to an account that has not been moved yet. Retry the sign-out and sign-in steps once the admin confirms completion.