Home

Shared mailbox in Secondary Domain creates user with Primary Domain

%3CLINGO-SUB%20id%3D%22lingo-sub-172616%22%20slang%3D%22en-US%22%3EShared%20mailbox%20in%20Secondary%20Domain%20creates%20user%20with%20Primary%20Domain%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-172616%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%20have%20multiple%20domains%20in%20a%20single%20Office%20365%20tenant%3A%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3EPrimaryDomain.com%20(Default%20domain%20in%20O365%20Admin%20Portal%20%3D%26gt%3B%20Setup%20%3D%26gt%3B%20Domains)%3C%2FLI%3E%0A%3CLI%3Edomain2.com%3C%2FLI%3E%0A%3CLI%3Edomain3.com%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3EWhenever%2C%20I%20create%20a%20shared%20mailbox%20or%20user%20in%20a%20secondary%20domain%2C%20it%20automatically%20creates%20a%20username%2Falias%20with%20PrimaryDomain.com.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EExamples%20of%20the%20issue%20(current)%3A%3C%2FSTRONG%3E%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3EWhen%20a%20shared%20mailbox%20info%40domain2.com%20is%20created%2C%20info%40PrimaryDomain.com%20becomes%20its%20alias.%20And%20also%2C%20what's%20worse%20is%20that%20info%40PrimaryDomain.com%20becomes%20a%20user%20in%20Users%20%3D%26gt%3B%20Active%20Users%20tab%20of%20Office%20365%20Admin%20Portal%20and%20%3CSPAN%3Einfo%40domain2.com%20is%20nowhere%20to%20be%20seen%20in%20the%20Users%20tab%20(no%20even%20as%20an%20alias)%3C%2FSPAN%3E.%3C%2FLI%3E%0A%3CLI%3EWhen%20a%20user%20mailbox%20is%20name%40domain2.com%20is%20created%2C%20name%40PrimaryDomain.com%20becomes%20its%20alias.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%3CSTRONG%3EWhat%20we%20want%3A%3C%2FSTRONG%3E%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3EWhen%20a%20shared%20mailbox%20info%40domain2.com%20is%20created%2C%20%3CSPAN%3Einfo%40domain2.com%26nbsp%3Bis%20the%20only%20alias%3C%2FSPAN%3E.%20And%20also%2C%20%3CSPAN%3Einfo%40domain2.com%20is%26nbsp%3B%3C%2FSPAN%3Ea%20user%20in%20Users%20%3D%26gt%3B%20Active%20Users%20tab%20of%20Office%20365%20Admin%20Portal.%3C%2FLI%3E%0A%3CLI%3EWhen%20a%20user%20mailbox%20is%20name%40domain2.com%20is%20created%2C%20%3CSPAN%3Ename%40domain2.com%20is%20the%20only%26nbsp%3B%3C%2FSPAN%3Ealias.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHow%20can%20this%20issue%20be%20resolved%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%2C%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-172616%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdmin%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EAdmin%20Portal%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExchange%20Online%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-172825%22%20slang%3D%22en-US%22%3ERe%3A%20Shared%20mailbox%20in%20Secondary%20Domain%20creates%20user%20with%20Primary%20Domain%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-172825%22%20slang%3D%22en-US%22%3Etenant.onmicrosoft.com%20is%20no%20longer%20the%20%22Default%22%20tenant%20in%20Office%20365%20Admin%20Portal%20%3D%26gt%3B%20Setup%20%3D%26gt%3B%20Domains.%3CBR%20%2F%3E%3CBR%20%2F%3ERather%20PrimaryDomain.com%20is%20the%20%22Default%22%20domain%20in%20O365%20Admin%20Portal%20%3D%26gt%3B%20Setup%20%3D%26gt%3B%20Domains%3CBR%20%2F%3E%3CBR%20%2F%3ESo%2C%20that%20ExO%20EAP%20shouldn't%20apply%20right%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-172763%22%20slang%3D%22en-US%22%3ERe%3A%20Shared%20mailbox%20in%20Secondary%20Domain%20creates%20user%20with%20Primary%20Domain%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-172763%22%20slang%3D%22en-US%22%3E%3CP%3EIs%20the%20primary%20the%20tenant.onmicrosoft.com%20one%3F%20If%20so%2C%20the%20issue%20is%20due%20to%20the%20default%20Email%20Address%20Policy%20in%20ExO%2C%20which%20stamps%20%40tenant.onmicrosoft.com%20to%20each%20object.%20You%20cannot%20modify%20that%20policy%2C%20however%20you%20can%20change%20the%20default%20domain.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Haneef Ibn Ahmad
Contributor

Hi,

 

We have multiple domains in a single Office 365 tenant:

  1. PrimaryDomain.com (Default domain in O365 Admin Portal => Setup => Domains)
  2. domain2.com
  3. domain3.com

Whenever, I create a shared mailbox or user in a secondary domain, it automatically creates a username/alias with PrimaryDomain.com.

 

Examples of the issue (current):

  1. When a shared mailbox info@domain2.com is created, info@PrimaryDomain.com becomes its alias. And also, what's worse is that info@PrimaryDomain.com becomes a user in Users => Active Users tab of Office 365 Admin Portal and info@domain2.com is nowhere to be seen in the Users tab (no even as an alias).
  2. When a user mailbox is name@domain2.com is created, name@PrimaryDomain.com becomes its alias.

What we want:

  1. When a shared mailbox info@domain2.com is created, info@domain2.com is the only alias. And also, info@domain2.com is a user in Users => Active Users tab of Office 365 Admin Portal.
  2. When a user mailbox is name@domain2.com is created, name@domain2.com is the only alias.

 

How can this issue be resolved?

 

Thanks,

2 Replies

Is the primary the tenant.onmicrosoft.com one? If so, the issue is due to the default Email Address Policy in ExO, which stamps @tenant.onmicrosoft.com to each object. You cannot modify that policy, however you can change the default domain.

tenant.onmicrosoft.com is no longer the "Default" tenant in Office 365 Admin Portal => Setup => Domains.

Rather PrimaryDomain.com is the "Default" domain in O365 Admin Portal => Setup => Domains

So, that ExO EAP shouldn't apply right?