Skip to content

Commit 7c3c8d8

Browse files
authored
[Outlook](NAA) Add scream test information to FAQ (#5118)
* add information for scream test and other minor updates * add note about if you need to run scream test * minor fixes
1 parent cf2c5d0 commit 7c3c8d8

5 files changed

+80
-21
lines changed
26.7 KB
Loading
19.7 KB
Loading
28.1 KB
Loading

docs/outlook/faq-nested-app-auth-outlook-legacy-tokens.md

Lines changed: 77 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ description: Nested app authentication and Outlook legacy tokens deprecation FAQ
44
ms.service: microsoft-365
55
ms.subservice: add-ins
66
ms.topic: faq
7-
ms.date: 03/13/2025
7+
ms.date: 04/14/2025
88
---
99

1010
# Nested app authentication and Outlook legacy tokens deprecation FAQ
1111

12-
Exchange [user identity tokens](authentication.md#exchange-user-identity-token) and [callback tokens](authentication.md#callback-tokens) are deprecated and will be turned off starting February 17th, 2025. We recommend moving Outlook add-ins that use legacy Exchange tokens to nested app authentication.
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 June 2025. We recommend moving Outlook add-ins that use legacy Exchange tokens to nested app authentication.
1313

1414
## General FAQ
1515

@@ -19,20 +19,14 @@ Nested app authentication enables single sign-on (SSO) for applications nested i
1919

2020
### What is the timeline for shutting down legacy Exchange online tokens?
2121

22-
Microsoft begins turning off legacy Exchange online tokens starting February 17th 2025. From now until February 17th 2025, existing and new tenants will not be affected. 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. See [Can I turn legacy tokens back on?](#can-i-turn-exchange-online-legacy-tokens-back-on) for more information.
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).
2323

2424
| Date | Legacy tokens status |
2525
| -------- | ------------------------------------------------------ |
26-
| Feb 17th, 2025 | Legacy tokens turned off for all tenants. Admins can reenable legacy tokens via PowerShell. |
26+
| Now | Legacy tokens turned off for most tenants. Admins can reenable legacy tokens via PowerShell. |
2727
| Jun 2025 | Legacy tokens turned off for all tenants. Admins can no longer reenable legacy tokens via PowerShell and must contact Microsoft for any exception. |
2828
| Oct 2025 | Legacy tokens turned off for all tenants. Exceptions are no longer allowed. |
2929

30-
#### What happens on February 17th?
31-
32-
Microsoft will begin deploying a change to all users worldwide in Microsoft 365 tenants that will turn off the issuance of legacy Exchange online tokens. The deployment will take several weeks to deploy to all users. If an Outlook add-in requests a legacy Exchange token, and token issuance is turned off, the add-in will receive an error. Outlook add-ins that still request legacy Exchange Online tokens will be broken by this change. Please note that even after legacy tokens are turned off, legacy tokens previously issued will continue to be valid for up to an hour.
33-
34-
Note that since the change is applied per user, and deployed over several weeks, you could see some users affected while others are not. If you need to opt out of this change, see [Can I turn legacy tokens back on?](#can-i-turn-exchange-online-legacy-tokens-back-on)
35-
3630
### When is NAA generally available for my channel?
3731

3832
The general availability (GA) date for NAA depends on which channel you are using.
@@ -44,22 +38,91 @@ The general availability (GA) date for NAA depends on which channel you are usin
4438
| Jan 2025 | NAA is GA in Semi-Annual Channel build 16.0.17928.20392. |
4539
| Jun 2025 | NAA will GA in Semi-Annual Extended Channel. |
4640

47-
### How do I handled legacy tokens turned off in Semi-Annual Extended Channel, which doesn't support NAA yet?
41+
### How do I handle legacy tokens turned off in Semi-Annual Extended Channel, which doesn't support NAA yet?
4842

4943
Semi-Annual Extended Channel won't support NAA until June 2025. This means even if add-ins are updated to support NAA, and no longer use legacy Exchange Online tokens, they won't function on this channel. If you are using Semi-Annual Extended Channel as an administrator, we recommend the following.
5044

5145
- 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).
52-
- If you have deployed add-ins that require legacy Exchange Online tokens, and the add-ins are necessary for your organization, we recommend you turn on tokens now so that they are not turned off after February 17th, 2025. To turn tokens on, see [Turn legacy Exchange Online tokens on or off](turn-exchange-tokens-on-off.md).
46+
- If you have deployed add-ins that require legacy Exchange Online tokens, and the add-ins are necessary for your organization, we recommend you turn on tokens now so that they continue to function. To turn tokens on, see [Turn legacy Exchange Online tokens on or off](turn-exchange-tokens-on-off.md).
5347

5448
### Are COM Add-ins affected by the deprecation of legacy Exchange Online tokens?
5549

5650
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. 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).
5751

5852
## Microsoft 365 administrator questions
5953

54+
### How do I perform a scream test?
55+
56+
Legacy Exchange Online tokens will be turned off across all tenants in June 2025. We recommend that administrators perform a scream test as soon as possible to determine if there are any add-ins that could be broken by this change. This will give you time to reach out to publishers of any affected add-ins to address breaking issues before the June deadline.
57+
58+
> [!NOTE]
59+
> 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.
60+
61+
Before performing the scream test you may want to let your users know in advance, such as through email, that there will be a test to turn off legacy tokens and that it may affect some Outlook add-ins. You should consider providing users the following information.
62+
63+
- The expected time period of the test.
64+
- If there are known Outlook add-ins that will break, such as add-ins deployed from Microsoft AppSource that you’ve already identified.
65+
- That in general, Outlook add-ins shouldn’t break. However, if they do see issues, ask users to report the name, and description of the add-in, along with any error information observed.
66+
67+
Use the following steps to perform the test.
68+
69+
1. Run the following command to turn off legacy Exchange Online tokens on your tenant. For details on how to use this command, see [Turn legacy Exchange Online tokens on or off](turn-exchange-tokens-on-off.md).
70+
71+
`Set-AuthenticationPolicy –BlockLegacyExchangeTokens -Identity "LegacyExchangeTokens"`
72+
73+
1. Wait a suitable amount of time for users to report any issues with add-ins. It takes approximately 24 hours for the command to turn off legacy Exchange Online tokens for all users. It may take another day or two for users to report any issues with Outlook add-ins.
74+
1. Identify any affected Outlook add-ins. If users submit issues identifying breaking issues, be sure to get the name and description of the Outlook add-in affected. Also capture the error, or behavior so this information can be passed along to the publisher.
75+
1. If any business-critical add-ins are broken, turn tokens back on using the following command. For details on how to use this command, see [Turn legacy Exchange Online tokens on or off](turn-exchange-tokens-on-off.md).
76+
77+
`Set-AuthenticationPolicy –AllowLegacyExchangeTokens -Identity "LegacyExchangeTokens"`
78+
79+
It takes approximately 24 hours for tokens to turn back on for all users on the tenant.
80+
81+
1. If there are no reports of breaking issues, we recommend you leave legacy Exchange Online tokens off as a security best practice.
82+
83+
#### How to contact publishers
84+
85+
For any Outlook add-ins that break or have issues when tokens are off, you’ll need to reach out to the publishers to learn more about their plans to update. In some cases, the add-in may be developed by your own organization. You’ll need to reach out to the appropriate development team in your organization.
86+
87+
#### Commands to identify the publisher
88+
89+
There are some Exchange Online PowerShell commands you can use to track down additional information about Outlook add-ins.
90+
91+
To find a list of add-ins installed on a user’s computer, the user can run the following command.
92+
93+
`Get-App | Select-Object -Property ProviderName, DisplayName, AppId`
94+
95+
The following screenshot shows an example of running the `Get-App` command.
96+
97+
:::image type="content" source="../images/get-app-cmdlet-providername.png" alt-text="Screenshot of running the Get-App command in PowerShell with results for Microsoft Polls and Microsoft Send to OneNote.":::
98+
99+
The **ProviderName** will help you identify who published the add-in so that you can contact them. The **AppId** can be used to get additional details about the add-in.
100+
101+
> [!NOTE]
102+
> The `Get-App` command doesn’t show a complete list of all add-ins installed on the user’s computer. For example, sideloaded add-ins will not appear in this list. You may need to follow up with users in some cases to track down where the add-in came from.
103+
104+
To find information about an add-in by `AppId` use the following command.
105+
106+
`Get-App -Identity {identity} | Select-Object -Property ProviderName, DisplayName`
107+
108+
The following screenshot shows an example of using the ID of Bing Maps to get more information.
109+
110+
:::image type="content" source="../images/get-app-cmdlet-bing-maps.png" alt-text="Screenshot of running the Get-App command in PowerShell to get the ProviderName and DisplayName for Bing Maps.":::
111+
112+
You may also find additional information in the add-in's manifest file. The manifest contains URL endpoints which can also help you identify and contact the publisher. Use the following command to get the manifest.
113+
114+
`Get-App -Identity {identity} | Select-Object -Property ManifestXml`
115+
116+
The following screenshot shows an example of using the ID to get the XML manifest for Bing Maps.
117+
118+
:::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":::
119+
120+
> [!NOTE]
121+
> 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 [Which add-ins in my organization are impacted?](#which-add-ins-in-my-organization-are-impacted).
122+
60123
### Can I turn Exchange Online legacy tokens back on?
61124

62-
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). If you use the commands to enable legacy Exchange Online tokens, they will not be turned off in February 2025. They will remain on until June 2025, or until you use the tooling to turn them off.
125+
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).
63126

64127
In June 2025, legacy tokens will be turned off and you won't be able to turn them back on without a specific exception granted by Microsoft. In October 2025, it won't be possible to turn on legacy tokens and they'll be disabled for all tenants. We'll update this FAQ with additional information once the exception process is ready.
65128

@@ -102,9 +165,6 @@ Add-ins may use the legacy tokens to get resources from Exchange through the EWS
102165

103166
If you rely on an ISV for your add-in, we recommend you contact them as soon as possible to confirm they have a plan and a timeline for moving off of legacy Exchange tokens. ISV developers should reach out directly to their Microsoft contacts with questions to ensure they're ready for the end of Exchange legacy tokens. If you rely on a developer within your organization, they should review this FAQ and the article [Enable SSO in an Office Add-in using nested app authentication](../develop/enable-nested-app-authentication-in-your-add-in.md). Any questions should be raised on the [OfficeDev/office-js GitHub issues site](https://github.com/OfficeDev/office-js/issues).
104167

105-
> [!NOTE]
106-
> We've been working to provide a command update to [Exchange Online PowerShell](/powershell/exchange/connect-to-exchange-online-powershell) that reports any add-ins using legacy Exchange Online tokens. Unfortunately, we've had difficulties rolling out this update due to the complexities of capturing specific token usage in the Microsoft 365 ecosystem. We continue to work on this update and will provide new information in this FAQ when it is available.
107-
108168
### Where do I find which add-ins have consent?
109169

110170
Once the admin or a user consents, it will be listed in the Microsoft Entra admin center. You can find app registrations using the following steps.
@@ -141,9 +201,7 @@ If the publisher updated their manifest, and the add-in is deployed through the
141201

142202
### Some add-ins are breaking. Can I tell if this is because Exchange tokens were turned off?
143203

144-
Beginning February 17, 2025, Microsoft is rolling out an update to gradually turn off legacy Exchange Online tokens for all users. The update won't turn off Exchange tokens in your tenant if you already [turned legacy Exchange Online tokens on](turn-exchange-tokens-on-off.md).
145-
146-
If your tenant uses an add-in that still relies on Exchange tokens, the add-in will break or lose functionality. The update is rolled out **per user**. This means that one or more users may have an add-in affected when Exchange tokens are off, but other users would still have a working add-in. 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.
204+
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.
147205

148206
#### Check the list of known add-ins
149207

docs/outlook/turn-exchange-tokens-on-off.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Turn legacy Exchange Online tokens on or off
44
ms.service: microsoft-365
55
ms.subservice: add-ins
66
ms.topic: how-to
7-
ms.date: 03/11/2025
7+
ms.date: 04/11/2025
88
---
99

1010
# Turn legacy Exchange Online tokens on or off
@@ -64,7 +64,8 @@ Blocked: []
6464
PS C:\>
6565
```
6666

67-
We've been working to enable this command to report any add-ins using legacy Exchange Online tokens in the **Allowed** and **Blocked** lists. Unfortunately, we've had difficulties rolling out this update due to the complexities of capturing specific token usage in the Microsoft 365 ecosystem. We continue to work on this update and will provide new information in this article when it is available.
67+
68+
The **Allowed** and **Blocked** lists are not used.
6869

6970
> [!NOTE]
7071
> 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.

0 commit comments

Comments
 (0)