Feedback by UserVoice

J.Bunne

My feedback

  1. 137 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    12 comments  ·  General » Users, Photos, Contacts  ·  Flag idea as inappropriate…  ·  Admin →
    J.Bunne commented  · 

    Hello, you have probably found your own solution for this issue by now. But for anyone else having this problem I solved it but using the following command in Powershell:

    #This value for "MicrosoftOnlineServicesID" is the value of the MailBox property "WindowsLiveID" https://msdn.microsoft.com/en-us/library/ee423637(v=exchsrvcs.149).aspx
    #We want to change this to our secondary domain to enable the removal of the default primary domain smtp alias

    Set-Mailbox finace@domain2.com -MicrosoftOnlineServicesID finance@domain2.com
    "WARNING: UserPrincipalName "finace@domain2.com" should be same as WindowsLiveID "finace@domain2.com", UserPrincipalName should remain as"finace@domain2.com".

    #Ignore the warning and now we can remove the smtp alias
    Set-Mailbox finace@domain2.com -EmailAddresses @{remove="finance@domain1.com"}

    #Confirm the removal by issuing this command
    Get-Recipient finace@domain2.com | Select Name, EmailAddresses

Feedback and Knowledge Base