Skip Ribbon Commands
Skip to main content

How do I configure DMA-DeploymentPro when the SMTP address does not match the UPN?

Last Update: 7/21/2017 11:34 AM
This article has been moved to our new Help Center. Please update your bookmarks.

How do I configure DMA-DeploymentPro when the SMTP address does not match the UPN?​​​​

Answer:​​​

 

If users have Active Directory, the UPN is what users log on to their computers with. The SMTP address is their actual email address where they receive mail. Normally these are the same, but not always. PowerShell output shows they are different.

 

Get-Mailbox ipace | fl UserPrincipalName,PrimarySmtpAddress

UserPrincipalName  : ipace@BitTitanLab.info

PrimarySmtpAddress : ipace@BitTitanLab.com

 

When Irma Pace logs on to a computer with ipace@BitTitanLab.info and runs Outlook for the first time, it detects that her SMTP address is ipace@BitTitanLab.com and configures Outlook for that email address.

 

ipace@BitTitanLab.com is what all our Discovery processes will return to MSPComplete. If the UPN is BitTitanLab.com in Office 365, no changes are necessary.

If the UPN is BitTitanLab.info and the SMTP address is BitTitanLab.com, then an adjustment will need to be made before you Run Module on the DeploymentPro page.

 

  1. Click Settings at the top right of the page.
  2. Change the Domain Name to the domain that is the UPN domain in Office 365, and click Save and continue in the top right of the page.
  3. Put a checkmark in the box to the left of the mailbox you are working on.
  4. Click Run Module and verify that the alias and the domain is the UPN of the mailbox.
  5. Verify that you have a future date and time, click Apply, then click Run Module.

 

The correct information is sent to our back end servers and will be pulled down to the client at the next heartbeat. The change you made is not reflected in the UI at this time, however; it is a future design feature.

 

Note: Normally when you set the UPN in Office 365, it automatically sets the SMTP address to the same as the UPN. The only way you can change the SMTP address to be different than the UPN is with PowerShell.

 

Get-Mailbox ipace | fl UserPrincipalName,PrimarySmtpAddress

UserPrincipalName  : ipace@BitTitanLab.info

PrimarySmtpAddress : ipace@BitTitanLab.info

 

To change it for our example:

 

Set-Mailbox -identity ipace -EmailAddress  SMTP:ipace@BitTitanLab.com,ipace@BitTitanLab.info

 

Result:

Get-Mailbox ipace | fl UserPrincipalName,PrimarySmtpAddress

UserPrincipalName  : ipace@BitTitanLab.info

PrimarySmtpAddress : ipace@BitTitanLab.com

 

DeploymentPro will configure your mailbox to the SMTP address found in Office 365.