Forum Discussion

DaithiG's avatar
DaithiG
Iron Contributor
Dec 15, 2021
Solved

Subdomain - Shared Mailbox Alias

Hi all,

I setup a sub domain e.g. test.company.com

When I create a shared mailbox e.g. test @ test.company.com it will get an alias of test @ company.onmicrosoft.com and test @ company.com.

 

Company.com is the primary domain name. I'm guessing there's a default policy that adds this alias? Is there anyway to prevent it from happening?

 

It doesn't seem to happen for a user account with the sub domain, just the shared mailbox.

  • There is a "requirement" in Office 365 that at least one SMTP address matches the value of the UPN, so make sure you set the UPN to Email address removed as well.

2 Replies

  • There is a "requirement" in Office 365 that at least one SMTP address matches the value of the UPN, so make sure you set the UPN to Email address removed as well.
    • DaithiG's avatar
      DaithiG
      Iron Contributor

      Thanks VasilMichev 

       

      The UPN would be the primary domain - company.com

       

      As there's no way to set this in the Office 365 website, it just looks for an email address, can I change the UPN of test @ test.company.com in Powershell, do you know?

       

      Ah - I can change this Powershell. Now to test it works correctly. Cheers!

       

      It would be useful to be able to do this from the web version though. 

Resources