• Home
  • My Tools
  • Visio Stencils
  • Online Tools
  • PS Scripts
  • PS One Liners
  • Downloads
  • Product Review
  • About

Smarter Together

~ by I.M.H.O.

Smarter Together

Category Archives: Lync Mobility

Lync Mobility – lyncdiscoverinternal vs lyncdiscover

30 Monday Apr 2012

Posted by Paul Bloem in DNS, Lync Mobility, Lyncdiscover

≈ Leave a comment

Lync Server 2010 Mobility supports an internal and an external automatic discovery record. The mobile client signs-in as follows:-

  1. DNS query for lyncdiscoverinternal.
  2. DNS query for lyncdiscover.

Got this great flow diagram from Brendan Carius…cheers 😉

Usually the Lync Web Services certificate assigned to the Front-end Pool is issued by an internal CA. Of course this Root CA isn’t present on Mobile devices and so not trusted. The Lync mobile client would not be able to sign-in, unless the internal root certificate was pre-installed on the device.

Its a little more tricky to deploy the Root CA to all your mobile devices so it makes more sense to NOT have a Lyncdiscoverinternal DNS record. Instead have a lyncdiscover A record (internally) pointing to the public IP of your RP.
You will need a RP rule to allow this traffic from internal – effectively hairpinning the traffic.

Even after configuring this I still got “Can’t verify certificate from the server. Please contact your support team”.

It would appear that the devices dont trust the internal certificate which makes sense. So how to fix this?

2 Options here
1. either install the Root CA on the device (defeats the point as it works as the internal anyway)
2. the only way I could get around the cert issue was to create a new listner and assign it only 80. This did require an additional IP on the TMG internal.

Another Error I got was “The server is either busy or did not respond, please try again later”

Running traces on my iPhone showed that the lync discover URL was translated to the External web services URL which wasn’t valid in the DNS of my internal connection. Once I added a CNAME to match we were sorted

Advertisement

Share this:

  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)
  • Click to share on WhatsApp (Opens in new window)
  • Click to share on Reddit (Opens in new window)
  • Click to share on Pocket (Opens in new window)
  • Click to share on Pinterest (Opens in new window)
  • Click to share on Tumblr (Opens in new window)
  • Click to share on Skype (Opens in new window)
  • Click to email a link to a friend (Opens in new window)
  • Click to print (Opens in new window)

Like this:

Like Loading...

Troubleshooting Lync Mobility Installation

18 Wednesday Jan 2012

Posted by Paul Bloem in Lync Mobility, Troubleshooting Lync Mobility Installation

≈ Leave a comment

Deploying Lync mobility over the silly season came with a fair amount of frustration. Having come across a few speed bumbs I thought it best to document these as I will probably forget the solutions and have to spend valuable hours retracing my steps.

Now I do have to state that this is not a deployment how-to but rather additional to the deployment guide.

Firstly, determine if the organisation actually allows mobile device connectivity via Wi-Fi internally. This is often flagged as a security risk and thus mobile devices may only connect to a guest AP that has no access to the LAN. So in my case I only deployed the external connectivity.

List of issues I came across and the solutions 😉

Issue #1

I ran the bootstrap installer but still no MCX site.

Solution

One of the installation steps is to set the Primary listening port for MCX. This is done with the Lync Powershell command

Set-CsWebServer -Identity -McxSipPrimaryListeningPort 5087

* You have to specify the Primary Listening Port or MCX wont install!

NOTE: This command has to be run on the Server housing the CMS or it will fail!Got an error that the *msi was missing (as well as a message that all the IIS pre-req’s were missing…added the entire IIS role components to remedy that)

Downloaded the mcxstandalone.msi from link below, copied to appropriate directory:-

http://www.microsoft.com/download/en/details.aspx?id=28356

C:\ProgramData\Microsoft\Lync Server\Deployment\cache\4.0.7577.0\setup

then ran the msi directly, that sorted the install and then I finally saw an MCS page in IIS
Use the PosweShell command below to see the MCX ports and Url’s

Get-CsService -WebServer

You can check the install by looking at IIS on the FE, there needs to be an MCX site for both internal and external.



Issue #2

Getting error 500 – Internal Server Error when attempting to connect to the autodiscover URL

Solution

As I was waiting on the Autodiscover DNS record in the public realm I decided to test with the manual setting. The problem was on my part, I didn’t notice how the internal and external URL’s were different.

https://lyncdiscover./Autodiscover/autodiscoverservice.svc/Root for external access

https://lyncdiscover./AutoDiscover/AutoDiscover.svc/Root for internal access

Emphasis on autodiscoverservice.svc (*externally) and autodiscover.svc (*internally)
I had deployed MCX for external connectivity only but was using the URL for autodiscover.svc and not autodiscoverservice.svc. Had I set the *exposed URL (seen from Get-CsMcxConfiguration) to Internal I may have hit the page…

Issue #3

Getting Error 500 or 403 When testing the site from IIS

Solution

This as I now know is normal, it may be different if my Lync admin account actually was enabled as a Lync user

though 🙂

Issue #4

WM7 client signs in but ios sits on the sign-in page for ages and then fails with “Can’t connect to the server. It may be busy or temporarily unavailable…” error. Two solutions were required for this one…

Solution A

Change the security method, by default it is set to NTLM. Change this to negotiate in the lync control panel -> security – Web Service -> change windows authentication to “Negotiate”



Solution B

I turned on logging and sent the file to myself, I then found the following line in the log file
noticed in your log the following line

TRANSPORT
/Users/comobuildadmin/se_wave1_idx/src/dev/CoMo/transport/_buildIos/../credentialManager/private/CCredentialManager

.cpp/161:Credential information: credType (1) signInName (testlync@mydomain.com) domain () username () password.empty() (0) compatibleServiceIds(1)

So suspicious of the missing credential I started to fiddle with my phone and found the answer. Once I had populated the user name field the phone logged on and at last there was victory!

iPhone and Windows Mobile 7 – go to More Details – and add Domain\username for user name then both these field become populated.

Android – go to More – Options adding the domain\username for the user name field.

Although I do still get a lot of these lines without the domain and username, I also occasionally see the details for Domain and username populated, go figure.

Share this:

  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)
  • Click to share on WhatsApp (Opens in new window)
  • Click to share on Reddit (Opens in new window)
  • Click to share on Pocket (Opens in new window)
  • Click to share on Pinterest (Opens in new window)
  • Click to share on Tumblr (Opens in new window)
  • Click to share on Skype (Opens in new window)
  • Click to email a link to a friend (Opens in new window)
  • Click to print (Opens in new window)

Like this:

Like Loading...

IMHO YouTube Channel

Follow Smarter Together on WordPress.com

Enter your email address to subscribe and receive notifications of new posts.

Join 674 other subscribers

Show your appreciation by donating

Archives

Category

ABS ABServer ADContacts Address Book AddressBook AddressBook Service Communicator contacts CX500 Devices DHCP DNS Edge Server Error Codes event id Exchange UM 2010 GAL Install Guide Lync 2013 Tools Lync Edge Lync Tools Microsoft Teams Monitoring Polycom Powershell Scripts Product Review QOS Quick Reference Guide Reskit RGS RTC Database SIP SIP Options Skype for Business Skype for Business Monitoring Skype for Business Tools SQL Teams TMG Tool Tools Troubleshoot Edge UC Sorted Tools UM Uncategorized Unified Messaging visio Visio Stencil voicemail

Create a free website or blog at WordPress.com.

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Follow Following
    • Smarter Together
    • Join 63 other followers
    • Already have a WordPress.com account? Log in now.
    • Smarter Together
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
%d bloggers like this: