Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

ActiveSync not getting configured automatic

Posted on 2014-09-03
21
Medium Priority
?
225 Views
Last Modified: 2014-10-20
I have a DAG with three members, All servers holding all the 3 roles.
All working internally excpet activesync not getting configured automatic.

I added external domain as Alternate UPN Suffix and changed a test user's profile account to test@externaldomain.coim

Still server name not coming automatic in Android (Activesync).

Anyone can guide me on this?
0
Comment
Question by:MAS
[X]
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
  • 11
  • 10
21 Comments
 
LVL 13

Expert Comment

by:George Sas
ID: 40301176
0
 
LVL 27

Author Comment

by:MAS
ID: 40301838
I already set OWA URLs I am talking about activesync autodiscover.
0
 
LVL 13

Accepted Solution

by:
George Sas earned 2000 total points
ID: 40301876
Set-ActiveSyncVirtualDirectory -Identity "COMPUTERNAME\Microsoft-Server-ActiveSync (Default Web Site)" -ExternalURL "https://servername.com/"

Set-ActiveSyncVirtualDirectory -Identity "COMPUTERNAME\Microsoft-Server-ActiveSync (Default Web Site)" -ActiveSyncServer "https://servername.com/"

Use this tool to check it and see why it is not working :
https://testconnectivity.microsoft.com/
0
Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

 
LVL 27

Author Comment

by:MAS
ID: 40301892
-->Set-ActiveSyncVirtualDirectory -Identity "COMPUTERNAME\Microsoft-Server-ActiveSync (Default Web Site)" -ExternalURL "https://servername.com/"
-->Set-ActiveSyncVirtualDirectory -Identity "COMPUTERNAME\Microsoft-Server-ActiveSync (Default Web Site)" -ActiveSyncServer "https://servername.com/"

COMPUTERNAME is netbiosname of the exchange server?
Here servername.com is domainname or netbiosname of the exchnage server?
0
 
LVL 13

Expert Comment

by:George Sas
ID: 40301992
Computername - Your CAS server computername. (netbios name)
Example :
Set-WebServicesVirtualDirectory -identity "CAS01\EWS (Default Web Site)" -externalurl https://mail.contoso.com/EWS/Exchange.asmx -BasicAuthentication:$True

Here is a short guide :
http://mshiyas.wordpress.com/2010/07/06/how-to-configure-and-verify-autodiscover-for-exchange-2007-and-2010/
0
 
LVL 27

Author Comment

by:MAS
ID: 40302029
This is set already.  Test is all success.
Still Activesync not working automatic.

server name not coming automatic.
it is showing domain.com as server name instead of mail.domain.com
This is the error
"Failed to search Exchange server automatically. Enter settings manually"
0
 
LVL 13

Expert Comment

by:George Sas
ID: 40302041
Set-ActiveSyncVirtualDirectory -Identity "servername\Microsoft-Server-ActiveSync (Default Web Site)" -ActiveSyncServer "https://mail.company.com"

Make sure you have the DNS entries in order for Autodiscover and so long.
0
 
LVL 27

Author Comment

by:MAS
ID: 40302110
I set this still not working automatic showing the same error
"Failed to search Exchange server automatically. Enter settings manually"

Autodiscover and common name records are added in external and internal DNS servers
0
 
LVL 13

Expert Comment

by:George Sas
ID: 40302173
What phone is this ?
Try on a Nokia and an iPhone. If it works there then use another software than the one built in on the problematic phone. I recommend TouchDown.
I have seen this problem on some Samsung and Sony phones.
0
 
LVL 27

Author Comment

by:MAS
ID: 40302730
I tried Iphone showing the same error. Server name not coming automatic
0
 
LVL 13

Expert Comment

by:George Sas
ID: 40303484
And what does https://testconnectivity.microsoft.com/ say ?
It should give you detailed instructions on how to correct the errors.

If name does not come automatically it is either one of this :
- You use a different default e-mail domain than the one that you try to configure on the OWA.
- Your ActiveSync configuration on the IIS server is wrong.
0
 
LVL 27

Author Comment

by:MAS
ID: 40304880
:- You use a different default e-mail domain than the one that you try to configure on the OWA.
Its configured to use internal domain
Activesync urls configured as our external name
0
 
LVL 13

Expert Comment

by:George Sas
ID: 40304887
Ok, then the user does have 2 e-mail addresses or only one ?
Like username@internaldomain.com + username@externaldomain.org ?
And you log in with username@internaldomain.com but the primary e-mail address is username@externaldomain.org ?

What does this command return :
test-OutlookWebServices -identity:youruser@externaldomain.org | ft * -AutoSize -Wrap
0
 
LVL 27

Author Comment

by:MAS
ID: 40305354
Attached the result of the above command
results.txt
0
 
LVL 13

Expert Comment

by:George Sas
ID: 40305382
That looks ok, the only error is the SSL.
The certificate for the URL https://exch201 0-2.nasser.com/autodiscover/autodiscover.xml is incorrect. For SSL to work, the certificate needs to have a subject of exch2010-2.nasser.com, but the subject that was foundis autodiscover.nsportq8.com. Consider correcting service discovery, or installing acorrect SSL certificate.

This is from inside.
But please DO test with https://testconnectivity.microsoft.com/ and see what errors you get !
0
 
LVL 27

Author Comment

by:MAS
ID: 40336006
Any update?
0
 
LVL 13

Assisted Solution

by:George Sas
George Sas earned 2000 total points
ID: 40337162
From me ?
I asked you 3 times to test from outside also :
"This is from inside.
But please DO test with https://testconnectivity.microsoft.com/ and see what errors you get ! "

Did you tested from outside ?
Inside all looks ok.
0
 
LVL 27

Author Comment

by:MAS
ID: 40340837
I tested from inside and outside both failed.
But  I have SRV and autodiscover created
0
 
LVL 27

Author Closing Comment

by:MAS
ID: 40379342
Thanks it worked .
A final question. How do teh activesync client get the external name(I mean the server name field) ?
Where we configured that server name in activesync virtual directory?
0
 
LVL 13

Expert Comment

by:George Sas
ID: 40379348
It gets it from the Exchange.
It will check for tha autodiscover.domainname.com and look for the autodiscover.xml file with the config.
0
 
LVL 27

Author Comment

by:MAS
ID: 40379481
My question is not clear to you I guess. Before it was connecting to domain.com n throwing the error.
Now it is connecting to mail.domain.com how the client get this name and where we mentioned this name in server?

Any update on the above?
0

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Question has a verified solution.

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

This article will help to fix the below error for MS Exchange server 2010 I. Out Of office not working II. Certificate error "name on the security certificate is invalid or does not match the name of the site" III. Make Internal URLs and External…
The main intent of this article is to make you aware of ‘Exchange fail to mount’ error, its effects, causes, and solution.
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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Suggested Courses

670 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