We’ve made updates to how the link URLs look in your messages when OneDrive and SharePoint files are shared with recipients. Also, now you'd be warned if Outlook detects potential file access issues for recipients, and give you the ability to address the issue before sending the message. This ensures that the links you send will work for recipients.
How it works
When you are composing an email, to insert your file link do one of the following:
On the Message tab, select Link > Insert Link and select a file stored on OneDrive or SharePoint.
Copy a link to a file stored on OneDrive or SharePoint and paste it into the body of an email message.
Outlook automatically adds the file type icon (e.g. Word, PowerPoint, Excel) and shortens the URL to the name of the inserted file. To undo this change and show the full URL, right-click the link and select Show Full URL.
Manage the permissions for the link in the Links settings directly in Outlook by clicking on the link, or right-click the link and select Manage Access.