[Solved] Adding Mobile Users to multi tenant exchange
I have cloudpanel working fine on a server 2016 exchange 2016 environment. I have several domains setup in several companies. I have also setup the autodiscover re-direct.
Each user can login to outlook or owa using firstname.lastname@example.org no problem, the issue comes when adding a mobile device. I can add a mobile device to the primary domain without issue. The problem comes when adding a user in another company on another domain. so email@example.com is added and working, how do i add firstname.lastname@example.org when the name is the same for both ie user in this example?
If i try to add email@example.com to android or iphone it does not auto detect and im not sure what the primary domain email equivalent settings should be?
Thanks in advance
If a user mailbox has multiple aliases, you always configure the mobile devices for the primary email address (not the aliases). Email aliases are just email addresses that a user can ALSO receive email on for that mailbox. Aliases are not used for sending email.
Is that what you are trying to do?
Ok i may be using the wrong terminology when i say primary email. I am using the users actual email address as opposed to an email alias.
firstname.lastname@example.org has an autodiscover record for autodiscover.domain1.com and works fully, outlook, owa at mail.domain1.com and mobile device.
email@example.com redirects to autodiscover.domain1.com but can login too owa at mail.domain1.com as firstname.lastname@example.org no problem, has a seperate mailbox from user@domain1 and is also able to setup outlook just by entering email@example.com and password. However firstname.lastname@example.org cannot get email on a mobile device.
what should i be setting the user , server and domain settings on the mobile device to be for email@example.com?
Hope that makes sense
You don't configure multi-tenant environments like that. For OWA, you simply should have them go to https://mail.your-hoster-domain.com/owa. For autodiscover redirect to function you should have an autodiscover.client-domain.com that is a CNAME which points to something like redirect.your-hoster-domain.com. The redirect server only accepts port 80 (not 443) and has something like IIS Redirection which redirects back to https://mail.your-hoster-domain.com/autodiscover/autodiscover.xml
OK so replace mail.your-hoster-domain.com/owa with domain1.com/owa and autodiscover.client-domain.com with domain2.com in my example and i have working perfectly exactly what you said above
I know the redirect only accepts port 80 as i have it working perfectly for setting up a new outlook client with domain2.com as i mentioned above.
My question is how do i setup a mobile device for a user on a domain which is being redirected to https://mail.your-hoster-domain.com/autodiscover/autodiscover.xml?
No. I was saying that you DON'T provision a DNS for each client domain for OWA. Everyone will go to mail.your-hoster-domain.com/owa, not domain1.com/owa, not domain2.com/owa, etc.
You will have to provide me a test username and password on a domain that isn't working so I can run a test on your autodiscover setup. Also there is a bug in iOS 11.x that causes autodiscover redirect not to work unless you are on Office 365. I'm not sure about it not working for Androids.
Looking too hard in the wrong places. All autodiscover and dns settings were fine. I was putting in the wrong details on a mobile device.
For anyone else having this issue to add a mobile device on a client domain add the server as the same as your hoster dns name mail.domain1.com in this example leave the domain BLANK, then put username as the firstname.lastname@example.org full email and password. Boom straight in!
I was putting the domain in the domain box as domain2.com and the username as user. Fail!
Hope this helps someone else