Fix OneDrive Using Old Domain After Microsoft 365 Domain Change
Question details
OneDrive is failing to save files and displaying URL errors because it continues to reference a previous domain after the organization changed its Microsoft 365 work account domain.

- Product
- Microsoft OneDrive
- Device & OS
- Windows
- Scenario
- Trying to save or sync files to OneDrive after a recent Microsoft 365 or work account domain change.
- Observed behavior
- OneDrive cannot find the old URL and displays an error message, as it is still linked to the outdated domain instead of the newly configured domain.
Ensure you have your current Microsoft 365 account credentials ready and confirm with your IT administrator that the new domain and DNS settings have fully propagated.
Unlink and Relink Your OneDrive Account
Resetting the connection by unlinking your PC forces the OneDrive sync client to fetch the updated Microsoft 365 domain settings.
Since OneDrive caches your previous login configuration, a manual refresh of the account connection is required to apply the new domain URL.
Click the OneDrive cloud icon located in your Windows taskbar. Click on 'Settings & More' (the gear icon) and select 'Settings'.
Navigate to the 'Account' tab. Click on the 'Unlink this PC' option, confirm the action, and then quit the OneDrive application entirely.
Restart your computer. Once rebooted, open the OneDrive sync client and enter your updated Microsoft 365 account credentials to sign in.
When prompted to choose a folder location, select a completely new OneDrive folder location. Do not click 'Use this folder' to avoid inheriting old cache data.

Verify Domain and DNS Settings (For IT Administrators)
If unlinking does not resolve the issue, the root cause may be incomplete DNS propagation or backend Exchange settings with the domain provider.
Switch to WPS Office for Seamless Cloud File Management
If Microsoft 365 domain syncing issues are disrupting your daily workflow, consider switching to WPS Office. It provides a lightweight, hassle-free alternative with built-in cloud storage and perfect compatibility with all your existing Microsoft files.
- 1. Download the installer: Visit the official WPS Office website and download the free installation package for your operating system.
- 2. Install the software: Run the downloaded installer and follow the on-screen prompts to complete the setup in minutes.
- 3. Sign in to WPS Cloud: Launch WPS Office, create a free account, and immediately start saving your documents securely to WPS Cloud without domain configuration hassles.

Frequently Asked Questions
Why is my OneDrive still showing my old company domain?
OneDrive caches your account connection details locally. When an organization changes its Microsoft 365 domain, the local sync client doesn't always automatically update its URL paths, requiring you to manually unlink and relink your account.
Will unlinking my PC delete my OneDrive files?
No, unlinking your PC simply stops the syncing process and disconnects the account from that specific device. Your files remain completely safe in the cloud and any downloaded files stay on your local hard drive.
Should I select 'Use this folder' when relinking OneDrive?
It is highly recommended not to select 'Use this folder'. To ensure a completely fresh connection to the new domain and avoid old cache conflicts, you should select a correct, new OneDrive folder location.
What if unlinking OneDrive doesn't solve the domain error?
If the problem persists after relinking, it is likely a DNS propagation issue or a backend configuration error. You should contact your IT administrator or domain hosting provider to ensure the new domain settings are correctly applied.




