Azure & Microsoft 365

Changing a Primary SMTP / UPN in Microsoft 365 & Resolving Desktop Outlook Sync

Overview

Changing an active user’s primary SMTP address (e.g., from firstlast@domain.com to first@domain.com) also updates their User Principal Name (UPN). While Exchange Online automatically demotes the previous primary address to an alias, local Outlook desktop clients frequently fail to update the default sending address due to cached Windows credentials and local MAPI profile attributes.

Pre-Requisites & Considerations

  • Verify Alias Availability: Ensure the desired new address is already listed as an alias on the user’s account or not claimed by any other mailbox, distribution group, or shared mailbox.
  • Client Notice: Inform the client that mobile mail apps, Microsoft Teams, and OneDrive will prompt for re-authentication using the new primary address and their existing password.
  • SSO Impact: Verify if third-party services (e.g., CRMs, Zoom, web portals) leverage "Sign in with Microsoft" based on the user's UPN.

Step-by-Step Procedure

Phase 1: M365 Admin Center Execution

  1. Navigate to Microsoft 365 Admin Center > Users > Active users.
  2. Select the target user account.
  3. In the flyout panel under the Account tab, locate Username and email aliases and select Manage username and email.
  4. In the alias list, find the target address:
    • If already present: Click the three dots (...) next to the address and choose Change to primary email.
    • If not present: Add the alias first, save, then promote it to primary.
  5. Click Save changes. Allow 10–15 minutes for cloud directory replication.

Phase 2: Resolving Local Outlook Desktop Client (If Old Address Remains Default)

If Outlook continues displaying the old address or fails to default new messages to the updated primary SMTP, execute the following remediation steps in order:

Method A: Force Exchange Autodiscover

  1. Terminate all running instances of outlook.exe via Task Manager.
  2. Relaunch Outlook.
  3. When prompted with "Your Microsoft Exchange administrator has made a change that requires you to quit and restart Outlook," click OK and restart the application.

Method B: Clear Windows Credential Vault (If Auth Prompts Loop)

  1. Close Outlook.
  2. Open Windows Start > search for Credential Manager > select Windows Credentials.
  3. Under Generic Credentials, expand and remove any entries matching:
    • MicrosoftOffice16_Data:...
    • Target user email addresses (oldaddress@ / newaddress@)
  4. Reopen Outlook and authenticate with the new primary address and existing credentials.

Method C: Rebuild Outlook Mail Profile (Recommended Permanent Fix)

If the existing profile has locked the primary OST identity, build a clean profile:

  1. Close Outlook completely.
  2. Open Control Panel (Large icons view) > select Mail (Microsoft Outlook).
  3. Click Show Profiles... > click Add....
  4. Set Profile Name: [User First Name] - Office 365.
  5. Enter the user's name and the new primary email address. Complete the auto-account discovery wizard and approve MFA prompts.
  6. Under "When starting Microsoft Outlook, use this profile:", choose Always use this profile and set it to the newly created profile.
  7. Click Apply > OK, then launch Outlook. Allow mailbox cache synchronization to complete.

Verification Check

  • Sender Identity: Open Outlook > click New Email > verify the From field shows the new primary address (e.g., alex@company.com).
  • Inbound Legacy Routing: Send a test message from an external address to the old primary address (e.g., alexander@company.com) to confirm alias forwarding routes directly to the inbox without bounce-backs.

Tags

Microsoft 365 Exchange Online Outlook Autodiscover Identity Management SOP