How to Check Activity After a Microsoft or OneDrive Account Hack
Question details
The user wants to track unauthorized actions, such as file downloads or modifications, after detecting suspicious and successful sign-in activities on their Microsoft or OneDrive account.

- Product
- Microsoft Account and OneDrive
- Device & OS
- not provided
- Scenario
- Recovering from an unauthorized login or account hack and investigating potential data breaches or malicious changes.
- Observed behavior
- Unusual sign-in alerts from different geographical locations, followed by a successful unauthorized login, raising concerns about compromised files and unauthorized downloads.
Ensure you have immediately reset your password and can currently access your Microsoft account. Have an authenticator app or mobile phone ready to set up two-step verification.
Secure Your Account and Review Sign-In Activity
Take immediate action to lock out intruders, secure your login credentials, and investigate where the unauthorized access originated.
The first step after detecting a hack is to ensure the intruder is completely locked out of your account. By updating your security settings and reviewing active sessions, you can stop ongoing unauthorized access.
Go to your Microsoft account Security settings and change your password to a unique, strong one. Under 'Advanced security options', turn on two-step verification or set up Windows Hello for device-specific login protection.
Navigate to the 'Sign-in activity' page in your Microsoft account dashboard. Look for unfamiliar locations, devices, or IP addresses (e.g., unexpected successful logins) and expand the details to see what actions were taken.
In the security dashboard, review 'Apps and services you've given access' to ensure no malicious apps were connected by the hacker. Additionally, click the option to sign out of all trusted devices to invalidate old sessions.

Investigate OneDrive Changes and Restore Files
Check for unauthorized file modifications, deletions, or new sharing links, and revert your OneDrive to a safe state.
Secure Your Documents with WPS Office
Looking for a secure, reliable, and cost-effective alternative to Microsoft Office? WPS Office offers built-in cloud storage, robust document encryption, and seamless compatibility with all your Word, Excel, and PowerPoint files—completely free.
- 1. Download and install WPS Office: Get the free WPS Office suite from the official website and install it on your device.
- 2. Open existing Office files: Easily open your existing Word, Excel, and PowerPoint files without any formatting loss.
- 3. Save to WPS Cloud: Upload your documents to WPS Cloud for secure access, version history, and seamless cross-device syncing.

Frequently Asked Questions
Can I see exactly which files a hacker downloaded from my personal OneDrive?
Unfortunately, individual file downloads are not directly logged or provable for personal Microsoft or OneDrive accounts. You can only view modifications, deletions, or newly created sharing links.
What should I do if my work or school account was hacked?
Immediately contact your organization's IT administrator. Unlike personal accounts, enterprise accounts have advanced audit logs where IT admins can track specific file downloads and forcefully revoke all active login sessions.
How does the OneDrive Restore feature work?
Available exclusively to Microsoft 365 subscribers, the 'Restore your OneDrive' feature allows you to undo all actions (creations, edits, deletions) that occurred within the last 30 days, effectively reverting your files to a secure state before the hack occurred.




