en-US

BlockLegacyExchangeTokens

Parameter of AuthenticationPolicy

Applies to : Exchange Online, Built-in security add-on for on-premises mailboxes

Description

This parameter is available only in the cloud-based service.

The BlockLegacyExchangeTokens switch specifies to block legacy Exchange tokens being issued to Outlook add-ins. You don't need to specify a value with this switch.

Legacy Exchange tokens include Exchange user identity and callback tokens.

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.

Important: Legacy Exchange Online tokens are turned off for all organizations. Exemptions are no longer allowed.

Microsoft Learn documentation

Characteristics

Type
SwitchParameter
Default value
False
Parameter sets
(All)

Apply

This value type (SwitchParameter) must be built by hand: see the examples on the policy page and the Microsoft documentation.