How to Undo an Accidentally Shared OneDrive Link via Text Message
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.
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.
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.
Navigate to the OneDrive website or open the OneDrive mobile app and log in to your Microsoft account.
Find the specific file or folder that was accidentally shared. You can often find this quickly in the 'Shared' tab under 'Shared by you'.
Right-click the file (or tap the three-dot menu icon on mobile) and select 'Manage access' from the context menu.
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.
Contact the Recipient and Secure Your Account
If you are concerned about data privacy after an accidental share, taking administrative security steps ensures your account remains compromised.
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. Download and Install: Download WPS Office from the official website and follow the standard installation prompts for your device.
- 2. Save to WPS Cloud: Open your document, spreadsheet, or presentation and save it directly to your built-in WPS Cloud storage.
- 3. Share Securely: Click the 'Share' button, generate a link, and configure a secure password and validity period before sending it to your recipients.

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.




