logo
search
File Sharing Problems

How to Undo an Accidentally Shared OneDrive Link via Text Message

Maira MehtabMaira Mehtab Sep 22, 2026 869 views

Question details

The user accidentally sent a OneDrive file sharing link via SMS text message and needs to know how to revoke access and undo the share.

Product
Microsoft OneDrive
Device & OS
not provided
Scenario
An unintended recipient was sent a file sharing link via an SMS text message.
Observed behavior
The text message containing the link has already been dispatched to the carrier, and the sender wants to prevent unauthorized access to the shared OneDrive file.
Before you start

Ensure you are logged into the exact Microsoft account used to generate the OneDrive link so you can quickly access and modify the file's permission settings.

Solution 1Recommended

Revoke Link Access in OneDrive Manage Access Settings

Since standard SMS text messages cannot be unsent once delivered, the most reliable way to secure your data is to disable the sharing link directly within OneDrive.

By deleting the specific sharing link associated with the file, anyone who clicks the link in the text message will be denied access and receive an error message.

1
Open OneDrive

Navigate to the OneDrive website or open the OneDrive mobile app and log in to your Microsoft account.

2
Locate the Shared File

Find the specific file or folder that was accidentally shared. You can often find this quickly in the 'Shared' tab under 'Shared by you'.

3
Open Manage Access

Right-click the file (or tap the three-dot menu icon on mobile) and select 'Manage access' from the context menu.

4
Remove the Link

In the Manage access panel, look under the 'Links giving access' section. Locate the link you created, click the trash can icon (or 'Remove link' button), and confirm the deletion.

Access Revoked: Once the link is removed, it becomes permanently invalid. The recipient will not be able to view or download the file even though they still have the text message.
Free Microsoft Office alternative

Looking for Secure Document Sharing? Try WPS Office

If you frequently share documents and want a secure, lightweight, and highly compatible alternative to Microsoft Office, WPS Office is an excellent choice. It offers robust file sharing controls through WPS Cloud, allowing you to set passwords and strict expiration dates for your links to prevent accidental exposure.

  1. 1. Download and Install: Download WPS Office from the official website and follow the standard installation prompts for your device.
  2. 2. Save to WPS Cloud: Open your document, spreadsheet, or presentation and save it directly to your built-in WPS Cloud storage.
  3. 3. Share Securely: Click the 'Share' button, generate a link, and configure a secure password and validity period before sending it to your recipients.
Highly compatible with Microsoft Office formats including Word, Excel, and PowerPointBuilt-in secure cloud sharing with password protection and link expiration parametersLightweight application that runs smoothly on Windows, Mac, Linux, iOS, and AndroidFree to download and use with a familiar, easy-to-navigate tabbed interface
microsoft office alternative - wps office

Frequently Asked Questions

Can I unsend an SMS text message containing a link?

Generally, standard SMS text messages cannot be unsent or recalled once they are delivered to the recipient's cellular carrier. Your best option is to disable the link's access at the source in your cloud storage settings.

What happens when someone clicks the removed OneDrive link?

Once you remove the link from the OneDrive 'Manage access' panel, the URL becomes invalid. Anyone who clicks the old link in their text messages will see an error page stating that the item might not exist or is no longer available.

Can I see who viewed my shared OneDrive file?

If you have a Microsoft 365 business or premium subscription, you may be able to see view history by hovering over the file and checking the details pane. However, for standard free personal accounts, tracking individual views via anonymous sharing links is generally not supported.

How can I prevent accidental sharing in the future?

Instead of using the 'Anyone with the link' option, try sharing directly to specific email addresses so only verified users can open the file. Alternatively, if you use a premium account or a service like WPS Cloud, always set a password and a short expiration date for your sharing links.