SharePoint Online - .url Files Don't Open in Browser

New Contributor

I made a custom SPFX command set extension that can be used for making links to files. The extension creates a .url file which opens in the browser. Here is an example of one of the files:

 

[InternetShortcut]
URL=https://bluemetal.sharepoint.com/sites/stephendevShared Documents/ProjectName1/Agreements/meeting-notes10-10-10.docx?web=1

 

 

It works perfectly in my dev environment, but in the production environment the .url files fail to open, they just get downloaded instead. I have also noticed that if I download the file and reupload them, they open fine in the browser.

 

I have no idea why this is happening and would appreciate any help.

1 Reply

I have the same issue, no idea whats causing it