lync-2013ucwa

calling UCWA with c# - lync 2013 server


I sent a get request to below url (I replaced my company's real domain name with xxx here)

http://lyncdiscover.xxx.com/?sipuri=abc@xxx.com

instead of getting this format according to many blog.

{
"_links":{
"self":{
  "href":"https://lyncweb.sipdomain.co.uk/Autodiscover/AutodiscoverService.svc/root?originalDomain=sipdomain.co.uk"
},
"user":{
  "href":"https://lyncweb.sipdomain.co.uk/Autodiscover/AutodiscoverService.svc/root/oauth/user?originalDomain=sipdomain.co.uk"
},
"xframe":{
  "href":"https://lyncweb.sipdomain.co.uk/Autodiscover/XFrame/XFrame.html"
    }
  }
}

I got this format returned back without xframe (I replaced the domain with xxx):

{
  "AccessLocation": "External",
  "Root": {
   "Links": [
      {
        "href":         "https://lswebservice.xxx.com/Autodiscover/AutodiscoverService.svc/root/domain",
    "token": "Domain"
  },
  {
    "href": "https://lswebservice.xxx.com/Autodiscover/AutodiscoverService.svc/root/user",
    "token": "User"
  }
    ]
  }
}

what do I miss here?


Solution

  • You will want to update your Lync Server 2013 environment - Updates for Lync Server 2013. UCWA went live with Lync Server 2013 (CU1) and what you initially hit is the Autodiscovery service which was updated in CU1 to return the format you are expecting above.

    The information was contained on the last paragraph on ITAdmin-Configuration documentation.