en-US

EnabledPrimarySMTPAddressTemplate

Parameter of EmailAddressPolicy

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

Description

The EnabledPrimarySMTPAddressTemplate parameter specifies the rule in the email address policy that's used to generate the primary SMTP email addresses for recipients. You can use this parameter instead of the EnabledEmailAddressTemplates if the policy only applies the primary email address and no additional proxy addresses.

Valid syntax for this parameter is a domain or subdomain that's configured as an authoritative accepted domain, and valid variables and ASCII text characters as described in the "Address format" section in Email address policies in Exchange Server. For example: [email protected] requires the value %[email protected], and [email protected] requires the value %g.%[email protected].

You can't use this parameter with the EnabledEmailAddressTemplates parameter.

In Exchange Online PowerShell, if you use this parameter with the IncludeUnifiedGroupRecipients, you can't use variables in the email address template.

Microsoft Learn documentation

Characteristics

Type
String
Parameter sets
(All)

Apply

Enter the name of the policy to change.