Hello @Francis, Tharaka
Thank you for posting your query on Microsoft Q&A.
Microsoft does not offer the ability to alter the default password hint message from the Azure AD or Microsoft 365 Admin Center. The notice "Your password must be longer than 7 characters" is a default password policy, however. Your password policy will need to be modified if your company's policy calls for a more sophisticated message (for example, including special characters or other restrictions).
Here’s what you can do:
For more granular control over password policy and the message associated with it, you may need to create custom password expiration and complexity notifications that match your company’s specific needs. https://learn.microsoft.com/en-us/entra/identity/authentication/concept-password-ban-bad
A customized password policy message will need to be communicated to your users in a way that aligns with your internal standards, either through internal training, a company intranet, or via email.
Regretfully, Microsoft does not allow changing the "password hint" text directly in the sign-in form.
If you're using Azure AD B2C, you can design a unique password reset or sign-in process that lets you provide personalized notifications according to the relevant password policy.
For consumer-facing applications managed in Azure AD B2C, you can control the password messages by modifying custom policies:
Modify User Flow in Azure AD B2C
Go to Azure AD B2C → User Flows → Password Reset.
Customize the error messages and hints under Page Layouts.
https://learn.microsoft.com/en-us/azure/active-directory-b2c/customize-ui?pivots=b2c-custom-policy
I hope this clarifies things. Please contact us if you have any additional questions.
If this answers your query, do click Accept Answer and Yes for "Was this answer helpful". And, if you have any further query do let us know.