{"id":4312,"date":"2019-09-08T23:02:37","date_gmt":"2019-09-08T23:02:37","guid":{"rendered":"https:\/\/pariswells.com\/blog\/?p=4312"},"modified":"2019-09-08T23:02:37","modified_gmt":"2019-09-08T23:02:37","slug":"refresh-azure-ad-auth-token","status":"publish","type":"post","link":"https:\/\/pariswells.com\/blog\/research\/refresh-azure-ad-auth-token","title":{"rendered":"Refresh Azure AD auth token"},"content":{"rendered":"<p>[pastacode lang=&#8221;markdown&#8221; manual=&#8221;%23%20Revoke%20tokens%20in%20Azure%20AD%2C%20existing%20application%20and%20browser%20windows%20with%20access%20token%20needs%20to%20be%20terminated%20to%20revoke%20the%20access%20token%0A%0AGet-AzureADUser%20-SearchString%20user%40domain.com%20%7C%20Revoke-AzureADUserAllRefreshToken%0A%0ASet-User%20-Identity%20user%40domain.com%20-AuthenticationPolicy%20%22Allow%20Basic%20Auth%20for%20ActiveSync%22%20-StsRefreshTokensValidFrom%20%24(%5BSystem.DateTime%5D%3A%3AUtcNow)%20%0A%0ASet-User%20-Identity%20user%40domain.com%20-AuthenticationPolicy%20%22Disable%20Basic%20Auth%22%20-StsRefreshTokensValidFrom%20%24(%5BSystem.DateTime%5D%3A%3AUtcNow)%20%0A%0A%20&#8243; message=&#8221;&#8221; highlight=&#8221;&#8221; provider=&#8221;manual&#8221;\/]<\/p>","protected":false},"excerpt":{"rendered":"<p>[pastacode lang=&#8221;markdown&#8221; manual=&#8221;%23%20Revoke%20tokens%20in%20Azure%20AD%2C%20existing%20application%20and%20browser%20windows%20with%20access%20token%20needs%20to%20be%20terminated%20to%20revoke%20the%20access%20token%0A%0AGet-AzureADUser%20-SearchString%20user%40domain.com%20%7C%20Revoke-AzureADUserAllRefreshToken%0A%0ASet-User%20-Identity%20user%40domain.com%20-AuthenticationPolicy%20%22Allow%20Basic%20Auth%20for%20ActiveSync%22%20-StsRefreshTokensValidFrom%20%24(%5BSystem.DateTime%5D%3A%3AUtcNow)%20%0A%0ASet-User%20-Identity%20user%40domain.com%20-AuthenticationPolicy%20%22Disable%20Basic%20Auth%22%20-StsRefreshTokensValidFrom%20%24(%5BSystem.DateTime%5D%3A%3AUtcNow)%20%0A%0A%20&#8243; message=&#8221;&#8221; highlight=&#8221;&#8221; provider=&#8221;manual&#8221;\/]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-4312","post","type-post","status-publish","format-standard","hentry","category-research"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/4312","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/comments?post=4312"}],"version-history":[{"count":1,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/4312\/revisions"}],"predecessor-version":[{"id":4313,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/4312\/revisions\/4313"}],"wp:attachment":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/media?parent=4312"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/categories?post=4312"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/tags?post=4312"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}