Lync 2010 Mobility Autodiscover
The PoC includes using IM and presence from the desktop and on mobile devices. This requires an edge configuration and reverse proxy using TMG 2010.
I found the following blog post which is great for setting up mobility
Everything was configured included DNS names, certificates, software install etc.etc.
Once I had everything configured I found that if I tried to connect using my iPad device it would provide the following error message.
Can't connect to the server. It may be busy or temporarily unavailable. Please try again
I looked at the logging and found that the Lyncdiscover URL wasn't being redirected to the configuration file required to login.
Browsing to https://lyncdiscover.companyname.com would simply produce a error 403 forbidden message.
I went to "more details" and turned auto config off and entered the following URL in the internal and external address
https://lyncdiscover.companyname.com/Autodiscover/AutodiscoverService.svc/root (replace companyname with your relevant address!)
When visiting the above URL in Internet Explorer it will download a configuration file which contains the data required to login.
With this configured the logon worked. This was fine, but I didn't want to provide a massive URL for configuration and wanted autoconfiguration working correctly.
My next stop was IIS URL rewrite rules on the server. These are configured to redirect users with anything with lyncdiscover in the HTTP_HOST header to be redirected to the config file above. I checked the rules and found they were all sound. Also browsing on the localhost didn't redirect so I ruled out the TMG 2010 server being at fault.
Finally I went to add/remove programs and found the following entry.
Clicking repair on this resolved the issue for me.
When visiting https://lyncdiscover.companyname.com I get the configuration file as if I were visiting https://lyncdiscover.companyname.com/Autodiscover/AutodiscoverService.svc/root.
I hope this helps you!
Sam Google +