Suspicious Login Issues

Enable CAPTCHA on an AD FS Login Page for Microsoft 365

Anum MushtaqAnum Mushtaq Nov 25, 2026 869 views

Question details

The user wants to reduce automated password attempts on an AD FS sign-in page without interrupting Microsoft 365 authentication.

How to Enable CAPTCHA on an AD FS Login Page for Microsoft 365
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.
Before you start

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.

Solution 1Recommended

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.

1
Review your sign-in flows

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.

2
Select an implementation

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.

3
Configure a pilot

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.

4
Test before rollout

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.

Evaluate a supported CAPTCHA solution for the AD FS sign-in page
Get implementation help: For guidance specific to your deployment, consult Microsoft support, the AD FS community, or the selected security vendor.
Free Microsoft Office alternative

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.

Edit documents, spreadsheets, and presentations in a familiar interfaceOpen and edit common Microsoft Office formats, including DOCX, XLSX, and PPTXUse a lightweight office suite for everyday workKeep document work separate from AD FS CAPTCHA configuration
microsoft office alternative - wps office

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.