Troubleshoot AD FS Logout Failures and Remaining Authentication Cookies
Question details
Determine why AD FS logout fails and authentication cookies remain in a Shibboleth SAML integration.

- Product
- AD FS 4.0 and Shibboleth
- Device & OS
- Windows Server 2016; Chrome and Firefox
- Scenario
- AD FS acts as the identity provider and Shibboleth as the service provider. Logout fails on the test AD FS platform but not in production.
- Observed behavior
- The MSISAuth and MSISSignoutProtocol cookies remain active after logout, and the session appears to stay signed in.
Identify the test and production AD FS logout URLs and confirm which browser and account you will use for each comparison. Prepare to capture a network trace, but remove or protect tokens, cookies, and other sensitive data before sharing it.
Trace AD FS Sign-Out and Compare Test and Production
Use browser network and cookie data to identify where the test environment's logout flow differs from production.
Document the AD FS version, Windows Server version, browser versions, Shibboleth configuration, and SAML sign-out endpoints for both test and production.
In Chrome or Firefox, open Developer Tools and select Network. Enable Preserve log, reproduce the logout, and inspect the requests and redirects involving AD FS and Shibboleth.
Select the AD FS logout request in the Network panel. Check its status, redirects, sign-out response, and Set-Cookie headers; then inspect MSISAuth, MSISAuth1, and MSISSignoutProtocol in the browser's cookie storage.
Repeat the same sign-out test in production. Compare the logout URLs, SAML sign-out configuration, response headers, and cookie domain and path attributes with the test environment.
If the difference is unclear, post the configuration details and a sanitized network trace in an AD FS support forum or provide them to Microsoft support. Include the expected and actual logout behavior.
Use WPS Office for Compatible Office Documents
WPS Office is a free, lightweight alternative for everyday document work, with a familiar interface and support for common Microsoft Office formats to ease migration. It does not troubleshoot or replace AD FS authentication.

Frequently Asked Questions
Should all AD FS cookies disappear when I visit the logout URL?
Not necessarily. Inspect the logout response and Set-Cookie headers in your browser's Network panel, then test whether accessing the application requires authentication again. Cookie presence alone does not establish whether the sign-out flow succeeded.
How can I capture an AD FS logout trace?
Open Developer Tools in Chrome or Firefox, select Network, enable Preserve log, and reproduce the logout. Inspect the AD FS and Shibboleth requests and redirects, and sanitize sensitive values before sharing the trace.
Why should I compare the test and production environments?
Logout works in production but fails in test, so comparing sign-out endpoints, SAML configuration, redirects, and cookie-removal headers may reveal a relevant configuration or response difference.
What information should I provide to AD FS support?
Provide the AD FS and Windows Server versions, browser versions, SAML and Shibboleth configuration, logout URLs, and a sanitized trace showing the logout request and response. Describe how test behavior differs from production.




