OneDrive User Cannot Stop Sharing a File
🔍 WiseChecker

OneDrive User Cannot Stop Sharing a File

You shared a file or folder from OneDrive but now you cannot stop sharing it. The Stop sharing button is grayed out or missing. This happens when the file’s sharing permissions are inherited from a parent folder, or when the file is currently being synced or opened by another person. This article explains why you cannot stop sharing a specific file and shows you the exact steps to remove access for all external users.

Key Takeaways: Stopping OneDrive File Sharing When the Button Is Disabled

  • OneDrive web > Info pane > Manage access: Directly remove individual users or groups from a shared file even when Stop sharing is grayed out.
  • Parent folder permissions: If the file inherits sharing from its parent folder, you must stop sharing at the folder level or break inheritance first.
  • SharePoint admin center > Sharing policies: Tenant-wide settings can limit who can stop sharing and require admin approval for external access changes.

ADVERTISEMENT

Why OneDrive Won’t Let You Stop Sharing a File

OneDrive files and folders can have two types of sharing: direct sharing and inherited sharing. When you share a folder, every file inside that folder inherits the same sharing permissions. If you then try to stop sharing a single file inside that folder, the Stop sharing option is disabled because the file’s permissions are controlled by the parent folder. You cannot override inherited permissions from the child file level.

Another reason the Stop sharing button appears grayed out is that the file is currently open in an Office desktop app by another user. OneDrive blocks permission changes while the file is being edited to prevent data loss. The file must be closed by all users before you can modify its sharing settings.

A third cause is that the file was shared using a “Anyone with the link” link. This type of link does not appear in the direct sharing list and cannot be revoked through the file’s Manage access pane. You must change the link type to “Specific people” or delete the link entirely.

Steps to Remove Sharing Permissions When Stop Sharing Is Unavailable

Use the following methods to stop sharing when the standard Stop sharing button is disabled.

Method 1: Remove Users from the Manage Access Pane

  1. Open the file in OneDrive on the web
    Go to onedrive.live.com and sign in with your work or school account. Navigate to the file you want to stop sharing.
  2. Click the file to select it
    Do not open the file. Click the circle or checkbox next to the file name to select it.
  3. Open the Info pane
    Click the Info button in the top toolbar (the lowercase i icon). The Info pane opens on the right side of the screen.
  4. Click Manage access
    Under the Sharing section, click Manage access. A list of all users and groups with access appears.
  5. Remove each user or group
    Click the dropdown arrow next to a user’s name. Select Remove direct access. Repeat for every user. After removing all users, the file is no longer shared.

Method 2: Stop Sharing at the Parent Folder Level

  1. Navigate to the parent folder
    In OneDrive on the web, click the folder that contains the shared file. Do not open the file itself.
  2. Select the folder
    Click the circle next to the folder name.
  3. Open the Info pane and click Manage access
    Follow the same steps as Method 1 but applied to the folder.
  4. Remove all external users from the folder
    This removes access for every file inside that folder, including the file you want to stop sharing.
  5. Optionally break inheritance
    If you want the file to have different permissions than the folder, move the file out of the shared folder into a new unshared folder. Then re-share only the file with specific people.

Method 3: Change or Delete an “Anyone” Link

  1. Open the file’s Share dialog
    Select the file in OneDrive on the web. Click the Share button in the toolbar.
  2. Click the link settings gear icon
    In the Share dialog, click the gear icon or the link type dropdown to see the current link settings.
  3. Change the link type to Specific people
    Select “Specific people” and click Apply. The link now only works for people you explicitly add.
  4. Remove the link entirely
    To completely stop sharing, click Delete link in the Share dialog. Confirm the deletion.

ADVERTISEMENT

If OneDrive Still Allows Access After You Stop Sharing

Shared with “Anyone” link was not removed

An “Anyone” link bypasses the Manage access list. Even after you remove all named users, anyone with the link can still access the file. Always check and delete Any link types in the Share dialog as described in Method 3.

File is part of a Microsoft 365 Group or SharePoint team site

Files stored in a group-connected OneDrive library inherit permissions from the group. You cannot stop sharing a single file that is inside a group library. To restrict access, you must remove the user from the Microsoft 365 Group or change the group’s sharing settings in the Microsoft 365 admin center.

Co-authoring session prevents permission changes

If another user has the file open in Word, Excel, or PowerPoint, OneDrive blocks permission edits. Ask the user to close the file. You can also use the Microsoft 365 admin center to force close the file session, though this may cause unsaved changes to be lost.

Manage Access Pane vs Stop Sharing Button: What Works When

Item Manage Access Pane Stop Sharing Button
Availability Always available for files and folders Grayed out for files with inherited permissions
Removes individual users Yes, one at a time Removes all sharing at once
Works on “Anyone” links No, does not show these links No, does not affect the link
Requires parent folder access No, works from the file directly No, but only works for direct shares

You can now remove sharing from any OneDrive file even when the Stop sharing button is disabled. Always check for inherited permissions from a parent folder and delete any “Anyone” links. For files in Microsoft 365 Groups, adjust group membership instead of file permissions.

ADVERTISEMENT