Skip to content

Commit 3bca253

Browse files
Merge pull request #13213 from MicrosoftDocs/main
[AutoPublish] main to live - 10/30 13:32 PDT | 10/31 02:02 IST
2 parents 3136bb0 + 7ba9702 commit 3bca253

File tree

3 files changed

+4
-43
lines changed

3 files changed

+4
-43
lines changed

exchange/exchange-ps/ExchangePowerShell/Get-AuthenticationPolicy.md

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,6 @@ Get-AuthenticationPolicy -Identity "Engineering Group"
4646

4747
This example returns detailed information for the authentication policy named Engineering Group.
4848

49-
### Example 3
50-
```powershell
51-
Get-AuthenticationPolicy -AllowLegacyExchangeTokens
52-
```
53-
54-
In Exchange Online, this example specifies whether legacy Exchange tokens for Outlook add-ins are allowed in the organization.
55-
5649
## PARAMETERS
5750

5851
### -Identity
@@ -87,10 +80,7 @@ The AllowLegacyExchangeTokens switch specifies whether legacy Exchange tokens ar
8780
8881
Legacy Exchange tokens include Exchange user identity and callback tokens.
8982
90-
**Important**:
91-
92-
- Legacy Exchange Online tokens will be turned off for all organizations from August 2025 through September 2025. Once turned off, you can't use the _AllowLegacyExchangeTokens_ switch on the **Set-AuthenticationPolicy** cmdlet to turn on these tokens. You get the warning "Legacy Exchange Online tokens are disabled" when you run the command `Get-AuthenticationPolicy -AllowLegacyExchangeTokens`. You can [contact Microsoft Support to request an exception](https://aka.ms/LegacyTokensByOctober). For more information, see [Nested app authentication and Outlook legacy tokens deprecation FAQ](https://learn.microsoft.com/office/dev/add-ins/outlook/faq-nested-app-auth-outlook-legacy-tokens).
93-
- The AllowLegacyExchangeTokens switch returns `Not Set` if tokens haven't been explicitly allowed or blocked in your organization using the _AllowLegacyExchangeTokens_ or _BlockLegacyExchangeTokens_ parameters on the **Set-AuthenticationPolicy** cmdlet. For more information, see [Get the status of legacy Exchange Online tokens and add-ins that use them](https://learn.microsoft.com/office/dev/add-ins/outlook/turn-exchange-tokens-on-off#get-the-status-of-legacy-exchange-online-tokens-and-add-ins-that-use-them).
83+
**Important**: Legacy Exchange Online tokens are turned off for all organizations. Exemptions are no longer allowed.
9484
9585
```yaml
9686
Type: SwitchParameter

exchange/exchange-ps/ExchangePowerShell/Remove-AuthenticationPolicy.md

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,6 @@ Remove-AuthenticationPolicy -Identity "Engineering Group"
4242

4343
This example removes the authentication policy named "Engineering Group".
4444

45-
### Example 2
46-
```powershell
47-
Remove-AuthenticationPolicy -Identity "LegacyExchangeTokens" -AllowLegacyExchangeTokens
48-
```
49-
50-
In Exchange Online, this example enables legacy Exchange tokens to be issued to Outlook add-ins. This switch applies to the entire organization. The Identity parameter is required, and its value must be set to "LegacyExchangeTokens". Specific authentication policies can't be applied.
51-
5245
## PARAMETERS
5346

5447
### -Identity
@@ -85,12 +78,7 @@ Legacy Exchange tokens include Exchange user identity and callback tokens.
8578
8679
This switch applies to the entire organization. The Identity parameter is required, and its value must be set to "LegacyExchangeTokens". Specific authentication policies can't be applied.
8780
88-
**Important**:
89-
90-
- Legacy Exchange Online tokens will be turned off for all organizations from August 2025 through September 2025. Once turned off, you can't use the _AllowLegacyExchangeTokens_ switch on the **Set-AuthenticationPolicy** cmdlet to turn on these tokens. You get the warning "Legacy Exchange Online tokens are disabled" when you run the command `Get-AuthenticationPolicy -AllowLegacyExchangeTokens`. You can [contact Microsoft Support to request an exception](https://aka.ms/LegacyTokensByOctober). For more information, see [Nested app authentication and Outlook legacy tokens deprecation FAQ](https://learn.microsoft.com/office/dev/add-ins/outlook/faq-nested-app-auth-outlook-legacy-tokens).
91-
- Apart from the Identity parameter, this switch disregards other authentication policy parameters used in the same command. We recommend running separate commands for other authentication policy changes.
92-
- It might take up to 24 hours for the change to take effect across your entire organization.
93-
- Legacy Exchange tokens issued to Outlook add-ins before token blocking was implemented in your organization will remain valid until they expire.
81+
**Important**: Legacy Exchange Online tokens are turned off for all organizations. Exemptions are no longer allowed.
9482
9583
```yaml
9684
Type: SwitchParameter

exchange/exchange-ps/ExchangePowerShell/Set-AuthenticationPolicy.md

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,6 @@ Set-AuthenticationPolicy -Identity "Research and Development Group" -BlockLegacy
7878

7979
In Exchange 2019, this example re-enables Basic authentication for Exchange Reporting Web Services in the authentication policy named Research and Development Group.
8080

81-
### Example 3
82-
```powershell
83-
Set-AuthenticationPolicy -Identity "LegacyExchangeTokens" -BlockLegacyExchangeTokens
84-
```
85-
86-
In Exchange Online, this example blocks legacy Exchange tokens from being issued to Outlook add-ins. The switch applies to the entire organization, and the Identity parameter must be set to the value "LegacyExchangeTokens". Specific authentication policies can't be applied.
87-
8881
## PARAMETERS
8982

9083
### -Identity
@@ -397,11 +390,7 @@ Legacy Exchange tokens include Exchange user identity and callback tokens.
397390

398391
The switch applies to the entire organization. The Identity parameter is required and must be set to the value "LegacyExchangeTokens". Specific authentication policies can't be applied.
399392

400-
**Important**:
401-
402-
- Legacy Exchange Online tokens will be turned off for all organizations from August 2025 through September 2025. Once turned off, you can't use the _AllowLegacyExchangeTokens_ switch on the **Set-AuthenticationPolicy** cmdlet to turn on these tokens. You get the warning "Legacy Exchange Online tokens are disabled" when you run the command `Get-AuthenticationPolicy -AllowLegacyExchangeTokens`. You can [contact Microsoft Support to request an exception](https://aka.ms/LegacyTokensByOctober). For more information, see [Nested app authentication and Outlook legacy tokens deprecation FAQ](https://learn.microsoft.com/office/dev/add-ins/outlook/faq-nested-app-auth-outlook-legacy-tokens).
403-
- Apart from the Identity parameter, this switch disregards other authentication policy parameters used in the same command. We recommend running separate commands for other authentication policy changes.
404-
- It might take up to 24 hours for the change to take effect across your entire organization.
393+
**Important**: Legacy Exchange Online tokens are turned off for all organizations. Exemptions are no longer allowed.
405394

406395
```yaml
407396
Type: SwitchParameter
@@ -611,13 +600,7 @@ Legacy Exchange tokens include Exchange user identity and callback tokens.
611600

612601
The switch applies to the entire organization. The Identity parameter is required and must be set to the value "LegacyExchangeTokens". Specific authentication policies can't be applied.
613602

614-
**Important**:
615-
616-
- Legacy Exchange Online tokens will be turned off for all organizations from August 2025 through September 2025. Once turned off, you can't use the _AllowLegacyExchangeTokens_ switch on the **Set-AuthenticationPolicy** cmdlet to turn on these tokens. You get the warning "Legacy Exchange Online tokens are disabled" when you run the command `Get-AuthenticationPolicy -AllowLegacyExchangeTokens`. You can [contact Microsoft Support to request an exception](https://aka.ms/LegacyTokensByOctober). For more information, see [Nested app authentication and Outlook legacy tokens deprecation FAQ](https://learn.microsoft.com/office/dev/add-ins/outlook/faq-nested-app-auth-outlook-legacy-tokens).
617-
- Apart from the Identity parameter, this switch disregards other authentication policy parameters used in the same command. We recommend running separate commands for other authentication policy changes.
618-
- It might take up to 24 hours for the change to take effect across your entire organization.
619-
- Legacy Exchange tokens issued to Outlook add-ins before token blocking was implemented in your organization remain valid until they expire.
620-
- Blocking legacy Exchange tokens might cause some Microsoft add-ins to stop working. These add-ins are being updated to no longer use legacy tokens.
603+
**Important**: Legacy Exchange Online tokens are turned off for all organizations. Exemptions are no longer allowed.
621604

622605
```yaml
623606
Type: SwitchParameter

0 commit comments

Comments
 (0)