A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Hello Hannan Ahmed,
I understand how inconvenient this is, especially since Microsoft 365 was working normally just a few days ago and you need access to your files.
Since you're experiencing both activation and file-access errors, let's first check whether Microsoft 365 is recognizing the correct account and subscription.
Here are what you can do:
Verify your Microsoft 365 subscription
- Visit https://account.microsoft.com/services
- Sign in using the Microsoft account associated with your Microsoft 365 subscription.
- Check whether the subscription is listed as active.
Check your Office activation
- Open Excel on your computer.
- Go to File > Account.
- Under Product Information, check the activation status and the account currently signed in.
If the account differs from the one associated with your subscription, try signing out and signing back in with the correct account.
Test Excel in a private browser window
- Open an InPrivate or Incognito window.
- Visit https://www.microsoft365.com
- Sign in with the account associated with your subscription.
- Try creating a new blank Excel workbook.
This will help determine whether the Access Denied error affects all workbooks or only specific files.
Regarding verification codes not reaching Gmail
- Check your Gmail Spam and All Mail folders.
- Search for messages from accountprotection.microsoft.com.
- Make sure the Gmail address is registered as a verification method for your Microsoft account.
- Avoid repeatedly requesting new codes, as this can temporarily restrict verification attempts.
Microsoft also provides guidance for troubleshooting here:
Could you please confirm the following:
- Does your Microsoft 365 subscription show as active on the Services & subscriptions page?
- Does the Access Denied error appear when creating a new blank Excel workbook, or only when opening existing files?
- Are you unable to receive verification codes at all, or do they arrive after a delay?
These details will help us narrow down whether this is an account authentication, licensing, or file-access issue.
Please feel free reply back to this post if you need further assistance, I'll be happy to help.