Skip to content

Commit 2e0cf6f

Browse files
committed
Add examples for Exchange token switches
1 parent b71b4ca commit 2e0cf6f

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,13 @@ Remove-AuthenticationPolicy -Identity "Engineering Group"
4141

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

44+
### Example 2
45+
```powershell
46+
Remove-AuthenticationPolicy -Identity "Legacy Exchange Tokens" -AllowLegacyExchangeTokens
47+
```
48+
49+
In Exchange Online, this example returns your organization to its previous state before legacy Exchange token issuance was allowed or blocked for Outlook add-ins. Since this switch applies to the entire organization, the authentication policy specified with the Identity parameter is ignored.
50+
4451
## PARAMETERS
4552

4653
### -Identity

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,13 @@ Set-AuthenticationPolicy -Identity "Research and Development Group" -BlockLegacy
7777

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

80+
### Example 3
81+
```powershell
82+
Set-AuthenticationPolicy -Identity "Legacy Exchange Tokens" -BlockLegacyExchangeTokens
83+
```
84+
85+
In Exchange Online, this example blocks legacy Exchange tokens from being issued to Outlook add-ins. Since this switch applies to the entire organization, the authentication policy specified with the Identity parameter is ignored.
86+
8087
## PARAMETERS
8188

8289
### -Identity

0 commit comments

Comments
 (0)