Get-WinEvent -LogName "AD FS/Admin"
To set ADFS debug levels on federation servers and federation proxy servers
- Click Start, point to Administrative Tools, and then click Active Directory Federation Services.
- Right-click Federation Service or Federation Service Proxy, and then click Properties.
- On the Troubleshooting tab, select debug levels as appropriate, and then click OK.
wevtutil sl “AD FS Tracing/Debug” /L:5
In Event Viewer, highlight Application and Services Logs, right-click and select View > Show Analytics and Debug Logs. Navigate to AD FS Tracing – Debug, right-click and select “Enable Log” to start Trace Debugging immediately.