Skip to content

Commit 14ad0dc

Browse files
authored
Merge pull request #5074 from OfficeDev/main
[Admin] Publish
2 parents bc00df3 + a323945 commit 14ad0dc

File tree

2 files changed

+33
-6
lines changed

2 files changed

+33
-6
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ 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: 02/21/2025
7+
ms.date: 02/27/2025
88
---
99

1010
# Nested app authentication and Outlook legacy tokens deprecation FAQ
@@ -92,7 +92,9 @@ If the add-in is deployed from Microsoft AppSource, most likely you'll be prompt
9292

9393
### Which add-ins in my organization are impacted?
9494

95-
We published a list of all Outlook add-ins published to the Microsoft store that use legacy tokens as of October 2024. For more information on how to use the list and build a report of Outlook add-ins that are potentially using legacy tokens, see [Find Outlook add-ins that use legacy Exchange Online tokens](https://github.com/OfficeDev/office-js/tree/release/add-in-ids). Also we're working on report tooling to make tracking add-ins using legacy tokens easier. We hope to have the report tooling available in early 2025.
95+
You can get a list of all add-ins that requested legacy Exchange Online tokens in the last seven days by using the `Get-AuthenticationPolicy -AllowLegacyExchangeTokens` command. For more information, see [Turn legacy Exchange Online tokens on or off](turn-exchange-tokens-on-off.md).
96+
97+
Additionally, we published a list of all Outlook add-ins published to the Microsoft store that use legacy tokens as of October 2024. For more information on how to use the list and build a report of Outlook add-ins that are potentially using legacy tokens, see [Find Outlook add-ins that use legacy Exchange Online tokens](https://github.com/OfficeDev/office-js/tree/release/add-in-ids).
9698

9799
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.
98100

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

Lines changed: 29 additions & 4 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: 02/07/2025
7+
ms.date: 02/27/2025
88
---
99

1010
# Turn legacy Exchange Online tokens on or off
@@ -48,7 +48,7 @@ Important notes about this command.
4848
- You’ll only be able to turn tokens back on until June 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).
4949
- 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.
5050

51-
## Get the status of legacy Exchange Online tokens
51+
## Get the status of legacy Exchange Online tokens and add-ins that use them
5252

5353
To view the status of legacy Exchange Online tokens, run the following command.
5454

@@ -64,10 +64,35 @@ Blocked: []
6464
PS C:\>
6565
```
6666

67+
We are deploying an update that enables a report of which add-ins requested an Exchange token in the last seven days, and whether the request was allowed or blocked. If your tenant has this update, you'll see a list of requests displayed in the **Allowed** or **Blocked** list. If an add-in was granted the token request, it appears in the **Allowed** list along with the date of the request. If the token request was denied, it appears in the **Blocked** list. It's possible for the same add-in to appear in both lists. This happens if the add-in was allowed to get tokens, but then tokens were turned off. The following example shows an add-in was blocked when it requested a token on February 25th.
68+
69+
```console
70+
PS C:\> Get-AuthenticationPolicy -AllowLegacyExchangeTokens
71+
AllowLegacyExchangeTokens: False
72+
Allowed: []
73+
Blocked:
74+
[
75+
{ "49d3b812-abda-45b9-b478-9bc464ce5b9c" : "2025-02-25" }
76+
]
77+
PS C:\>
78+
```
79+
80+
To identify any add-ins that were allowed or blocked Exchange tokens, use the `Get-App` command as shown in the following example.
81+
82+
```console
83+
PS C:\> Get-App -Identity 49d3b812-abda-45b9-b478-9bc464ce5b9c | Select-Object -Property DisplayName, AppVersion, MarketplaceAssetID, ProviderName
84+
85+
DisplayName AppVersion MarketplaceAssetID ProviderName
86+
----------- ---------- ------------------ ------------
87+
Script Lab for Outlook 4.0.0.0 WA200001603 Microsoft
88+
```
89+
90+
The previous Script Lab example uses the **Get a user identity token** sample and the `getUserIdentityTokenAsync` function to make the request.
91+
6792
> [!NOTE]
68-
> The previous 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.
93+
> 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.
6994
70-
This 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.
95+
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.
7196

7297
| Legacy token admin setting | Legacy token behavior before February change | Legacy token behavior after February change | Legacy token behavior after June change |
7398
|----------|------------|-------------|------------|

0 commit comments

Comments
 (0)