Sign-in & Login Problems

Fix Microsoft 365 AADSTS165000 Sign-In Error in Internet Explorer 11

Aamir Naveed AkramAamir Naveed Akram Nov 25, 2026 868 views

Question details

The user needs to resolve an AADSTS165000 error when signing in to Microsoft 365 through Internet Explorer 11.

Fix Microsoft 365 AADSTS165000 Sign-In Error in Internet Explorer 11
Product
Microsoft 365 and Internet Explorer 11
Device & OS
not provided
Scenario
Signing in to portal.microsoftonline.com through an organizational account.
Observed behavior
Internet Explorer 11 reports that the request tokens do not match the user context, while other browsers work normally.
Before you start

Confirm that the same account can sign in through a supported browser, and note the exact error message and time of the failed attempt. Ask your Microsoft 365 administrator whether your organization uses AD FS or a third-party single sign-on provider.

Solution 1Recommended

Sign in to Microsoft 365 with a supported browser

Use a supported browser when the error occurs only in Internet Explorer 11.

Microsoft 365 apps and services no longer support Internet Explorer 11. Using a supported browser is the best first step, but it does not diagnose an underlying AD FS or SSO configuration issue.

1
Open a supported browser

Open Microsoft Edge or another browser supported by Microsoft 365.

2
Sign in to the portal

Go to https://portal.microsoftonline.com and sign in with the same organizational account.

3
Compare the results

If sign-in works in the supported browser but fails in Internet Explorer 11, use the supported browser and share the comparison with your administrator if further investigation is needed.

Sign in to Microsoft 365 with a supported browser
Free Microsoft Office alternative

Work on Office Documents with WPS Office

WPS Office is a free, lightweight Office alternative with a familiar interface and compatibility with common Microsoft Office formats, making it easy to move existing documents into your workflow. It does not fix Microsoft 365 sign-in or SSO errors.

Work on documents without relying on the Microsoft 365 portal sign-inOpen and edit Microsoft Office formats including DOCX, XLSX, and PPTXUse a familiar interface for documents, spreadsheets, and presentationsMove existing Office files into a lightweight, free workspace
microsoft office alternative - wps office

Frequently Asked Questions

What does AADSTS165000 mean?

In this case, the error says the request tokens do not match the user context during sign-in. Your administrator may need to investigate the browser session and the organization's AD FS or third-party SSO provider.

Why does sign-in work in another browser but not Internet Explorer 11?

The behavior points to a browser-specific or sign-in integration issue, but it does not identify the exact cause. Microsoft 365 apps and services no longer support Internet Explorer 11, so try signing in at portal.microsoftonline.com with a supported browser.

Who should investigate if my organization uses a third-party SSO provider?

Contact your IT administrator or the SSO provider's support team. Provide the error code, affected account, browser, and time of the failed attempt without sharing passwords or authentication tokens.

What information should I provide for an AD FS investigation?

Give your administrator the AD FS version, affected computer and account, operating system, browser, exact error message, and sign-in time.