{"id":23504,"date":"2024-12-02T11:55:59","date_gmt":"2024-12-02T19:55:59","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/?p=23504"},"modified":"2025-05-06T14:17:34","modified_gmt":"2025-05-06T21:17:34","slug":"naa-and-deprecation-of-legacy-tokens","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/naa-and-deprecation-of-legacy-tokens\/","title":{"rendered":"Update on nested app authentication and deprecation of Exchange Online legacy tokens"},"content":{"rendered":"<p><span class=\"TextRun SCXW129384966 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW129384966 BCX8\">Earlier this year,<\/span><span class=\"NormalTextRun SCXW129384966 BCX8\"> the Office Platform Team announced that Exchange Online legacy tokens are deprecated and will be turned off. This is part of <\/span><\/span><a class=\"Hyperlink HyperlinkGateOff SCXW129384966 BCX8\" href=\"https:\/\/blogs.microsoft.com\/on-the-issues\/2023\/11\/02\/secure-future-initiative-sfi-cybersecurity-cyberattacks\/\" target=\"_blank\" rel=\"noreferrer noopener\"><span class=\"TextRun Underlined UnderlinedGateOff SCXW129384966 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW129384966 BCX8\" data-ccp-charstyle=\"Hyperlink\">Microsoft\u2019s Secure Future Initiative<\/span><\/span><\/a><span class=\"TextRun SCXW129384966 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"> <span class=\"NormalTextRun SCXW129384966 BCX8\">(SFI) <\/span><span class=\"NormalTextRun SCXW129384966 BCX8\">to give organizations the tools they need in the current threat landscape. <\/span><span class=\"NormalTextRun SCXW129384966 BCX8\">We\u2019ll<\/span><span class=\"NormalTextRun SCXW129384966 BCX8\"> begin turning off legacy tokens in <\/span><span class=\"NormalTextRun CommentStart SCXW129384966 BCX8\">February 2025<\/span><span class=\"NormalTextRun SCXW129384966 BCX8\">. <\/span><\/span><span class=\"TextRun SCXW129384966 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW129384966 BCX8\">Publishers and developers are actively migrating their Outlook add-ins to use Entra ID tokens <\/span><span class=\"NormalTextRun SCXW129384966 BCX8\">through nested app authentication (NAA) <\/span><span class=\"NormalTextRun SCXW129384966 BCX8\">and Microsoft Graph instead of legacy tokens.<\/span><\/span><span class=\"EOP SCXW129384966 BCX8\" data-ccp-props=\"{}\">\u00a0<\/span><\/p>\n<p><span class=\"TextRun SCXW203125280 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW203125280 BCX8\">As part of supporting <\/span><span class=\"NormalTextRun SCXW203125280 BCX8\">Outlook add-in migration to NAA, <\/span><span class=\"NormalTextRun SCXW203125280 BCX8\">we<\/span><span class=\"NormalTextRun SCXW203125280 BCX8\">\u2019re<\/span><span class=\"NormalTextRun SCXW203125280 BCX8\"> excited to announce that <\/span><span class=\"NormalTextRun SCXW203125280 BCX8\">NAA is now generally available (GA) <\/span><span class=\"NormalTextRun SCXW203125280 BCX8\">in<\/span><span class=\"NormalTextRun SCXW203125280 BCX8\"> the Monthly Enterprise Channel<\/span><span class=\"NormalTextRun SCXW203125280 BCX8\"> for Outlook<\/span><span class=\"NormalTextRun SCXW203125280 BCX8\"> add-ins<\/span><span class=\"NormalTextRun SCXW203125280 BCX8\">. <\/span><span class=\"NormalTextRun SCXW203125280 BCX8\">We\u2019re<\/span><span class=\"NormalTextRun SCXW203125280 BCX8\"> continuing to roll out NAA <\/span><span class=\"NormalTextRun SCXW203125280 BCX8\">support according to the following timeline.<\/span><\/span><span class=\"EOP SCXW203125280 BCX8\" data-ccp-props=\"{}\">\u00a0<\/span><\/p>\n<table style=\"width: 38.6751%;\" data-tablestyle=\"MsoNormalTable\" data-tablelook=\"1184\" aria-rowcount=\"5\">\n<tbody>\n<tr aria-rowindex=\"1\">\n<td style=\"width: 28.431%;\" data-celllook=\"65536\"><b><span data-contrast=\"none\">Date<\/span><\/b><span data-ccp-props=\"{}\">\u00a0<\/span><\/td>\n<td style=\"width: 89.661%;\" data-celllook=\"65536\"><b><span data-contrast=\"none\">NAA General Availability (GA)<\/span><\/b><span data-ccp-props=\"{}\">\u00a0<\/span><\/td>\n<\/tr>\n<tr aria-rowindex=\"2\">\n<td style=\"width: 28.431%;\" data-celllook=\"65536\"><span data-contrast=\"none\">Oct 2024<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/td>\n<td style=\"width: 89.661%;\" data-celllook=\"65536\"><span data-contrast=\"none\">Complete &#8211; NAA is GA in Current Channel.<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/td>\n<\/tr>\n<tr aria-rowindex=\"3\">\n<td style=\"width: 28.431%;\" data-celllook=\"65536\"><span data-contrast=\"none\">Nov 2024<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/td>\n<td style=\"width: 89.661%;\" data-celllook=\"65536\"><span data-contrast=\"none\">Complete &#8211; NAA is GA in Monthly Enterprise Channel.<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/td>\n<\/tr>\n<tr aria-rowindex=\"4\">\n<td style=\"width: 28.431%;\" data-celllook=\"65536\"><span data-contrast=\"none\">Jan 2025<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/td>\n<td style=\"width: 89.661%;\" data-celllook=\"65536\"><span data-contrast=\"none\">NAA will GA in Semi-Annual Channel.<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/td>\n<\/tr>\n<tr aria-rowindex=\"5\">\n<td style=\"width: 28.431%;\" data-celllook=\"65536\"><span data-contrast=\"none\">Jun 2025<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/td>\n<td style=\"width: 89.661%;\" data-celllook=\"65536\"><span data-contrast=\"none\">NAA will GA in Semi-Annual Extended Channel.<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span data-contrast=\"auto\">We\u2019re also announcing the availability of new Exchange PowerShell parameters to control the issuance of legacy tokens on a Microsoft 365 tenant.<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/p>\n<h2><span class=\"TextRun SCXW263242536 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW263242536 BCX8\" data-ccp-parastyle=\"heading 1\">Turn <\/span><span class=\"NormalTextRun SCXW263242536 BCX8\" data-ccp-parastyle=\"heading 1\">Exchange Online <\/span><span class=\"NormalTextRun SCXW263242536 BCX8\" data-ccp-parastyle=\"heading 1\">legacy tokens on or off<\/span><\/span><span class=\"EOP SCXW263242536 BCX8\" data-ccp-props=\"{&quot;134245418&quot;:true,&quot;134245529&quot;:true,&quot;335559738&quot;:360,&quot;335559739&quot;:80}\">\u00a0<\/span><\/h2>\n<p><span data-contrast=\"auto\">As a developer you\u2019ll want to test updates you make to your Outlook add-in to move off legacy tokens. You can create a test tenant and turn off legacy tokens in the test tenant. Then sideload your add-in on the test tenant and confirm that it\u2019s working correctly when legacy tokens are unavailable.<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">You can use the <\/span><b><span data-contrast=\"auto\">Set-AuthenticationPolicy<\/span><\/b><span data-contrast=\"auto\"> command to control issuance of legacy Exchange Online tokens. For more information about using this command, see <\/span><a href=\"https:\/\/learn.microsoft.com\/office\/dev\/add-ins\/outlook\/turn-exchange-tokens-on-off\">Turn legacy Exchange Online tokens on or off<\/a>.<\/p>\n<p><span data-contrast=\"auto\">Use the <\/span><b><span data-contrast=\"auto\">Set-AuthenticationPolicy<\/span><\/b><span data-contrast=\"auto\"> commands to turn off legacy tokens when you\u2019re using a test tenant to test your Outlook add-ins. <\/span><b><span data-contrast=\"auto\">Don&#8217;t use the command to turn off legacy tokens on a production tenant. The command can affect essential Outlook services and may cause issues for users. It will be updated soon so that it also works on production tenants.<\/span><\/b><span data-ccp-props=\"{}\">\u00a0<\/span><\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2024\/11\/legacy-tokens-blocked.png\"><img decoding=\"async\" class=\"size-full wp-image-23511 alignnone\" src=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2024\/11\/legacy-tokens-blocked.png\" alt=\"Image legacy tokens blocked\" width=\"800\" height=\"656\" srcset=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2024\/11\/legacy-tokens-blocked.png 800w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2024\/11\/legacy-tokens-blocked-300x246.png 300w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2024\/11\/legacy-tokens-blocked-768x630.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/a><\/p>\n<h2><span class=\"NormalTextRun CommentStart SCXW219562162 BCX8\" data-ccp-parastyle=\"heading 1\">Identify<\/span><span class=\"NormalTextRun SCXW219562162 BCX8\" data-ccp-parastyle=\"heading 1\"> add-ins <\/span><span class=\"NormalTextRun SCXW219562162 BCX8\" data-ccp-parastyle=\"heading 1\">that are <\/span><span class=\"NormalTextRun SCXW219562162 BCX8\" data-ccp-parastyle=\"heading 1\">using <\/span><span class=\"NormalTextRun SCXW219562162 BCX8\" data-ccp-parastyle=\"heading 1\">Exchange Online <\/span><span class=\"NormalTextRun SCXW219562162 BCX8\" data-ccp-parastyle=\"heading 1\">legacy <\/span><span class=\"NormalTextRun SCXW219562162 BCX8\" data-ccp-parastyle=\"heading 1\">tokens<\/span><\/h2>\n<p><span data-contrast=\"auto\">We published a list of all Outlook add-ins published to the Microsoft store that use legacy tokens. For more information on how to use the list and build a report of Outlook add-ins that are potentially using legacy tokens, see <a id=\"menur3n4\" class=\"fui-Link ___1q1shib f2hkw1w f3rmtva f1ewtqcl fyind8e f1k6fduh f1w7gpdv fk6fouc fjoy568 figsok6 f1s184ao f1mk8lai fnbmjn9 f1o700av f13mvf36 f1cmlufx f9n3di6 f1ids18y f1tx3yz7 f1deo86v f1eh06m1 f1iescvh fhgqx19 f1olyrje f1p93eir f1nev41a f1h8hb77 f1lqvz6u f10aw75t fsle3fq f17ae5zn\" title=\"https:\/\/github.com\/officedev\/office-js\/tree\/release\/add-in-ids\" href=\"https:\/\/github.com\/OfficeDev\/office-js\/tree\/release\/add-in-ids\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"Link Find Outlook add-ins that use legacy Exchange Online tokens\">Find Outlook add-ins that use legacy Exchange Online tokens<\/a>.<\/span><\/p>\n<p><span data-contrast=\"auto\">If you have any deployed add-ins that are listed in the <a href=\"https:\/\/github.com\/OfficeDev\/office-js\/blob\/release\/add-in-ids\/add-ins-using-exchange-tokens.xlsx\">add-ins-using-exchange-tokens spreadsheet<\/a>, we recommend you contact the publisher as soon as possible to confirm they have a plan and a timeline for moving off legacy tokens. Otherwise, when legacy tokens are eventually turned off starting February 2025, those add-ins will break.<\/span><\/p>\n<h2><span class=\"TextRun SCXW193100613 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW193100613 BCX8\" data-ccp-parastyle=\"heading 1\">Add-ins that <\/span><span class=\"NormalTextRun SCXW193100613 BCX8\" data-ccp-parastyle=\"heading 1\">are<\/span><span class=\"NormalTextRun SCXW193100613 BCX8\" data-ccp-parastyle=\"heading 1\"> already <\/span><span class=\"NormalTextRun SCXW193100613 BCX8\" data-ccp-parastyle=\"heading 1\">updated<\/span><\/span><span class=\"EOP SCXW193100613 BCX8\" data-ccp-props=\"{&quot;134245418&quot;:true,&quot;134245529&quot;:true,&quot;335559738&quot;:360,&quot;335559739&quot;:80}\">\u00a0<\/span><\/h2>\n<p><span class=\"TextRun SCXW210310023 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW210310023 BCX8\">Some publishers have already updated their add-ins <\/span><span class=\"NormalTextRun SCXW210310023 BCX8\">and <\/span><span class=\"NormalTextRun SCXW210310023 BCX8\">no longer use legacy tokens. To see a list of publishers who have updated their add-ins, see the section <a href=\"https:\/\/learn.microsoft.com\/office\/dev\/add-ins\/outlook\/faq-nested-app-auth-outlook-legacy-tokens#is-there-a-list-of-publishers-that-have-updated-their-add-ins\">Is there a list of publishers with updated add-ins?<\/a> on our legacy tokens deprecation FAQ. <\/span><span class=\"NormalTextRun SCXW210310023 BCX8\">As more publishers update their add-ins<\/span><span class=\"NormalTextRun SCXW210310023 BCX8\">, <\/span><span class=\"NormalTextRun SCXW210310023 BCX8\">we\u2019ll<\/span><span class=\"NormalTextRun SCXW210310023 BCX8\"> add t<\/span><span class=\"NormalTextRun SCXW210310023 BCX8\">hem to the<\/span><span class=\"NormalTextRun SCXW210310023 BCX8\"> list.<\/span><\/span><\/p>\n<h3>See also<\/h3>\n<p><a href=\"https:\/\/learn.microsoft.com\/en-us\/office\/dev\/add-ins\/outlook\/faq-nested-app-auth-outlook-legacy-tokens\">Nested app authentication and Outlook legacy tokens deprecation FAQ<\/a><\/p>\n<p><span class=\"EOP SCXW210310023 BCX8\" data-ccp-props=\"{}\">\u00a0<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Earlier this year, the Office Platform Team announced that Exchange Online legacy tokens are deprecated and will be turned off. This is part of Microsoft\u2019s Secure Future Initiative (SFI) to give organizations the tools they need in the current threat landscape. We\u2019ll begin turning off legacy tokens in February 2025. Publishers and developers are actively migrating their Outlook add-ins to use Entra ID tokens through nested app authentication (NAA) and Microsoft Graph instead of legacy tokens.\u00a0<\/p>\n","protected":false},"author":90983,"featured_media":23532,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1,11],"tags":[348,385,373,12],"class_list":["post-23504","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-microsoft-365-developer","category-office-add-ins","tag-exchange-online","tag-legacy-tokens","tag-naa","tag-outlook"],"acf":[],"blog_post_summary":"<p>Earlier this year, the Office Platform Team announced that Exchange Online legacy tokens are deprecated and will be turned off. This is part of Microsoft\u2019s Secure Future Initiative (SFI) to give organizations the tools they need in the current threat landscape. We\u2019ll begin turning off legacy tokens in February 2025. Publishers and developers are actively migrating their Outlook add-ins to use Entra ID tokens through nested app authentication (NAA) and Microsoft Graph instead of legacy tokens.\u00a0<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/23504","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\/90983"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/comments?post=23504"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/23504\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media\/23532"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media?parent=23504"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/categories?post=23504"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/tags?post=23504"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}