How to Fix OneDrive Shared Office Files Requiring a Microsoft Account
Question details
Recipients are being asked to sign in with a Microsoft account to view shared Office files via a OneDrive link, preventing anonymous access.

- Product
- Microsoft OneDrive
- Device & OS
- not provided
- Scenario
- Sharing a OneDrive folder or file with external recipients so they can view the contents without needing to log in.
- Observed behavior
- Even when recipients can view the shared folder, Office for the web still prompts them to sign in to open Word, Excel, or PowerPoint files.
Verify that you have ownership or full editing permissions for the shared OneDrive file, as only the owner can modify sharing link settings to allow anonymous access.
Configure the Sharing Link for Anonymous Access
Modify the file or folder's sharing link settings to explicitly allow anyone to view the document without needing an account.
By default, some OneDrive sharing links may be restricted to specific people or require sign-in for security purposes. You must generate an 'Anyone' link to bypass the Microsoft account requirement.
Keep in mind that restricting editing and deletion is a separate toggle within the sharing menu.
Navigate to your OneDrive, right-click the file or folder you want to share, and select the 'Share' option from the context menu.
Click the gear icon or current link settings to open the 'Link settings' menu, then select 'Anyone with the link'.
Under 'More settings', uncheck the 'Allow editing' box to ensure recipients can only view the files.
Click 'Apply' to save the changes, then copy the newly generated link and send it to your recipients.

Check Microsoft 365 Organization Policies
Contact your IT administrator to adjust external sharing settings if the anonymous link option is unavailable.
Use WPS Office for Hassle-Free Document Sharing
Bypass strict Microsoft account requirements and complicated organization policies by switching to WPS Office. WPS provides a highly compatible, user-friendly environment with straightforward cloud sharing capabilities.
- 1. Download WPS Office: Install WPS Office on your device for free to access a full suite of document, spreadsheet, and presentation tools.
- 2. Upload to WPS Cloud: Open your document in WPS Office and save it to your personal WPS Cloud storage.
- 3. Share instantly: Click the 'Share' button in the top right corner to instantly generate a public viewing link for your recipients.

Frequently Asked Questions
Why is the 'Anyone with the link' option grayed out in my OneDrive?
This happens when your company or school's IT administrator has restricted external sharing. You will need to contact them to change the Microsoft 365 organization policies to allow anonymous links.
Can external users edit OneDrive files without a Microsoft account?
Yes, if you select 'Anyone with the link' and leave the 'Allow editing' box checked, recipients can edit the documents anonymously as guest contributors.
Did Microsoft recently change OneDrive sharing policies?
Microsoft periodically updates service security baselines. Sometimes tenant administrators apply new compliance policies that inadvertently disable anonymous access, which explains why a link might work one month but require login the next.




