Fix SharePoint Folder Sharing Settings Reverting to Anyone
Question details
The sharing settings for a SharePoint or OneDrive folder keep reverting to "Anyone with the link" after attempting to change them to organization-wide or direct access.

- Product
- SharePoint and OneDrive
- Device & OS
- not provided
- Scenario
- A user is trying to restrict folder access from the public to specific users or organizational members only.
- Observed behavior
- Instead of saving the restricted access setting, the folder's sharing permissions continually revert back to allowing anyone with the link to access it.
Ensure you have owner or administrator privileges for the affected SharePoint site or OneDrive folder before attempting to modify access permissions.
Remove Existing Broad Permissions and Re-share
Clear the problematic broad permissions completely before setting up the new restricted access to ensure the changes are saved properly.
Sometimes, simply toggling the permission level causes caching or synchronization glitches. The most effective method is to completely remove the existing share link and create a brand-new direct access permission.
Launch an incognito or private browsing window (Ctrl+Shift+N or Cmd+Shift+N) to prevent existing browser cache from affecting your permission settings.
Sign in to OneDrive or SharePoint with your organizational account. Locate the affected folder, click the three-dot menu (ellipsis) next to it, and select "Manage access".
In the Manage Access panel, locate the "Anyone with the link" permission. Click the "X" or the trash can icon next to it to delete this sharing link entirely.
Click the "Share" button again. Click the gear icon or link settings to choose "Specific people" or "People in your organization", enter the intended email addresses, and send the new invitation.

Review Tenant Sharing Defaults (For Administrators)
Check if organization-wide sharing defaults in the Microsoft 365 Admin Center are overriding individual folder settings.
Try WPS Office for Seamless Cloud Document Management
If you frequently encounter complex permission issues or configuration hurdles with Microsoft platforms, consider switching to WPS Office. It is a free, lightweight, and highly intuitive office suite that integrates effortlessly with your favorite cloud storage services, ensuring your file sharing remains simple and secure.

Frequently Asked Questions
Why does my SharePoint link keep reverting to 'Anyone with the link'?
This usually occurs due to browser cache conflicts, attempting to modify an active link instead of deleting it, or because your organization's IT administrator has set the default sharing policy to 'Anyone' at the tenant level.
How can I completely stop sharing a folder in OneDrive?
Select the shared folder, click the three-dot menu, and choose 'Manage access'. At the top of the panel, click 'Stop sharing' to immediately revoke all custom access links and permissions.
Does deleting the sharing link affect people who already have access?
Yes. If you delete the 'Anyone with the link' permission, users relying on that specific anonymous link will immediately lose access. You will need to re-invite them using direct access if they still need to view or edit the files.




