Search code examples
c#wcfoffice365lync-2013ucwa

How to access the UCWA endpoint for Lync Online (Office 365)?


The UCWA documentation states that UCWA is currently available only to customers who have Lync on-premises.

Nonetheless, if using Lync Connectivity Analyzer against an Office 365 account, it seems that in can connect to the UCWA service: Completed tests for Mobility (UCWA) service. Furthermore, if I inspect the web requests performed by this tool (with Fiddler, for example), I can take the authentication token it obtained (somehow) from Office 365 and use it to make requests against UCWA.

  • it seems that UCWA is exposed by Office 365, is this correct? It seems that Lync Connectivity Analyzer uses a certain WebTicket Service to get a authentication token.
  • is there any library that abstracts the usage of WebTicket Service in order to obtain the authentication token? After having the token, accessing the UCWA resources would be pretty simple - though, a library for that would be nice too :)
  • I could not find too much documentation about the WebTicket Service (WCF). If I add a service reference (Visual Studio) to https://lyncweb.domain.com/WebTicket/WebTicketService.svc, there aren't too many options - it seems that the request and response messages do not have a certain structure, so that it's quite tricky to call the IssueToken operation exposed by this WebTicket Service.

Links:


Solution

  • you did quite some investigation, and based on my information the WebTicket should be a possible authentication token for UCWA.

    Unfortunately, the documentation is still correct in saying UCWA is only supported for on-prem installation at this moment. For Lync Online / Office 365 it isn't enabled yet.

    There's a feature request on Office's User Voice that you can vote and follow. As you can read there are announcements to be expected soon in this

    https://officespdev.uservoice.com/forums/224641-general/suggestions/5857717-ucwa-for-lync-365