logo
search
Account Security Problems

How to Revoke OneDrive Sharing and Secure a Hacked Account

Chanuka GeekiyanageChanuka Geekiyanage Oct 9, 2026 868 views

Question details

The user needs to globally revoke all OneDrive file sharing permissions and secure their Microsoft account after a suspected hacking and unauthorized password reset.

How to Revoke OneDrive Sharing and Secure a Hacked Account
Product
OneDrive
Device & OS
not provided
Scenario
A user's Microsoft account was compromised, and they want to completely stop sharing all OneDrive files to protect their privacy while locking down their account security.
Observed behavior
OneDrive lacks a global 'revoke all sharing' button, forcing the user to manually remove access file by file. Managing shared files is confusing, and the compromised account requires comprehensive security updates to prevent further unauthorized access.
Before you start

Before modifying your sharing permissions, ensure you are logging into your Microsoft account from a secure, trusted device to prevent further unauthorized access during the recovery process.

Solution 1Recommended

Manually Revoke Sharing Permissions in OneDrive

Because OneDrive does not provide a single command to remove shared permissions globally, you must review and revoke access for each shared file or folder individually.

Microsoft frequently updates the OneDrive interface, which can sometimes make the 'Stop sharing' button difficult to locate. Revoking access requires you to manage permissions from the 'Shared by me' directory.

1
Access your shared files

Sign in to OneDrive on the web. On the left navigation pane, click on 'Shared', and then select the 'Shared by me' tab to view a list of all the items you are currently sharing.

2
Open access management

Locate a file or folder you want to stop sharing. Click the three-dot menu icon next to the file name and select 'Manage access' from the dropdown menu.

3
Remove direct access

In the Manage access panel, find the specific individual or link you want to restrict. Click the permission icon next to their name and choose 'Remove direct access' to instantly revoke their sharing rights. Repeat this process for all necessary files and nested folders.

Manually Revoke Sharing Permissions in OneDrive
Nested Folder Permissions: If you shared a main folder, removing access to it will usually revoke access to all nested files inside it. However, if you shared files individually, you must revoke their access one by one.
Free Microsoft Office alternative

Switch to WPS Office for Easier Document Control

If navigating Microsoft OneDrive's sharing settings and account security feels confusing, consider switching to WPS Office. It provides a lightweight, highly compatible, and user-friendly alternative to Microsoft Office, featuring straightforward document sharing controls and robust privacy options.

  1. 1. Download and install: Visit the official WPS website to download the free WPS Office suite for your operating system.
  2. 2. Open existing files: Launch WPS Office and easily open your existing Microsoft Office documents without losing any formatting.
  3. 3. Share securely: Use the built-in share feature to generate secure links with easily customizable expiration dates and permission settings.
Easily manage, track, and revoke document sharing links with intuitive controls.Fully compatible with Microsoft Word, Excel, and PowerPoint formats.Lightweight application that ensures smooth performance across desktop and mobile devices.Free to download with straightforward account management that prioritizes your privacy.
microsoft office alternative - wps office

Frequently Asked Questions

Is there a way to revoke all OneDrive sharing links globally at once?

No, OneDrive does not currently offer a single global command to revoke all sharing permissions. You must manually review and remove access for each shared file or folder from the 'Shared by me' section.

How do I check if unauthorized users accessed my Microsoft account?

You can verify unauthorized access by logging into your Microsoft account, navigating to the Security tab, and clicking on 'Sign-in activity'. Review the list for any unfamiliar devices, locations, or IP addresses.

Why can't I find the 'Stop sharing' option in OneDrive?

Microsoft frequently updates the OneDrive interface. If a dedicated 'Stop sharing' button is missing, you must select the file, click 'Manage access' from the top menu, select the user's permission level, and click 'Remove direct access'.

Can I hide my primary email address when sharing OneDrive files?

Sharing files from a personal OneDrive account typically exposes your account's primary email address to the recipient. To maintain privacy, you would need to create and share from a separate, dedicated email account.