How to Enforce a 16-Character Password Policy in Azure Active Directory
Question details
The user needs to enforce a 16-character password policy in Azure Active Directory when hybrid authentication uses on-premises Active Directory and password writeback fails.

- Product
- Microsoft Azure Active Directory
- Device & OS
- not provided
- Scenario
- An administrator is configuring a hybrid Azure AD environment with password writeback and an on-premises Active Directory minimum password length.
- Observed behavior
- Password writeback fails when users create passwords shorter than the on-premises Active Directory minimum length.
Confirm whether your hybrid sign-in method is pass-through authentication or password hash synchronization, and review the on-premises Active Directory password policy before changing Azure AD password requirements.
Use Pass-Through Authentication with a Fine-Grained Password Policy
Use this solution when Azure AD users must follow the on-premises Active Directory minimum password length and you want the local policy to remain authoritative.
Pass-through authentication validates user passwords directly against on-premises Active Directory. Because the local domain controller processes the password, a fine-grained password policy can enforce the 16-character minimum before Azure AD accepts the reset or change.
Open Azure AD Connect, select Configure, and view the user sign-in method. Ensure Pass-through authentication is selected.
Open Active Directory Administrative Center, expand System, select Password Settings Container, and create a new Password Settings object.
In the new Password Settings object, set Minimum password length to 16 and configure any complexity or lockout settings required by your security policy.
Under Directly Applies To, add the security group that contains the Azure AD users who need the 16-character rule.
In Azure AD Connect, confirm password writeback is enabled under optional features, then reset a test user password in Azure AD with a 16-character password.

Troubleshoot Password Writeback Failure Caused by Conflicting Password Policies
Use this solution when password writeback already fails and you need to identify whether Azure AD or on-premises Active Directory is blocking the password length.
Enforce Azure AD Password Policies and Use WPS Office as a Free Document Suite
WPS Office does not modify Azure Active Directory password policies, but it provides a free, lightweight Microsoft Office alternative with familiar interfaces and full compatibility with Word, Excel, and PowerPoint formats.
- 1. Download WPS Office Free: Go to the WPS Office download page and install the application on your Windows, macOS, Linux, Android, or iOS device.
- 2. Open Microsoft Office files: Launch WPS Office and use File > Open to open .docx, .xlsx, or .pptx files directly in Writer, Spreadsheets, or Presentation.
- 3. Edit and save in the original format: Edit the document and choose Save As to keep the original Microsoft Office file format for sharing with Microsoft 365 users.

Frequently Asked Questions
Why does Azure AD password writeback fail with a 16-character password?
The failure usually means Azure AD and on-premises Active Directory apply different minimum password length settings. With pass-through authentication, the on-premises Active Directory policy is used, so a fine-grained password policy must allow or require 16 characters.
Can Azure Active Directory enforce a 16-character minimum password length by itself?
Azure AD does not provide a direct 16-character minimum length setting in the cloud password policy. In a hybrid setup, use pass-through authentication and configure a fine-grained password policy in on-premises Active Directory to enforce 16 characters.
How do I check which hybrid sign-in method my tenant uses?
Open Azure AD Connect, select Configure, and review the user sign-in option. Pass-through authentication and password hash synchronization are the common methods.
Does WPS Office change Microsoft Azure AD password policies?
No. WPS Office is an Office suite and does not modify Azure Active Directory password policies. It is a free alternative for editing Word, Excel, and PowerPoint files with Microsoft format compatibility.




