{"id":2497,"date":"2017-06-23T13:30:06","date_gmt":"2017-06-23T12:30:06","guid":{"rendered":"https:\/\/www.lieben.nu\/liebensraum\/?p=2497"},"modified":"2017-06-23T13:30:06","modified_gmt":"2017-06-23T12:30:06","slug":"aadsts165000-after-enabling-modern-auth-in-exchange-online","status":"publish","type":"post","link":"https:\/\/lieben.nu\/liebensraum\/2017\/06\/aadsts165000-after-enabling-modern-auth-in-exchange-online\/","title":{"rendered":"AADSTS165000 after enabling Modern Auth in Exchange Online"},"content":{"rendered":"<p>If you enable <a href=\"https:\/\/support.office.com\/en-us\/article\/Enable-Exchange-Online-for-modern-authentication-58018196-f918-49cd-8238-56f57f38d662\">Modern Auth in Exchange Online<\/a>\u00a0with Set-OrganizationConfig -OAuth2ClientProfileEnabled $true , and then start seeing this error in Office 2016 or 2013 clients:<\/p>\n<p>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;]<\/p>\n<p>You need to re-activate Office.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you enable Modern Auth in Exchange Online\u00a0with 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 &hellip; <a href=\"https:\/\/lieben.nu\/liebensraum\/2017\/06\/aadsts165000-after-enabling-modern-auth-in-exchange-online\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">AADSTS165000 after enabling Modern Auth in Exchange Online<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","footnotes":""},"categories":[18],"tags":[],"class_list":["post-2497","post","type-post","status-publish","format-standard","hentry","category-exchange-online"],"_links":{"self":[{"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/posts\/2497","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/comments?post=2497"}],"version-history":[{"count":0,"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/posts\/2497\/revisions"}],"wp:attachment":[{"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/media?parent=2497"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/categories?post=2497"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/tags?post=2497"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}