en-US

AuthenticationPolicy

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

This cmdlet is available in on-premises Exchange and in the cloud-based service. Some parameters and settings might be exclusive to one environment or the other.

Use the Set-AuthenticationPolicy cmdlet to modify authentication policies in your organization.

For information about the parameter sets in the Syntax section below, see Exchange cmdlet syntax.

You need to be assigned permissions before you can run this cmdlet. Although this article lists all parameters for the cmdlet, you might not have access to some parameters if they aren't included in the permissions assigned to you. To find the permissions required to run any cmdlet or parameter in your organization, see Find the permissions required to run any Exchange cmdlet.

Available cmdlets

Parameters

Name Type Default value Accepted values
AllowBasicAuthActiveSync SwitchParameter False
AllowBasicAuthAutodiscover SwitchParameter False
AllowBasicAuthImap SwitchParameter False
AllowBasicAuthMapi SwitchParameter False
AllowBasicAuthOfflineAddressBook SwitchParameter False
AllowBasicAuthOutlookService SwitchParameter False
AllowBasicAuthPop SwitchParameter False
AllowBasicAuthPowershell SwitchParameter False
AllowBasicAuthReportingWebServices SwitchParameter False
AllowBasicAuthRpc SwitchParameter False
AllowBasicAuthSmtp SwitchParameter False
AllowBasicAuthWebServices SwitchParameter False
AllowLegacyExchangeTokens SwitchParameter True
BlockLegacyExchangeTokens SwitchParameter False
TenantId String

Examples

Example 1

Set-AuthenticationPolicy -Identity "Engineering Group" -AllowBasicAuthReportingWebServices

In Exchange Online, this example modifies the authentication policy named Engineering Group to allow Basic authentication for Exchange Reporting Web Services.

Example 2

Set-AuthenticationPolicy -Identity "Research and Development Group" -BlockLegacyAuthReportingWebServices:$false

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

Microsoft Learn documentation