How to Fix SMTP Access Token Expiration and Microsoft Account Lock
Question details
The user needs to recover a locked Microsoft account and resolve an expired SMTP access token caused by security flags.

- Product
- Microsoft Account
- Device & OS
- not provided
- Scenario
- Attempting to use third-party email automation platforms like Smartlead.ai triggers Microsoft's suspicious sign-in detection.
- Observed behavior
- The Microsoft account is locked, the SMTP access token expires, and missing verification messages prevent standard account recovery.
Pause any third-party email automation tools connected to your account to prevent further security flags, and refrain from spamming the sign-in button if verification codes are delayed.
Contact Your Microsoft 365 Administrator (Work or School Accounts)
Use this solution if your locked email address is provided by your organization or school, as only the administrator can lift the restriction.
When a work or school account is flagged for suspicious activity, Microsoft places the user in a Restricted Users portal. Standard users cannot bypass this block themselves; it requires administrative intervention.
Reach out to your company's IT support desk or the Microsoft 365 administrator for your organization.
Ask the administrator to log into the Microsoft 365 Defender portal and remove your email account from the Restricted Users list.
Have the admin revoke your existing sessions and require you to re-register for Multi-Factor Authentication (MFA) to clear any expired token states.

Use Microsoft Account Recovery (Personal Accounts)
Follow this method if you are using a personal Microsoft account (such as Outlook.com or Hotmail) and are locked out.
Experience Seamless Document Management with WPS Office
If Microsoft account lockouts are disrupting your ability to access important files, consider switching to WPS Office. It is a robust, lightweight suite that lets you work offline without complex account restrictions.
- 1. Visit the official site: Go to the WPS Office website to find the appropriate download for your device.
- 2. Download the installer: Click the download button and save the installation file to your computer.
- 3. Install and launch: Run the installer, follow the on-screen prompts, and open WPS Office to start managing your documents immediately.

Frequently Asked Questions
Why did my SMTP access token expire suddenly?
Access tokens expire when an email provider detects unusual activity, such as rapid bulk email sending via tools like Smartlead.ai, or when the token has naturally reached its lifespan and requires re-authentication.
What should I do if verification messages are not arriving?
Stop requesting new codes immediately, as repeated requests can extend the lock. Check your spam folders, wait at least 24 hours, or use the Microsoft Account Recovery form instead.
How can I prevent my account from getting locked when using email tools?
To minimize risk, use secure App Passwords, warm up your email accounts gradually, strictly adhere to your provider's daily sending limits, and ensure Multi-Factor Authentication is enabled.
How do I re-authenticate third-party tools after my account is unlocked?
Once you regain access, generate a new App Password in your Microsoft security settings and update the SMTP credentials within your third-party platform's dashboard.




