Skip to content

A small script with a GUI that simplifies the process of adding an SMTP proxy address to mailboxes that are not being updated by Exchange email address policies.

cgoosen/Fix-ProxyAddress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

Fix-ProxyAddress

A small script with a GUI that simplifies the process of adding an SMTP proxy address to mailboxes that are not being updated by Exchange email address policies.

Are you migrating to Exchange Online? If so, you may come across the following error: "MigrationPermanentException: The target mailbox doesn't have an SMTP proxy matching 'company.mail.onmicrosoft.com'." This script was written to simplify the process adding an SMTP proxy address to mailboxes that are not being updated by Exchange email address policies. For more information about the error and use case,please see this post on my blog.

Once launched, the script will prompt for your tenant routing domain in the format 'company.mail.onmicrosoft.com' and will search for all mailboxes in the organization that do not have an email address policy applied. A new SMTP proxy address will be added to all mailboxes without an email address policy. The proxy address will be based on the alias of the primary SMTP address and the routing domain entered, e.g if the primary SMTP address is john.smith@company.com and the routing domain entered is company.mail.onmicrosoft.com the resulting proxy address will be john.smith@company.mail.onmicrosoft.com.

Requirements: This script has been tested and is known to work with Exchange 2010 and Exchange 2013.

Usage: There are no parameters or switches, simply execute the script: .\Fix-ProxyAddress.ps1

Screenshots:

alt text

alt text

alt text

About

A small script with a GUI that simplifies the process of adding an SMTP proxy address to mailboxes that are not being updated by Exchange email address policies.

Resources

Stars

Watchers

Forks

Packages

No packages published