Microsoft OneDrive offers you 5 GB of storage space free of cost, along with 100GB, 1TB, and 6TB storage space options available either separately or with an Office 365 subscription. Downloads are subject to the following limits: 250GB file size limit; the total number of files limit: 10,000; folder size limit: 200 files. OneDrive does not offer the option for a direct link or native link for a one-click download, but you can use a simple tweak to get a direct download link for OneDrive File.
Create a OneDrive Sharing Link
These steps will make sure that the file is public sharing, else if it is restricted then the user may not able to download the file and an error will show up.
Create OneDrive Direct Download Link
Click on the Embed button for the selected file.
A new window will open on the right side, if asked, then click on Generate HTML embed code.
An iframe HTML code will show up. Copy the code.
Here only copy the URL from the embed code; In the URL, change the embed to download, paste the modified URL in the browser, and hit enter. The file will be directly downloaded.
Use MatixCDN to Get OneDrive Direct Download Link
Matrix CDN is a cloud-based service that offers users to create a direct download link. All you need to do is to paste the Sharing URL in Matix, and a one-click direct download link is generated.
Go to the MatixCDN OneDrive link generator page.Copy the OneDrive File Sharing URL. Make sure the Link is public. Paste the URL in the Matix URL box. That’s it, a direct download link will be generated. Copy the link and use as you wish.
That’s it; you can download the OneDrive files directly with a single click using this native download link using this methods listed above.