Can You Customize the Locked-Account Message in Microsoft 365?
Question details
The user is looking to find out if Microsoft 365 administrators have the ability to customize or replace the default error message that is displayed when a user account is deliberately blocked.

- Product
- Microsoft 365
- Device & OS
- not provided
- Scenario
- An administrator wants to provide specific instructions or personalized communication on the lockout screen when restricting a user's sign-in access.
- Observed behavior
- Microsoft 365 displays a generic default message when an account is locked, and administrators are unable to locate a setting to modify this text for individual or global accounts.
Ensure you have Global Administrator or User Administrator privileges in your Microsoft 365 tenant to manage sign-in statuses and review admin center configurations.
Understanding Microsoft 365 Locked-Account Message Limitations
Currently, Microsoft 365 does not offer a built-in feature to customize the default locked-account message or assign different messages to specific users.
Microsoft 365 enforces a standardized default message whenever a user account is deliberately blocked or locked out due to security policies. At this time, the platform does not provide an administrator setting to alter this default text.
Because you cannot change the message natively, it is highly recommended to establish an alternative communication workflow (such as contacting the user's secondary email or direct manager) when a block is applied. Additionally, administrators looking for this functionality should actively provide feedback to Microsoft.
Sign in to the Microsoft 365 Admin Center. Navigate to 'Users' > 'Active users', select the user you wish to restrict, and click 'Block sign-in'. The user will receive the standard Microsoft lockout message.
Since the sign-in screen cannot display custom instructions, manually send an email to the user's alternate email address or contact them via internal HR tools to explain why the account was blocked.
Go to the official Microsoft 365 Feedback portal. Submit a new request or upvote existing requests asking for customizable locked-account messages to encourage future development.

Try WPS Office for a Streamlined and Cost-Effective Workflow
While administrative limitations in Microsoft 365 can be frustrating, managing your day-to-day documents shouldn't be. WPS Office is a powerful, lightweight, and completely free alternative to Microsoft Office. It offers a fully equipped suite for your document, spreadsheet, and presentation needs without the complex administrative overhead.
- 1. Download WPS Office: Visit the official WPS Office website and download the free installation package for your operating system.
- 2. Install the Suite: Run the downloaded installer and follow the simple on-screen instructions to complete the setup in minutes.
- 3. Open Your Office Files: Launch WPS Office and directly open your existing Word, Excel, or PowerPoint documents to continue working with perfect formatting.

Frequently Asked Questions
Why would a Microsoft 365 user account get locked?
A user account typically gets locked automatically due to multiple failed login attempts triggering Azure AD Smart Lockout policies, or an administrator may have manually blocked the user's sign-in access from the admin center for security or HR reasons.
Can I automatically send a custom email when I block a user?
Not automatically through the default Microsoft 365 Admin Center interface. However, administrators can set up custom automated workflows using Power Automate or PowerShell scripts to send an email to the user's alternate address when their account status changes to blocked.
How do I unblock a user's sign-in access?
To unblock a user, sign in to the Microsoft 365 Admin Center, navigate to Users > Active users, select the affected user, and click the 'Unblock sign-in' option located in the account settings pane. It may take up to 15 minutes for the change to fully apply across all services.




