Outlook Login Problems

Troubleshoot AD FS Token Validation and Outlook 2016 Credential Prompts

Huda QurayshiHuda Qurayshi Nov 25, 2026 868 views

Question details

Outlook 2016 repeatedly requests credentials and cannot configure a profile after an AD FS deployment, although Outlook Web App sign-in succeeds.

Troubleshoot AD FS Token Validation and Outlook 2016 Credential Prompts
Product
Microsoft Outlook 2016 and Active Directory Federation Services (AD FS)
Device & OS
not provided
Scenario
Users need to configure Outlook profiles and authenticate through AD FS, including from the internal network.
Observed behavior
Outlook repeatedly prompts for credentials, profile configuration fails, and AD FS logs report a token validation failure. The issue may occur only on the internal network.
Before you start

Identify the AD FS service name, the affected user, and the approximate time of a failed sign-in. Have access to an affected internal client and, if possible, a client on an external network for comparison.

Solution 1Recommended

Compare AD FS connectivity from internal and external networks

Use this check when Outlook works externally but fails on the internal network, or when AD FS reports token validation errors.

Successful Outlook Web App sign-in does not establish that Outlook can reach and use every required authentication endpoint.

1
Compare Outlook behavior

Attempt to configure the same Outlook profile from the internal network and an external network. Record which attempt fails and its time.

2
Check DNS resolution

On each client, open a command prompt and run nslookup sts.example.com, replacing the example with your AD FS service name. Compare the returned addresses with your organization's intended internal and external DNS configuration.

3
Test HTTPS connectivity

In PowerShell, run Test-NetConnection sts.example.com -Port 443 from each network. If the internal test fails, check the AD FS listener and the firewall, proxy, and routing rules along that path.

4
Check the federation response

In a browser, open https://sts.example.com/FederationMetadata/2007-06/FederationMetadata.xml using your actual AD FS service name. Check for a valid certificate and an expected metadata response, and investigate any certificate, proxy, or connection errors.

5
Review the failure event

On the AD FS server, open Event Viewer and review Applications and Services Logs > AD FS > Admin for events matching the failed sign-in time. Use the event details to investigate the specific token validation failure.

Compare AD FS connectivity from internal and external networks
Free Microsoft Office alternative

Work with Office documents in WPS Office

WPS Office is a free, lightweight alternative with a familiar interface for working with Office documents and moving existing files. It does not resolve AD FS authentication or Outlook mailbox sign-in problems.

Open and edit Microsoft Word, Excel, and PowerPoint formatsWork with Office attachments after saving them to your deviceUse familiar document, spreadsheet, and presentation toolsMove existing Office files into a lightweight workspace
microsoft office alternative - wps office

Frequently Asked Questions

Why does Outlook Web App work while Outlook 2016 keeps asking for credentials?

Browser sign-in and Outlook profile configuration can use different endpoints or network paths. Compare internal and external AD FS connectivity and run an Outlook Autodiscover test.

How do I check whether the AD FS HTTPS port is reachable?

On the affected client, open PowerShell and run Test-NetConnection followed by your AD FS service name and -Port 443. A failed test warrants checking the listener, firewall, proxy, and routing rules.

Where can I find the AD FS token validation error?

On the AD FS server, open Event Viewer and go to Applications and Services Logs > AD FS > Admin. Look for events that match the affected user's failed sign-in time.

Should I check Autodiscover in a hybrid Exchange deployment?

Yes. Run the applicable Outlook Autodiscover test in the Microsoft Remote Connectivity Analyzer and verify that the domain's DNS record points to the intended endpoint for your hybrid configuration.