You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Outlook](legacy tokens) Update FAQ now that all legacy tokens off (#5397)
* Update for all tokens off
* Apply suggestions from code review
Co-authored-by: Linda Cannon <lindalu@microsoft.com>
---------
Co-authored-by: Linda Cannon <lindalu@microsoft.com>
Copy file name to clipboardExpand all lines: docs/outlook/faq-nested-app-auth-outlook-legacy-tokens.md
+8-78Lines changed: 8 additions & 78 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,12 +4,12 @@ description: Nested app authentication and Outlook legacy tokens deprecation FAQ
4
4
ms.service: microsoft-365
5
5
ms.subservice: add-ins
6
6
ms.topic: faq
7
-
ms.date: 07/28/2025
7
+
ms.date: 10/01/2025
8
8
---
9
9
10
10
# Nested app authentication and Outlook legacy tokens deprecation FAQ
11
11
12
-
Exchange [user identity tokens](authentication.md#exchange-user-identity-token) and [callback tokens](authentication.md#callback-tokens) are deprecated and will be completely turned off by August 2025. We recommend moving Outlook add-ins that use legacy Exchange tokens to nested app authentication.
12
+
Legacy Exchange Online [user identity tokens](authentication.md#exchange-user-identity-token) and [callback tokens](authentication.md#callback-tokens) are deprecated and are turned off across all Microsoft 365 tenants. If an Outlook add-in requires delegated user access or user identity, we recommend using MSAL (Microsoft Authentication Library) and nested app authentication.
13
13
14
14
## General FAQ
15
15
@@ -19,36 +19,22 @@ Nested app authentication enables single sign-on (SSO) for applications nested i
19
19
20
20
### What is the timeline for shutting down legacy Exchange online tokens?
21
21
22
-
Legacy Exchange online tokens have already been turned off for most tenants. We've provided tooling for administrators to reenable Exchange tokens for tenants and add-ins if those add-ins aren't yet migrated to NAA. For more information, see [Can I turn legacy tokens back on?](#can-i-turn-exchange-online-legacy-tokens-back-on).
| Now | Legacy tokens turned off for most tenants. Admins can reenable legacy tokens via PowerShell. |
27
-
| August 1 2025 - September 2025 | Legacy tokens are turned off for all tenants. This process will take several weeks to complete. Admins can no longer reenable legacy tokens via PowerShell. Admins can request an exception through Microsoft Support at [https://aka.ms/LegacyTokensByOctober](https://aka.ms/LegacyTokensByOctober) (this link requires you to sign in to your tenant). |
28
-
| October 2025 | Legacy tokens turned off for all tenants. Exceptions are no longer allowed. |
22
+
Legacy Exchange Online tokens are turned off. If you're an admin for a tenant and were granted an exemption from Microsoft for your tenant, most of this FAQ will still apply to you. All exemptions end on October 31st, 2025. **No more exemptions are allowed**.
29
23
30
24
### When is NAA generally available for my channel?
31
25
32
-
The general availability (GA) date for NAA depends on which channel you are using.
26
+
The general availability (GA) date for NAA depends on which channel you're using. The following table lists build and GA information for Outlook.
33
27
34
-
| Date | NAA General Availability (GA) |
28
+
| Date | NAA General Availability (GA) for Outlook |
| November 2024 | NAA is GA in Monthly Enterprise Channel. |
38
32
| January 2025 | NAA is GA in Semi-Annual Channel Version 2408 (Build 17928.20392). |
39
33
| June 2025 | NAA is GA in Semi-Annual Extended Channel Version 2408 (Build 17928.20604). |
40
34
41
-
### How do I handle legacy tokens turned off in Semi-Annual Extended Channel, which doesn't support NAA yet?
42
-
43
-
Semi-Annual Extended Channel version 2402 doesn't support NAA. To avoid any service interruption to Outlook add-ins on your tenant, we recommend you upgrade to Semi-Annual Extended Channel version 2408. This version is available as of July 8, 2025.
44
-
45
-
From **now through August 1 2025** we recommend administrators on Semi-Annual Extended Channel **upgrade to version 2408**. Administrators can [request an exception](https://aka.ms/LegacyTokensByOctober) through Microsoft Support if they need more time.
46
-
47
-
We also recommend to check if your tenant is using any add-ins that require legacy Exchange Online tokens. For more information, see [Find Outlook add-ins that use legacy Exchange Online tokens](https://github.com/OfficeDev/office-js/tree/release/add-in-ids).
48
-
49
35
### Are COM Add-ins affected by the deprecation of legacy Exchange Online tokens?
50
36
51
-
It's very unlikely any COM add-ins are affected by the deprecation of legacy Exchange Online tokens. Outlook web add-ins are primarily affected because they can use Office.js APIs that rely on Exchange tokens. For more information, see [How do i know if my outlook addin relies on legacy tokens](#how-do-i-know-if-my-outlook-add-in-relies-on-legacy-tokens). The Exchange tokens are used to access Exchange Web Services (EWS) or Outlook REST APIs, both of which are also deprecated. If you suspect a COM add-in might be affected, you can test it by using it on a tenant with Exchange tokens turned off. For more information, see [Turn legacy Exchange Online tokens on or off](turn-exchange-tokens-on-off.md).
37
+
It's very unlikely any COM add-ins are affected by the deprecation of legacy Exchange Online tokens. Outlook web add-ins are primarily affected because they can use Office.js APIs that rely on Exchange tokens. For more information, see [How do I know if my Outlook add-in relies on legacy tokens?](#how-do-i-know-if-my-outlook-add-in-relies-on-legacy-tokens). The Exchange tokens are used to access Exchange Web Services (EWS) or Outlook REST APIs, both of which are also deprecated.
52
38
53
39
## Microsoft 365 administrator questions
54
40
@@ -89,13 +75,6 @@ The following screenshot shows an example of using the ID to get the XML manifes
89
75
90
76
:::image type="content" source="../images/get-app-cmdlet-bing-maps-manifestxml.png" alt-text="Screenshot of running the Get-App command in PowerShell to get the ManifestXml of Bing Maps":::
91
77
92
-
> [!NOTE]
93
-
> Outlook add-ins you deployed from Microsoft AppSource can be identified using a list that we published. No testing is necessary. For more information, see [How do I identify add-ins published to Microsoft AppSource](#how-do-i-identify-add-ins-published-to-microsoft-appsource).
94
-
95
-
### How do I identify add-ins published to Microsoft AppSource
96
-
97
-
We posted a list of all Outlook add-ins published to the Microsoft AppSource that use legacy tokens as of April 2025. For more information on how to use the list and build a report of Outlook add-ins that potentially use legacy tokens, see [Find Outlook add-ins that use legacy Exchange Online tokens](https://github.com/OfficeDev/office-js/tree/release/add-in-ids).
98
-
99
78
### How would ISVs know their add-in is using legacy tokens?
100
79
101
80
Add-ins may use the legacy tokens to get resources from Exchange through the EWS or Outlook REST APIs. Sometimes an add-in requires Exchange resources for some use cases and not others, making it difficult to figure out whether the add-in requires an update. We recommend reaching out to add-in developers and owners to ask them if their add-in code references the following APIs.
@@ -108,7 +87,7 @@ If you rely on an ISV for your add-in, we recommend you contact them as soon as
108
87
109
88
### What do I do for add-ins I can't identify?
110
89
111
-
It's possible after running `Get-AuthenticationPolicy` there could be some custom add-ins that you can't identify the owner. For those add-ins you may need to perform a scream test. We recommend that administrators perform a scream test before August 2025 to determine if there are any remaining add-ins that will break when legacy tokens are turned off in August. This will give you time to reach out to publishers of any affected add-ins to address breaking issues before the August deadline.
90
+
If you come across add-ins you can’t identify after running `Get-AuthenticationPolicy`, try performing a scream testto determine ownership.
112
91
113
92
> [!NOTE]
114
93
> You only need to perform the scream test if you turned legacy Exchange Online tokens on by using the `Set-AuthenticationPolicy` command. If you haven't run this command, then Exchange Online tokens should already be off by default.
@@ -137,9 +116,7 @@ Use the following steps to perform the test.
137
116
138
117
### Can I turn Exchange Online legacy tokens back on?
139
118
140
-
Yes, there are PowerShell commands you can use to turn legacy tokens on or off in any tenant. For more information on how to turn legacy tokens on or off, see [Turn legacy Exchange Online tokens on or off](turn-exchange-tokens-on-off.md).
141
-
142
-
In August 2025, legacy tokens will be turned off and you won't be able to turn them back on. Admins can request an exception through Microsoft Support at [https://aka.ms/LegacyTokensByOctober](https://aka.ms/LegacyTokensByOctober) (this link requires you to sign in to your tenant). In October 2025, it won't be possible to turn on legacy tokens and they'll be disabled for all tenants.
119
+
You can only turn legacy tokens on if you were granted an exemption from Microsoft. For more information on how to turn legacy tokens on or off, see [Turn legacy Exchange Online tokens on or off](turn-exchange-tokens-on-off.md). All exemptions end on October 31st, 2025. **No more exemptions are allowed**.
143
120
144
121
### How does the admin consent flow work?
145
122
@@ -203,53 +180,6 @@ Some widely used Outlook add-in publishers have already updated their add-ins as
203
180
204
181
If the publisher updated their manifest, and the add-in is deployed through the Microsoft store, you'll be prompted as an administrator to upgrade and deploy the updates. If the publisher updated their manifest, and the add-in is deployed through central deployment, you'll need to deploy the new manifest as an administrator. In some cases the publisher may have an admin consent URI you need to use to consent to new scopes for the add-in. Reach out to publishers if you need more information about updating an add-in.
205
182
206
-
### Some add-ins are breaking. Can I tell if this is because Exchange tokens were turned off?
207
-
208
-
If you notice that an add-in has issues and suspect it may be affected by Exchange tokens turned off, please take the following actions.
209
-
210
-
#### Check the list of known add-ins
211
-
212
-
We posted a list of add-ins that were known to be using legacy Exchange tokens as of October 2024. If an add-in is on this list, you should reach out to the publisher to see if there are updates available. For more information, see [Find Outlook add-ins that use legacy Exchange Online tokens](https://github.com/OfficeDev/office-js/tree/release/add-in-ids)
213
-
214
-
#### Check if tokens are off by using Script Lab
215
-
216
-
Check if legacy Exchange Online tokens are off for a user by using the Script Lab add-in.
217
-
218
-
1. Install [Script Lab for Outlook](https://appsource.microsoft.com/en-us/product/office/WA200001603).
219
-
1. Sign in to Outlook with the user account/mailbox that is affected. Exchange tokens can be off for one user, but not another until the rollout is complete.
220
-
1. From an existing or new email, open Script Lab from the **Apps** menu, and choose **Code** from the Script Lab menu.
221
-
222
-

223
-
224
-
1. In the Script Lab task pane, select the backstage icon (it has three lines).
225
-
226
-

227
-
228
-
1. Select **Samples** and then search for the **Get a user identity token** sample. Select this sample to open it in the code editor.
229
-
230
-

231
-
232
-
1. After the code for the sample is loaded, select **Run** > **Run in this pane**.
233
-
234
-

235
-
236
-
1. After the code runs, select **Get token**.
237
-
238
-
If legacy Exchange Online tokens are on, you'll see a token displayed in the console as a Base64-encoded string.
239
-
240
-

241
-
242
-
If legacy Exchange Online tokens are off, you'll see an error displayed in the console as shown below.
243
-
244
-

245
-
246
-
The actual error and code can vary, but often you will see error code 9017 or 9018 along with the following error descriptions.
247
-
248
-
-`GenericTokenError: An internal error has occurred.`
249
-
-`InternalServerError: The Exchange server returned an error. Please look at the diagnostics object for more information.`
250
-
251
-
If an add-in is affected by Exchange tokens turned off, you can turn them back on. For more information, see [Can I turn Exchange Online legacy tokens back on?](#can-i-turn-exchange-online-legacy-tokens-back-on).
252
-
253
183
## Outlook add-in migration FAQ
254
184
255
185
### Why is Microsoft making Outlook add-ins migrate?
Copy file name to clipboardExpand all lines: docs/outlook/turn-exchange-tokens-on-off.md
+6-11Lines changed: 6 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,12 +4,15 @@ description: Turn legacy Exchange Online tokens on or off
4
4
ms.service: microsoft-365
5
5
ms.subservice: add-ins
6
6
ms.topic: how-to
7
-
ms.date: 07/11/2025
7
+
ms.date: 10/01/2025
8
8
---
9
9
10
10
# Turn legacy Exchange Online tokens on or off
11
11
12
-
Legacy Exchange Online tokens are deprecated and will be turned off across Microsoft 365 tenants starting February 17th, 2025. If you're a developer migrating your Outlook add-in from legacy tokens to Entra ID tokens and nested app authentication, you'll need to test updates to your add-in. Use the Exchange Online PowerShell cmdlets to turn off legacy tokens in a test tenant to confirm that your updated Outlook add-in is working correctly.
12
+
Legacy Exchange Online tokens are deprecated and turned off across all Microsoft 365 tenants. If you were granted an exemption for your tenant from Microsoft, use the Exchange Online PowerShell cmdlets in this article to monitor if any add-ins are requesting legacy tokens. You can also use the cmdlets to turn off legacy tokens and confirm that your tenant is ready to move off of legacy tokens permanently. All exemptions end on October 31st, 2025. **No more exemptions are allowed**.
13
+
14
+
> [!IMPORTANT]
15
+
> If you don't have an exemption, the cmdlets don't work and return the following message instead: "WARNING: Legacy Exchange Online tokens are disabled. For more information, see <https://aka.ms/naafaq>."
13
16
14
17
For more information about deprecation of legacy Exchange Online tokens, see [Nested app authentication and Outlook legacy tokens deprecation FAQ](https://aka.ms/NAAFAQ).
15
18
@@ -44,8 +47,6 @@ To turn legacy tokens on, run the following command. It can take up to 24 hours
44
47
Important notes about this command.
45
48
46
49
- Legacy Exchange tokens issued to Outlook add-ins before token blocking was implemented in your organization will remain valid until they expire.
47
-
- If you turn on legacy Exchange Online tokens, then they won't be turned off in February 2025 when Microsoft turns them off for all tenants. For more information, see [Nested app authentication and Outlook legacy tokens deprecation FAQ](faq-nested-app-auth-outlook-legacy-tokens.md).
48
-
- You’ll only be able to turn tokens back on until August 2025 when all legacy tokens in all tenants will be forced off. For more information, see the [Nested app authentication and Outlook legacy tokens deprecation FAQ](https://aka.ms/NAAFAQ).
49
50
- Although the `-Identity` parameter is required, it doesn't affect any specific authentication policy. The command always applies to the entire organization regardless of what value you use. We show the value as `LegacyExchangeTokens` in the examples to keep the intent clear.
50
51
51
52
## Get the status of legacy Exchange Online tokens and add-ins that use them
@@ -88,13 +89,7 @@ If you have IDs listed in **Allowed** or **Blocked** that are requesting legacy
88
89
> [!NOTE]
89
90
> The `Get-AuthenticationPolicy -AllowLegacyExchangeTokens` command is the only way to view legacy token status. Other commands, such as `Get-AuthenticationPolicy | Format-Table -Auto Name`, don't return the legacy token status.
90
91
91
-
The `Get-AuthenticationPolicy` command only shows the legacy token status as set by the administrator. If the administrator has never changed the settings, the command returns `(Not Set)`. If the token status is `(Not Set)` when the February deployment by Microsoft to turn off legacy tokens is implemented, the token status will still be `(Not Set)` even though legacy tokens are off. The following table shows the behavior of legacy Exchange Online tokens based on the token status when the change is applied.
92
-
93
-
| Legacy token admin setting | Legacy token behavior before February change | Legacy token behavior after February change | Legacy token behavior after August change |
|(Not Set) | Tokens on | Tokens off | Tokens off |
96
-
|False | Tokens off | Tokens off | Tokens off |
97
-
|True | Tokens on | Tokens on | Tokens off |
92
+
The `Get-AuthenticationPolicy` command only shows the legacy token status as set by the administrator. If the administrator has never changed the settings, the command returns `(Not Set)`. If your tenant had legacy tokens turned off by Microsoft, the command returns the message "WARNING: Legacy Exchange Online tokens are disabled. For more information, see <https://aka.ms/naafaq>."
0 commit comments