Security Policy Errors

How to Enforce a 16-Character Password Policy in Azure Active Directory

Camila MilosovichCamila Milosovich Nov 13, 2026 870 views

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.

How to Enforce a 16-Character Password Policy in Azure Active Directory
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.
Before you start

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.

Solution 1Recommended

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.

1
Confirm pass-through authentication is enabled

Open Azure AD Connect, select Configure, and view the user sign-in method. Ensure Pass-through authentication is selected.

2
Create a fine-grained password policy

Open Active Directory Administrative Center, expand System, select Password Settings Container, and create a new Password Settings object.

3
Set the minimum password length to 16 characters

In the new Password Settings object, set Minimum password length to 16 and configure any complexity or lockout settings required by your security policy.

4
Assign the policy to the affected users or group

Under Directly Applies To, add the security group that contains the Azure AD users who need the 16-character rule.

5
Test password writeback

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.

Use Pass-Through Authentication with a Fine-Grained Password Policy
16-character rule enforced locally: With pass-through authentication, the on-premises Active Directory policy is enforced and Azure AD inherits the same validation result.
Free Microsoft Office alternative

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. 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. 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. 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.
Free, lightweight Microsoft Office alternative that does not require a Microsoft 365 subscriptionOpens and saves .docx, .xlsx, and .pptx files without conversionFamiliar ribbon-style interface for a smooth migration from Microsoft OfficeLets you edit documents locally without relying on Azure AD sign-in for basic Office workCompatible with Windows, macOS, Linux, Android, and iOS
microsoft office alternative - wps office

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.