How to Fix OneDrive Links Changing to File Names or Requiring Sign-In
Question details
Users need a way to stop copied OneDrive or SharePoint URLs from automatically formatting as friendly file names and resolve an issue where external links incorrectly force recipients to sign in.

- Product
- OneDrive and SharePoint
- Device & OS
- not provided
- Scenario
- Pasting shared file links into emails to share with external partners or clients.
- Observed behavior
- The full copied URL automatically changes into the file or folder's name when pasted, and recipients are redirected to a company login page despite the link being set to 'Anyone with the link'.
Verify that you are copying the link directly from the official OneDrive or SharePoint interface and ensure your Microsoft 365 account has the correct permissions to share files externally.
Revert Friendly Links to Full URLs
Stop your email client from automatically converting the full URL into a friendly file name when pasting.
Modern Office applications and email clients automatically convert SharePoint and OneDrive URLs into 'Friendly Links' that display the file's name. This is an intended feature to make emails look cleaner, but it can be easily bypassed.
When pasting the copied link into your email body, right-click and select 'Keep Text Only', or use the keyboard shortcut Ctrl+Shift+V. This will paste the raw web address.
If the link has already converted to a file name, right-click the hyperlinked text and select 'Show Full URL' from the drop-down menu to revert the formatting.

Resolve External Sign-In Prompts for 'Anyone' Links
Ensure the correct sharing parameters are configured and check for organizational backend policy restrictions.
Try WPS Office for Hassle-Free File Sharing and Collaboration
If you are experiencing ongoing issues with complex Microsoft 365 sharing policies and OneDrive restrictions, WPS Office offers a lightweight, highly compatible alternative. With WPS Cloud, sharing files securely with external partners is straightforward and bypasses rigid tenant configurations.
- 1. Download and install WPS Office: Get the free WPS Office suite from the official website and install it on your device.
- 2. Open your files securely: Open your existing Office documents directly in WPS Office without losing any formatting.
- 3. Share via WPS Cloud: Use the built-in Share function to easily create accessible links for external collaborators.

Frequently Asked Questions
Why does my OneDrive link look like a file name when pasted in Outlook?
Microsoft introduced 'Friendly Links' to make emails look cleaner and more professional. The application automatically retrieves the file's metadata and formats the URL as a readable hyperlink.
How do I permanently disable friendly links in my email client?
You can usually adjust this in your email application settings. For example, in Outlook on the web, go to Settings > Mail > Compose and reply, and turn off the option to 'Link preview' or 'Format links as friendly names'.
Why does 'Anyone with the link' still ask for a login?
Even if you select 'Anyone with the link', your organization's IT administrator may have restricted anonymous external sharing at the tenant level in the Microsoft 365 Admin Center, which overrides your local file settings.
What should I do if my entire team suddenly can't share external links?
A sudden, organization-wide sharing failure usually indicates an update to your company's backend compliance policies or a Microsoft server issue. Have your global administrator submit a support ticket via the Microsoft 365 admin center.




