How to Create a Direct OneDrive Download Link After a Domain Change
Question details
Users need to generate working direct download links for their files after OneDrive updated its link format from onedrive.live.com to 1drv.ms.

- Product
- Microsoft OneDrive
- Device & OS
- not provided
- Scenario
- Attempting to use direct file links for downloading or embedding personal OneDrive files into data tools like Power BI or Power Query.
- Observed behavior
- Legacy 'download?resid' link formats stop working, causing access failures and authentication errors in connected applications.
Verify that the source file still exists in your OneDrive account and has not been moved or deleted, as this will immediately invalidate any previously generated links.
Generate a New Authenticated Sharing Link
Create a completely new sharing link directly from the OneDrive web interface to ensure compatibility with modern security standards.
Since Microsoft transitioned from the old onedrive.live.com domain to the shortened 1drv.ms format, legacy direct download links often fail. Generating a fresh link ensures you are using the updated domain routing.
Log in to your OneDrive account via your web browser and navigate to the file you want to share.
Right-click the file and select 'Share' from the context menu.
Click on the gear icon or permission settings in the sharing dialog. Set the access level to 'Anyone with the link' if you need it to act as a public download link.
Click 'Copy link' and use this new 1drv.ms URL in your destination application or share it with your recipients.

Use Authenticated Connectors for Power BI and Power Query
Bypass direct anonymous links by using native authenticated web connectors to import data securely.
Seamlessly Manage and Share Documents with WPS Office
If you are frustrated by broken links, domain changes, and authentication errors when sharing Microsoft Office files, consider switching to WPS Office. It provides a lightweight, highly compatible, and completely free alternative with built-in, hassle-free cloud sharing features.
- 1. Download the software: Visit the official WPS Office website and download the free installation package for your operating system.
- 2. Install and launch: Run the installer and follow the on-screen instructions. Once installed, open WPS Office.
- 3. Edit and share with ease: Open your existing Microsoft Office files (.docx, .xlsx) directly. Use the 'Share' button in the top right corner to generate stable sharing links via WPS Cloud.

Frequently Asked Questions
Why did my OneDrive download link change to 1drv.ms?
Microsoft updated the link sharing format to use the shorter 1drv.ms domain to make links more manageable and easier to share, effectively replacing the longer onedrive.live.com structure.
Can I still use the 'download?resid' format for direct links?
In most modern scenarios, no. The legacy 'download?resid' format is deprecated, particularly for automated data ingestion in tools like Power BI, as it bypasses modern authentication protocols.
How do I fix Power BI refresh errors with personal OneDrive files?
Instead of relying on web-based anonymous download links, use the specific authenticated Web connector in Power BI. You will need to sign in using your Microsoft account credentials to maintain a secure and persistent connection.
Does moving a file in OneDrive break the direct link?
Usually, yes. Moving a file to a new folder or renaming it can alter its unique path or ID, invalidating any previously generated sharing links. You must generate a new link from the file's current location.




