Dec 15 2021 08:02 AM
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.
Dec 15 2021 11:15 PM
SolutionDec 16 2021 12:01 AM - edited Dec 16 2021 01:35 AM
Thanks @Vasil Michev
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.
Dec 15 2021 11:15 PM
Solution