Setup: ADFS 2.0 Federation server
Problem: You need to troubleshoot some authentication issues and check the claims sent to RP
Run the following command from a command prompt:
wevtutil sl "AD FS 2.0 Tracing/Debug" /L:5
Open Event Viewer, click the View menu and select Show Analytic and Debug Logs. This must be enabled for the AD FS 2.0 Tracing log to be visible.
Right-click the Debug log under AD FS 2.0 Tracing and select Enable Log.
Restart the AD FS 2.0 Windows Service service (adfssrv) either by right-clicking it in the Services MMC or running the following commands at a command prompt:
net stop adfssrv net start adfssrv