大网数据广告活动
域与目录服务

Troubleshoot AD FS

· 52CE 我爱测

Learn about the strategies and tools that you can use to diagnose and troubleshoot various aspects of Active Directory Federation Services.

Active Directory Federation Services (AD FS) has many moving pieces, touches many different things, and has many different dependencies. This complexity can give rise to various issues. This article helps to get you started on troubleshooting these issues. It introduces you to the common areas where you should focus, how to enable features for more information, and the various tools to track down problems.

What to check first

Before you dive into in-depth troubleshooting, check these things first:

  • Domain Name System (DNS) configuration: Can you resolve the name of the federation service? This connection should resolve to either the load balancer's IP address or the IP address of one of the AD FS servers in your farm. For more information, see AD FS troubleshooting: DNS.
  • AD FS endpoints: Can you browse to the AD FS endpoints? Browsing to this endpoint can determine whether or not your AD FS web server is responding to requests. If you can get to this file, you know that AD FS is servicing requests over 443. For more information, see AD FS troubleshooting: AD FS metadata endpoints.
  • Identity Provider (IdP)-initiated sign-in: Can you sign in and authenticate via the IdP-initiated sign-in page? Ensure that this page is enabled because it's disabled by default. Use Set-AdfsProperties -EnableIdPInitiatedSignOn $true to enable the page. If you can sign in and authenticate, you know that AD FS is working in this area. For more information, see AD FS troubleshooting: IdP-initiated sign-in.

Common troubleshooting areas

Name Description
Events and logging Use Windows Event Logs to view high-level and low-level information via the admin and trace logs. You can also use logs to view security auditing.
SQL connectivity Information on how to test the connectivity between your AD FS servers and the back-end SQL databases.
Claims issuance Information on how to determine whether AD FS is issuing claims correctly.
Loop detection Information on how to determine and prevent users from being bounced back and forth between the IdP and a relying party.
Certificates Typical certificate issues that can arise.
Fiddler Information on how to install and use Fiddler.
WS-Federation with Fiddler Detailed Fiddler trace of a WS-Federation interaction.
Claim rules syntax Information on how to troubleshoot claim rules and their syntax.
Integrated Windows Authentication Information on how to troubleshoot integrated authentication.
Microsoft Entra ID Information on how to troubleshoot AD FS interaction with Microsoft Entra ID.

Source: Microsoft Learn / Windows Server documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Server documentation
适用范围
Windows Server · Source date 05/19/2023
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。