logo
search
File Sharing Problems

How to Share OneDrive for Business Files With Anyone Using a Link

Ayan MasoodAyan Masood Oct 20, 2026 869 views

Question details

The user needs to generate a public link for a OneDrive for Business document so that external visitors can access it on a website without logging into a Microsoft account.

How to Share OneDrive for Business Files With Anyone Using a Link
Product
OneDrive for Business
Device & OS
not provided
Scenario
Publishing document links on a public website for seamless external access.
Observed behavior
Current sharing links are restricted to the account owner or organization members, prompting external users to sign in to a work or school account before they can view the files.
Before you start

Verify that you have the appropriate file ownership permissions and ensure that your organization's IT policies allow for external file sharing.

Solution 1Recommended

Select the 'Anyone with the Link' Sharing Option

Change the default sharing permissions on your specific file to allow public access, removing the need for external users to sign in.

By default, OneDrive for Business often restricts sharing to people within your organization. To make a file public, you must explicitly change the link type during the sharing process.

1
Open sharing settings

Navigate to your OneDrive for Business folder online or in File Explorer, right-click the document you want to share, and select 'Share'.

2
Modify link permissions

Click on the current permission button (which usually defaults to 'People in your organization with the link can edit/view').

3
Select 'Anyone'

In the Link settings menu, select the option that says 'Anyone with the link'. You can also uncheck 'Allow editing' if you only want users to view the file.

4
Apply and copy link

Click 'Apply' to save the settings, then click 'Copy link' to generate the public URL. You can now paste this URL on your website.

Select the 'Anyone with the Link' Sharing Option
Public Link Generated: Anyone who clicks this newly generated link will immediately be able to view the document in their browser without signing into Microsoft 365.
Free Microsoft Office alternative

Easily Share Documents Publicly with WPS Office

If your organization's Microsoft 365 admin policies restrict you from generating public links, consider using WPS Office for your standalone projects. WPS Office offers an intuitive cloud sharing feature that lets you instantly generate universally accessible links without wrestling with enterprise admin configurations.

  1. 1. Open your file: Launch WPS Office and open the document you wish to share publicly.
  2. 2. Access the share menu: Click the 'Share' button located in the top-right corner of the application window.
  3. 3. Set link permissions: Change the document permission settings from restricted to 'Anyone with the link can view'.
  4. 4. Copy and distribute: Click 'Copy Link' and paste the URL directly onto your website or share it with external users.
Fully compatible with Microsoft Office file formats, including .docx, .xlsx, and .pptx.Free and lightweight alternative to Microsoft 365 for seamless document editing.Built-in WPS Cloud allows for the quick creation of public sharing links with a single click.Familiar user interface ensures a rapid migration with zero learning curve.
microsoft office alternative - wps office

Frequently Asked Questions

Why is the 'Anyone with the link' option disabled or grayed out in my OneDrive?

This occurs when your organization's Microsoft 365 IT administrator has disabled external sharing. An admin must modify the tenant or site-level sharing policies in the SharePoint admin center to re-enable this feature for your account.

Does sharing an 'Anyone' link compromise the security of my other OneDrive files?

No. Generating an 'Anyone' link only provides public access to the specific file or folder you selected. The rest of your OneDrive files remain completely private and secure.

Can I prevent external users from editing the file I share via the public link?

Yes. When setting up the 'Anyone with the link' option, make sure to uncheck the 'Allow editing' box before applying the settings. This ensures the link is strictly view-only.

Do external users need to create a Microsoft account to view the file?

No. As long as the link is properly configured using the 'Anyone with the link' option, external users will not be prompted to sign in or create an account. They can view the document directly in their web browser.