Solved

ActiveSync not getting configured automatic

Posted on 2014-09-03
21
185 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
  • 11
  • 10
21 Comments
 
LVL 13

Expert Comment

by:George Sas
ID: 40301176
0
 
LVL 24

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 500 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
 
LVL 24

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 24

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 24

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 24

Author Comment

by:-MAS
ID: 40302730
I tried Iphone showing the same error. Server name not coming automatic
0
Too many email signature changes to deal with?

Are you constantly being asked to update your organization's email signatures? Do they take up too much of your time? Wouldn't you love to be able to manage all signatures from one central location, easily design them and deploy them quickly to users. Well, you can!

 
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 24

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 24

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 24

Author Comment

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

Assisted Solution

by:George Sas
George Sas earned 500 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 24

Author Comment

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

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 24

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

Why do Marketing keep bothering you?

Is your marketing department constantly asking for new email signature updates? Are they requesting a different design for every department? Do they need yet another banner added? Don’t let it get you down! There is an easy way to manage all of these requests...

Join & Write a Comment

Utilizing an array to gracefully append to a list of EmailAddresses
Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
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 add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

758 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now