Sign-in & Login Problems

Troubleshoot AD FS Logout Failures and Remaining Authentication Cookies

Tauseeq MagsiTauseeq Magsi Nov 22, 2026 868 views

Question details

Determine why AD FS logout fails and authentication cookies remain in a Shibboleth SAML integration.

Troubleshoot AD FS Logout Failures and Remaining Authentication Cookies
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.
Before you start

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.

Solution 1Recommended

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.

1
Record the configuration

Document the AD FS version, Windows Server version, browser versions, Shibboleth configuration, and SAML sign-out endpoints for both test and production.

2
Capture the logout flow

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.

3
Inspect the response and cookies

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.

4
Compare environments

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.

5
Escalate with evidence

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.

Check the full sign-out flow: Do not assume every cookie must disappear after visiting a logout URL. Verify the response and whether subsequent access requires authentication; local AD FS sign-out and SAML single logout are distinct flows.
Free Microsoft Office alternative

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.

Use a free, lightweight office suite with a familiar interfaceOpen and edit compatible Microsoft Word, Excel, and PowerPoint formatsDocument AD FS test results and configuration comparisons in files you can share
microsoft office alternative - wps office

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.