Skip to Content
EmailExchangeMail FlowEmail Address Policies

Email Address Policies

Configure email address policies that automatically generate and assign email addresses to mailboxes based on user attributes. Policies define the format of primary and alias SMTP addresses for your organization.

Note: In Exchange Online, email address policies are simplified compared to on-premises Exchange. The default policy assigns addresses based on the user’s alias and the default domain.

Email Address Policy List

ColumnDescription
Policy NameDisplay name of the policy
PriorityProcessing order
Address FormatTemplate for generating addresses
Applied ToUsers, groups, or filter criteria
StatusApplied or pending

Address Format Templates

Common Formats

FormatExampleTemplate
First.Lastjohn.smith@company.com%g.%s@domain
FirstLastjohnsmith@company.com%g%s@domain
First.LastInitialjohn.s@company.com%g.%1s@domain
FirstInitial.Lastj.smith@company.com%1g.%s@domain
First_Lastjohn_smith@company.com%g_%s@domain

Template Variables

VariableDescriptionExample
%gGiven name (first name)John
%sSurname (last name)Smith
%1gFirst character of given nameJ
%1sFirst character of surnameS
%dDisplay nameJohn Smith
%mAliasjsmith

Default Policy

The default email address policy applies to all new mailboxes:

  • Uses alias@defaultdomain.com format
  • Applied when no other policy matches
  • Cannot be deleted (but can be modified)
  • Lowest priority (applied last)

Creating Custom Policy

  1. Name the policy — Provide a descriptive name.
  2. Define format — Select or create the email address format template.
  3. Set filter — Define which users the policy applies to (department, location, etc.).
  4. Set priority — Position relative to other policies.
  5. Apply — Activate the policy and generate addresses.

Multi-Domain Policies

For organizations with multiple domains:

  • Create separate policies per domain
  • Filter by department, location, or custom attribute
  • Assign different primary domains to different user groups
  • Add alias addresses from additional domains

Best Practices

  • Use consistent format — Apply the same address format organization-wide for professionalism.
  • Plan for duplicates — Define a process for handling name conflicts (e.g., john.smith2@).
  • Test with pilot group — Apply new policies to a small group first.
  • Document policies — Record which format and filter is used for each policy.

API Reference

GET /api/exchange/email-address-policies List email address policies

POST /api/exchange/email-address-policies Create email address policy

PUT /api/exchange/email-address-policies/:id Update policy

POST /api/exchange/email-address-policies/:id/apply Apply policy to matching recipients

Last updated on