AADSTS165000 after enabling Modern Auth in Exchange Online

If you enable Modern Auth in Exchange Online with Set-OrganizationConfig -OAuth2ClientProfileEnabled $true , and then start seeing this error in Office 2016 or 2013 clients:

AADSTS165000: Invalid request: the request tokens do not match the user context. One or more of the user context values (cookies; form fields; headers) were incorrect or invalid, these values should not be copied between requests or user sessions; always maintain ALL of the supplied values across a complete single user flow. Failure reasons:[Token is invalid;]

You need to re-activate Office.

Notify of

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Most Voted
Newest Oldest
Inline Feedbacks
View all comments
6 years ago

This only happens to us when using Google Chrome. If we use Edge/Int. Explorer, there is no problem. Any suggestions? Of course, we tried to get help from MSFT, but no solutions.


[…] back to Microsoft. Potentially useful links: https://answers.microsoft.com/en-us/…3-5b284e83734d AADSTS165000 after enabling Modern Auth in Exchange Online | Liebensraum […]