Skip to content

Commit 36d6675

Browse files
[Outlook](Exchange tokens) Updates on tooling to turn tokens on or off (#4945)
* fix typo * updates for exchange token tooling * Apply suggestions from code review Co-authored-by: Sam Ramon <[email protected]> --------- Co-authored-by: Sam Ramon <[email protected]>
1 parent b6c233a commit 36d6675

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

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

Lines changed: 3 additions & 5 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: 12/10/2024
7+
ms.date: 12/12/2024
88
---
99

1010
# Nested app authentication and Outlook legacy tokens deprecation FAQ
@@ -42,11 +42,9 @@ The general availability (GA) date for NAA depends on which channel you are usin
4242

4343
### Can I turn Exchange Online legacy tokens back on?
4444

45-
Yes, there are PowerShell commands you can use to turn legacy tokens on or off. Currently the commands are only intended for use in test tenants and testing Outlook add-ins. Don't use them in production tenants or you'll see side effects. We'll update the commands soon so that they can be used in production tenants as well. We'll update this FAQ with additional information once the commands can be used in production tenants.
45+
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).
4646

47-
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).
48-
49-
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 tool is available
47+
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 tool is available.
5048

5149
### How does the admin consent flow work?
5250

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

Lines changed: 8 additions & 5 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: 11/26/2024
7+
ms.date: 12/12/2024
88
---
99

1010
# Turn legacy Exchange Online tokens on or off
@@ -13,9 +13,6 @@ Legacy Exchange Online tokens are deprecated and will begin being turned off acr
1313

1414
For more information about deprecation of legacy Exchange Online tokens, see [Nested app authentication and Outlook legacy tokens deprecation FAQ](https://aka.ms/NAAFAQ).
1515

16-
> [!WARNING]
17-
> Only use the commands in this article on a test tenant for testing your Outlook add-ins. Don't use these commands on a production tenant. They can affect some essential Outlook services that can cause issues for users.
18-
1916
## Connect to Exchange Online PowerShell
2017

2118
To run the commands you need to connect to Exchange Online PowerShell.
@@ -41,9 +38,15 @@ To turn legacy tokens on, run the following command. It can take up to 24 hours
4138

4239
`Set-AuthenticationPolicy –AllowLegacyExchangeTokens -Identity "LegacyExchangeTokens"`
4340

44-
You’ll only be able to turn on 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).
41+
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).
42+
43+
> [!NOTE]
44+
> It might take up to 24 hours for the change to take effect across your entire organization. Legacy Exchange tokens issued to Outlook add-ins before token blocking was implemented in your organization will remain valid until they expire.
4545
4646
## See also
4747

4848
- [Nested app authentication and Outlook legacy tokens deprecation FAQ](https://aka.ms/NAAFAQ)
4949
- [Enable SSO in an Office Add-in using nested app authentication](../develop/enable-nested-app-authentication-in-your-add-in.md)
50+
- [Set-AuthenticationPolicy](/powershell/module/exchange/set-authenticationpolicy)
51+
- [Remove-AuthenticationPolicy](/powershell/module/exchange/remove-authenticationpolicy)
52+
- [Get-AuthenticationPolicy](/powershell/module/exchange/get-authenticationpolicy)

0 commit comments

Comments
 (0)