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.

Leave a Reply

2 Comment threads
1 Thread replies
Most reacted comment
Hottest comment thread
2 Comment authors
JosDaleOffice 365 - Bad Request: AADSTS165000 Recent comment authors

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

newest oldest most voted
Notify of

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 […]