Password Protection for Entra and On-Prem Active Directory

,

One thing I like to get going whenever taking on a new tenant or client is the password protection features. By Default, Entra already has some password protection for your cloud users which detects and blocks known weak passwords such as password and password123 or qwerty as well as looking at well-known passwords that are readily exploited in the wild. You can go further, including custom banned password lists, using common words such as company name or other default passwords teams might use. This cloud protection can also be extended to your on-premises Active Directory environment.

To get started, we need to deploy the proxy service and then the DC agents onto each Domain Controller in your environment. For simplicity, I tend to load the password proxy service on the Entra Directory Sync/Azure AD Connect server or if the site has ADFS in a HA setup, on there. Once the proxy is loaded, sign into the Entra admin center, go to Protection > Authentication methods > Password protection, and set the option for Enable password protection on Windows Server Active Directory to enabled and Mode to Audit.

We can configure password protection to not only use the Entra Password Protections, but also our custom banned list, I like to have company names and any generic passwords that the helpdesk teams tend to use here, so that users cannot use them.

Once the agents are deployed, we can use PowerShell to check the status of what’s happening in our environment on the proxy server to ensure DC agents are sending password change requests as well as resulting actions, such as how many attempts would be blocked or have weak passwords.

Get-AzureADPasswordProtectionSummaryReport

The command will cycle through each Domain Controller and then spit out something similar to the below;

Once you’re happy with the results, you can then switch the mode to Enforced, which will prevent any on-premises weak password changes.


Leave a Reply

More Posts

Microsoft 365 Admin Notifications to your user mailbox with Plus addressing

Licensing your Entra Administrator accounts for email is a common practice to ensure you are across service health updates, user, security and billing alerts but by doing this it introduces security risks and additional costs for mailbox licensing. As a best practice, privileged accounts should remain isolated from unnecessary communication channels to minimise vulnerabilities or […]

New Year, New Theme

Quick one but I’ve spent a bit of time today cleaning up the backend and loaded a new theme.  I’ve also started to clean-up older articles to make sure the fit with the new theme and block editor of WordPress (as I’ve continued to use the “classic” style for quite some time).  More articles and […]

Fix client machines not appearing in WSUS Console

Depending on your imaging method some clients may not show up on your WSUS console, and refuse to check for updates. Since starting my new job I’ve seen this occur on machines which have been imaged with a non-sysprepped image. I quickly whipped up a script to reset some settings and forcing the machine to […]