Passwords remain one of the most widely used attack vectors in corporate environments. Weak or reused passwords compromise the identity infrastructure and expose the organisation to attacks such as brute force or credential stuffing.
What is Microsoft Entra Password Protection?
Microsoft Entra Password Protection is a feature built into Microsoft Entra ID that applies a dynamic list of banned passwords. It evaluates in real time whether a password is strong enough when it is created or changed.
Main features
- Creation of a custom list of banned terms.
- Support for hybrid environments (cloud and on-premises).
- Logging of password validation events and compliance analysis.
Requirements for using Microsoft Entra Password Protection
To implement Microsoft Entra Password Protection correctly in on-premises environments, the following technical requirements must be met:
- An active Microsoft Entra ID P1 or P2 subscription.
- Domain controllers running Windows Server 2012 R2 or later.
- The Password Protection proxy and agents installed on the DCs.
- Outbound internet access from the proxy server to the Entra ID services.
- Support for DFSR replication of SYSVOL.
- The DC agent must not be installed on read-only domain controllers (RODC).
- The proxy agent requires .NET Framework 4.7.2 or later.
Deployment architecture
Microsoft Entra Password Protection proxy
Acts as an intermediary between the domain controllers and Microsoft Entra ID. We recommend installing at least two instances on dedicated servers for high availability.
Password Protection DC agent
Installed on every domain controller, it evaluates passwords locally using the downloaded policies.
Microsoft Entra ID portal
The custom password policies are defined in the portal, where audit or enforce mode is also enabled.

How to configure Microsoft Entra Password Protection
📌 Note: this procedure assumes the servers have direct internet access. If an intermediate proxy is used or the servers' internet access is restricted, see the official Microsoft documentation.
Step 1: Install the proxy and the DC agent
- Download from the official site: Microsoft Download Center - Password Protection
- Install the proxy on a Windows Server.
- Deploy the DC agent on every domain controller. The domain controllers must be restarted after installation.
Step 2: Register and verify the service
Import-Module AzureADPasswordProtection
Get-Service AzureADPasswordProtectionProxy | fl
Register-AzureADPasswordProtectionProxy -AccountUpn 'admin@tu-dominio.onmicrosoft.com'
Test-AzureADPasswordProtectionProxyHealth -TestAll
Register-AzureADPasswordProtectionForest -AccountUpn 'admin@tu-dominio.onmicrosoft.com'
Test-AzureADPasswordProtectionProxyHealth -TestAll
If there are errors, see Microsoft's official troubleshooting guide.
Note: the proxy service updates itself automatically when it detects new versions. The DC agent must be updated manually by downloading the new version from the Microsoft Download Center.
Step 3: Configure the custom password policy
- Sign in to the Microsoft Entra admin center as at least an Authentication Administrator.
- Go to Authentication methods > Password protection.
- Enable:
- Enforce custom list → Yes.
- Enable password protection on Windows Server Active Directory → Yes.
- Define the custom list of banned words (one per line, up to 1,000 terms). Examples: company name, brands, locations, sports teams.
- Use Audit mode before enforcing blocks, to assess the impact.
- Save the changes.
Step 4: Verify policy synchronisation
The agents write events to the following logs:
- Applications and Services Logs\Microsoft\AzureADPasswordProtection\DCAgent\Admin
- Applications and Services Logs\Microsoft\AzureADPasswordProtection\DCAgent\Operational
- Applications and Services Logs\Microsoft\AzureADPasswordProtection\DCAgent\Trace
Monitoring password protection
You can use the cmdlet:
Get-AzureADPasswordProtectionSummaryReport
It produces a summary of blocked, allowed and audit-mode password activity.
Examples of common events
- 10014 - Password changed successfully
- 10015 - Password validated
- 10017 - Password change failed
- 10025 / 30009 - Password rejected, but accepted in Audit mode
- 30006 - New policy applied
- 30019 - Password protection disabled
About the author:
Kevin Maldonado, LinkedIn
Cybersecurity technician at Allbit Solutions, specialising in protecting Microsoft 365 environments and endpoints. He holds Microsoft certifications in identity and security administration (Identity and Access Administrator Associate, 2025; Azure Security Engineer Associate, 2024), among other credentials.

