Dear Nebu Mathew,
Thank you for posting your query in our community.
I understand your concern and would like to convey that There are no built-in functions to achieve your requirement; however, you can try the workaround below. according to my test, you can achieve your request by following the below steps ( kindly please follow below steps )
- First, we need a couple of things to achieve it.
- Google Chrome browser. ( Version 126.0.6478.114 (Official Build) (64-bit))
- notepad.
Please go to share SharePoint site that your files contain>> right-click on the file you want to make a downloadable link >> right-click on it >>> share >>anyone link click the link. ( How ever please do not use this link we only share it with anyone link to get permission to the file.)
Using your Chrome browser right click on the file you want to make the downloadable link >> click on download >> go to the download section in Chrome browser >>> right-click on the URL >> and save it to Notepad.
- You can use this URL and when you click on it it will automatically download
Please note that the user must be logged into their Microsoft account with the necessary permissions for this link to work. If a sign-in page shows up lease login with a Microsoft credential then file will download automatically
It's not a limitation this Issue happens because of this feature has not been implemented for SharePoint pages yet. Currently, the only workaround is to use the methord I mentioned above.
We find multiple users request the same question in the feedback community. Please don’t worry, we believe the Microsoft developer team will implement this future in the near future.
You can keep an eye on our Office 365 roadmap to know when this option will be released to the public. Entrance ---->> Microsoft 365 Roadmap
Thank you for your brilliant idea. It is very useful for the future. We appreciate you bringing this to our attention. Please share your feedback in our community feedback section for our developer team to review. You can find the entrance to the feedback community here --->Welcome to Feedback (Preview)
Appreciate your patience and understanding. Have a great day!
Yours sincerely,
Sophia