Enable CAPTCHA on an AD FS Login Page for Microsoft 365
Question details
The user wants to reduce automated password attempts on an AD FS sign-in page without interrupting Microsoft 365 authentication.

- Product
- Active Directory Federation Services (AD FS) for Microsoft 365
- Device & OS
- not provided
- Scenario
- Users sign in to Microsoft 365 through AD FS, including authentication for Intune and Outlook.
- Observed behavior
- Repeated incorrect password attempts are causing account lockouts.
Identify your AD FS version, externally published endpoints, and the sign-in methods used by Outlook and Intune. Arrange a pilot with test accounts so you can check browser and application authentication before applying changes broadly.
Evaluate a supported CAPTCHA solution for the AD FS sign-in page
Use this approach if you need a CAPTCHA challenge for interactive browser sign-ins.
AD FS does not offer a simple built-in CAPTCHA switch for its standard sign-in page. An approved third-party identity-security solution or a carefully reviewed custom implementation may provide this functionality.
A challenge added to the browser sign-in page may not protect other authentication endpoints and can disrupt application flows if applied indiscriminately.
Inventory the AD FS endpoints and test how users sign in through a browser, Outlook, and Intune. Identify which flows display the AD FS forms-based sign-in page.
Consult Microsoft AD FS documentation and your identity-security vendor about supported CAPTCHA integration for your AD FS version. Confirm which endpoints and authentication flows the solution affects.
Follow the selected vendor's configuration guide in a test environment or limited pilot. Do not place a browser-only challenge in front of application endpoints unless the vendor confirms that those flows are supported.
Sign in to Microsoft 365 in a browser and test Outlook and Intune enrollment or sign-in with pilot accounts. Review AD FS logs for failures and adjust the configuration before expanding deployment.

Review AD FS extranet lockout protection
Use AD FS lockout controls as an additional way to limit repeated external password attempts.
Work on Office documents with WPS Office
WPS Office is a free, lightweight alternative for working with Office documents. Its familiar interface and Microsoft Office format compatibility make it easier to move everyday document work, but it does not configure or repair AD FS authentication.

Frequently Asked Questions
Does AD FS have a built-in CAPTCHA setting?
AD FS does not provide a simple built-in CAPTCHA option for its standard sign-in page. Review supported third-party or custom approaches for your AD FS version.
Will a CAPTCHA on the sign-in page protect every authentication endpoint?
Not necessarily. A browser-page CAPTCHA may not cover application or protocol endpoints. Ask the solution provider which flows it protects and test each one.
How can I avoid breaking Outlook and Intune authentication?
Inventory their authentication flows before making changes, then test Outlook sign-in and Intune enrollment or sign-in with pilot accounts. Avoid applying browser-only challenges to application endpoints without confirmed support.
Can AD FS extranet lockout replace CAPTCHA?
Extranet lockout or extranet smart lockout can help limit repeated external attempts in supported deployments, but it is not a CAPTCHA. Run Get-AdfsProperties on an AD FS server and review Microsoft's guidance for your version.




