{"id":2578,"date":"2019-02-28T10:00:31","date_gmt":"2019-02-28T17:00:31","guid":{"rendered":"https:\/\/developer.microsoft.com\/en-us\/office\/blogs\/?p=2578"},"modified":"2019-02-28T10:00:31","modified_gmt":"2019-02-28T17:00:31","slug":"breaking-change-invalidate-all-refresh-tokens-update-in-microsoft-graph-beta","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/breaking-change-invalidate-all-refresh-tokens-update-in-microsoft-graph-beta\/","title":{"rendered":"Breaking Change: Invalidate All Refresh Tokens update in Microsoft Graph Beta"},"content":{"rendered":"<p>We\u2019re announcing that we will be deploying a breaking change to the\u00a0<a href=\"https:\/\/docs.microsoft.com\/en-us\/graph\/api\/user-invalidateallrefreshtokens?view=graph-rest-beta\">invalidateRefreshTokens action<\/a> in the Microsoft Graph beta endpoint starting in March. We expect the breaking change to be fully deployed by the end of March. The following are the updates:<\/p>\n<ul>\n<li data-leveltext=\"o\" data-font=\"Courier New\" data-listid=\"1\" data-aria-posinset=\"1\" data-aria-level=\"2\"><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}\">The invalidateAllRefreshTokens service action is renamed to revokeSignInSessions <\/span><\/li>\n<li data-leveltext=\"o\" data-font=\"Courier New\" data-listid=\"1\" data-aria-posinset=\"2\" data-aria-level=\"2\"><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}\">The refreshTokensValidFromDateTime property on the user resource is renamed to signInSessionsValidFromDateTime <\/span><\/li>\n<\/ul>\n<p><span data-contrast=\"auto\">This will affect existing applications that are calling\u00a0<\/span><span data-contrast=\"auto\">invalidateAllRefreshTokens<\/span><span data-contrast=\"auto\">.\u00a0<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><b><span data-contrast=\"none\">Current behavior<\/span><\/b><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><i><span data-contrast=\"none\">Request<\/span><\/i><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">POST\u00a0<\/span><a href=\"https:\/\/graph.microsoft.com\/v1.0\/users\/%7bid%7d\/invalidateAllRefreshTokens\"><span data-contrast=\"none\">https:\/\/graph.microsoft.com\/beta\/users\/{id}\/invalidateAllRefreshTokens<\/span><\/a><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><i><span data-contrast=\"none\">Response<\/span><\/i><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">HTTP\/1.1 204 No Content<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><b><span data-contrast=\"none\">New behavior\u00a0<\/span><\/b><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><i><span data-contrast=\"none\">Request<\/span><\/i><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">POST\u00a0<\/span><a href=\"https:\/\/graph.microsoft.com\/beta\/users\/%7bid%7d\/revokeSignInSessions\"><span data-contrast=\"none\">https:\/\/graph.microsoft.com\/beta\/users\/{id}\/revokeSignInSessions<\/span><\/a><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><i><span data-contrast=\"none\">Response<\/span><\/i><span data-contrast=\"auto\">\u00a0<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">HTTP\/1.1 204 No Content<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><b><span data-contrast=\"none\">Call to action<\/span><\/b><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">If your app has a dependency on\u00a0<\/span><span data-contrast=\"auto\">invalidateAllRefreshTokens<\/span><span data-contrast=\"auto\">, update your apps as needed to handle this scenario. We welcome your feedback on\u00a0<\/span><a href=\"https:\/\/officespdev.uservoice.com\/forums\/224641-feature-requests-and-feedback\/category\/101632-microsoft-graph-o365-rest-apis\"><span data-contrast=\"none\">UserVoice<\/span><\/a><span data-contrast=\"auto\">\u00a0and if you have further questions reach out to\u00a0<\/span><span data-contrast=\"auto\">us on<\/span><span data-contrast=\"auto\">\u00a0<\/span><a href=\"https:\/\/stackoverflow.com\/questions\/tagged\/microsoft-graph\"><span data-contrast=\"none\">StackOverflow<\/span><\/a><span data-contrast=\"auto\">.<\/span><\/p>\n<p>-The Microsoft Identity Platform Team<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Breaking Change: Invalidate All Refresh Tokens update in Microsoft Graph Beta<\/p>\n","protected":false},"author":69081,"featured_media":25159,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[3,5,11],"tags":[22],"class_list":["post-2578","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-microsoft-graph","category-microsoft-identity-platform","category-office-add-ins","tag-azure-ad"],"acf":[],"blog_post_summary":"<p>Breaking Change: Invalidate All Refresh Tokens update in Microsoft Graph Beta<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/2578","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/users\/69081"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/comments?post=2578"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/2578\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media\/25159"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media?parent=2578"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/categories?post=2578"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/tags?post=2578"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}