Exchange 2013 activesync asking for domain name

Posted on 2014-07-29
Medium Priority
Last Modified: 2014-08-04
i have exchange 2013 fully working  , autodiscover is working fine as well.
my problem is with mobile devices asking for username , domain , password .... when trying to configure the email accounts.
i have added the \ and domain under basic aut setting in iis .
this is working only when the email address name is the same as the user name login name in AD
let say that my email is contoso@domain.com the settings are getting completed.
if my email is microsoft.contoso@domain.com i need to provide the missing setting , domain , password , username...

thanks in advance.
Question by:restartpc12
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 5
LVL 11

Expert Comment

ID: 40229245
All access to services on 2013 is perform on the server using OWA, remember 2013 uses proxy by default.

Open your EMC on Exchange 2013, look for servers and select "virtual directories", select your client access server and open the properties for owa (Default Web Site); under authentication change "Use form-based authentication logon format:" to  Username only and type your default domain.  Restart or reset your IIS.

Author Comment

ID: 40233244
Thank you for your reply,
This is my current configuration .
User name only , my domain .
Just to make sure , my prblem is my cellular mobile phones (ios and android) not OWA.
LVL 11

Expert Comment

ID: 40234083
Did you migrated from 2003?

Are you having problems with Android or iOS or both?

Are you setting the phones using WiFi (within the organization) or carrier data signal?

Is your OWA internal and external access the same?

Your OWA combination is Username/password?
Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments


Author Comment

ID: 40234536
The first server was 2003, now i am migrating from 2010.
Both of mobile devices.
I am using cellular data signal or wifi outside the organisation.
Owa inside and outside are the same
The combination is user name only

If i am trying to connect a user that his user name and email are the same it is working fine, if they are different it is not.
LVL 11

Expert Comment

ID: 40235112
This could be the issue:

One of your servers is running authentication on UPN instead of Username only.

If you have 2013 as your main server (DNS MX records and firewall pointing to your server) it will take the credentials and passed to the 2010 if the user mailbox is on that server so if the authentication is different there it will fail.

If you open your EMC on 2013 and go under server, virtual directories you will see both server for each of the directories (website), make sure both EAS and OWA have the same settings, if you do changes remember to restart the virtual directory for the changes to take effect.

Now for added troubleshoot, still on your 2013 in the EMC under mobile, devices access create new rules to accept Android, BlackBerry and iPhone families.

Author Comment

ID: 40237046
i think you misunderstood my proble.
first , the settings are the same.
second , the problem is
let say my email is "user@contoso.com" and my username is "user" , in this case it is working fine no matter where the mailbox is (exchange 2010 or 2013).
in case that my email is "user.lastname@contoso.com" and my user name is "userl" the devices are not compliting the settings and i need to put it manualy ( user name , doman , server).
LVL 11

Expert Comment

ID: 40237565
Oh this is normal... kind of!!!

The process will try always try to use the first part of the email as your username.  I have encounter this error but the opposite, when the alias of the username is not even similar to the email but this was ok for security reasons.

Author Comment

ID: 40238274
So, is there a way to make it work with this settings?
LVL 11

Accepted Solution

hecgomrec earned 1000 total points
ID: 40238890
Unfortunately, I don't know how, if the alias (created by either policy or manual) doesn't match the user name then it won't work, remember this is a procedure the mobile devices have built-in... they assume the username from the first part of the email therefore if it is something else the device is program to ask for full credentials to try to establish the connection.

Usernames matching with the emails will pass, if you have everything configured properly but if they don't match then you most do it manually.

At least is not for all of them... I had a client who requested not to have autodiscover for his organization and one must enter domain\username\password\server info for every user.

Sorry I can't help you more...

Author Comment

ID: 40239625

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

New-MailboxSearch Powershell Command and step by step approach to Search and Extract Emails form Exchange 2013 Journaling server.
Import PST to Exchange using Power Shell new-mailboximportrequest command, you can simply import the PST file into Exchange mailbox or archived. To know How to import PST into Exchange  2013 read the complete article.
In this video we show how to create a mailbox database in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Servers >> Data…
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question