Comments on: Trusted Application API (Skype for Business) – Authentication and Online Meetings/2017/04/13/skype-for-business-trusted-application-api-tutorial/Professional Development, Data ScienceThu, 28 May 2020 04:55:54 +0000hourly1http://wordpress.com/By: Ermelinda/2017/04/13/skype-for-business-trusted-application-api-tutorial/comment-page-1/#comment-32062Thu, 28 May 2020 04:55:54 +0000http://blogs.msdn.microsoft.com/tsmatsuz/?p=5745#comment-32062Great beat ! I wish to apprentice while you amend your website, how can i subscribe for a blog site? The account aided me a acceptable deal. I had been a little bit acquainted of this your broadcast provided bright clear concept|

Like

]]>
By: mori5ive/2017/04/13/skype-for-business-trusted-application-api-tutorial/comment-page-1/#comment-457Mon, 09 Oct 2017 11:51:34 +0000http://blogs.msdn.microsoft.com/tsmatsuz/?p=5745#comment-457In reply to ZbPa.

no need to any fix. jumpin this level and send request
GET https://ring2noammeetings.resources.lync.com/platformService/v1/applications?endpointId=sip:trustedapidemo01@mod776816.onmicrosoft.com

Like

]]>
By: joshua/2017/04/13/skype-for-business-trusted-application-api-tutorial/comment-page-1/#comment-456Wed, 16 Aug 2017 05:12:00 +0000http://blogs.msdn.microsoft.com/tsmatsuz/?p=5745#comment-456Hi Tsuyoshi Matsuzaki,
While using the “add-participant resource” a invitation is sent to the licensed user ( a Skype for business client) but the notification message is cryptic.. like my enpoint Id followed by a random number and my domain name like for example :
“testchat@122227442554633322214@domainname.com”,

Like

]]>
By: ZbPa/2017/04/13/skype-for-business-trusted-application-api-tutorial/comment-page-1/#comment-455Mon, 14 Aug 2017 19:19:19 +0000http://blogs.msdn.microsoft.com/tsmatsuz/?p=5745#comment-455Thank you for this great tutorial!

Everything works, except, when I try this with my Office 365 developers subscription, contacting
GET https://api.skypeforbusiness.com/platformservice/discover with correct app context token results into:
403 – Forbidden – Invalid Tenant or no region found for this tenant – error

Did anyone experienced same error and found how to fix it?

Like

]]>
By: Tsuyoshi Matsuzaki/2017/04/13/skype-for-business-trusted-application-api-tutorial/comment-page-1/#comment-454Wed, 31 May 2017 07:23:57 +0000http://blogs.msdn.microsoft.com/tsmatsuz/?p=5745#comment-454In reply to Marquis Hu.

Sorry for late response.
>>1. As we know the default expiry value is one hour, want to know how to refresh the token again when it’s expire?
You can get the access token with the same POST request against https://login.microsoftonline.com/mod776816.onmicrosoft.com/oauth2/token, because this scenario doesn’t show the login UI. (No need to use “refresh token”.)
>> 2. About join anonymous meeting with Skype Web SDK, how to invite the licensed user join the adhoc meeting?
For example, you can create your own web app with Sky Web SDK, and you can invite into this page with e-mail or etc.
If possible, please refer the New Virtual Health Template (below) because it’s very useful example. This sample (New Virtual Health Template) uses the same approaches: The patient receives the e-mail with “Join Meeting” link, and the patient can join with this web page without authentication (with annon token).
https://blogs.office.com/2017/02/16/new-virtual-health-templates-extend-skype-for-business-as-platform-for-developers/

Like

]]>
By: Marquis Hu/2017/04/13/skype-for-business-trusted-application-api-tutorial/comment-page-1/#comment-453Tue, 09 May 2017 02:38:22 +0000http://blogs.msdn.microsoft.com/tsmatsuz/?p=5745#comment-453In reply to Tsuyoshi Matsuzaki.

Hi Matsuzaki,
Thank you for the information, i used a temporary solution solved it by hard code the location “https://noammeetings.resources.lync.com” instead of “https://webpoolsgxxxxx.infra.lync.com”, and will try it again adopt your suggestions. There are some other problem about the trusted application api, will appreciated it if you can give me some suggestions, thanks in advance.
1. As we know the default expiry value is one hour, want to know how to refresh the token again when it’s expire?
2. About join anonymous meeting with Skype Web SDK, how to invite the licensed user join the adhoc meeting? refer to your blog about “participantInvitations” part and also checked the source code about WebClient Samples(https://sdksamplesucap.azurewebsites.net), seems like it’s triggered on webhook event(callback) in backend? which means we can only do it in callback process rather than UI side?
3. For trusted application api, if we start audio in a meeting with licensed user, whether we can get the speech information?

Like

]]>
By: Tsuyoshi Matsuzaki/2017/04/13/skype-for-business-trusted-application-api-tutorial/comment-page-1/#comment-452Mon, 08 May 2017 10:30:12 +0000http://blogs.msdn.microsoft.com/tsmatsuz/?p=5745#comment-452Hi, Marquis-san and Humaruis-san
Sorry for late response, because of the long holiday (national holiday) in Japan.
I tried using Fiddler and I cannot figure out this response. But the status 307 means temporary redirection, then can you please call again with the new location uri like https://xxxxx.infra.lync.com/platformservice/v1/applications/xxxxx/anonApplicationTokens?endpointId=sip%3axxxxx%40xxxxx.onmicrosoft.com&redirect=1 (with “redirect=1”) ?

Like

]]>
By: Humaruis/2017/04/13/skype-for-business-trusted-application-api-tutorial/comment-page-1/#comment-451Fri, 28 Apr 2017 06:17:22 +0000http://blogs.msdn.microsoft.com/tsmatsuz/?p=5745#comment-451Hi Matsuzaki,
I just follow this article to get anonymous application token, no problem there when the first time run my application and i can get the anonymous token. but when i run it again after a period of time, it always return 307 status when call “service:anonApplicationTokens” endpoint used the application token and the same code, and attached the response details as below. will appreciated it if you can give me some suggestions, and as you said, once we gets the anonymous token, we can join the meeting with Skype Web SDK, and also want to know where to get the user property value(“https://noammeetings.resources.lync.com/platformService/discover?anonymousMeetingJoinContext=psat%253deyJ0eXAiOi…”), just hard code it as your sample?

{
“statusCode”: 307,
“headers”: {
“cache-control”: “no-cache”,
“pragma”: “no-cache”,
“expires”: “-1”,
“location”: “https://webpoolsgxxxxx.infra.lync.com/platformservice/v1/applications/3213816010/anonApplicationTokens?endpointId=sip%3asample%40xxxxx.onmicrosoft.com&redirect=1”,
“x-ms-platformservicebuild”: “7.0.1569.0”,
“x-ms-clientdiagnostics”: “T3B…”,
“x-ms-server-fqdn”: “HK20R04FES14.infra.lync.com”,
“x-ms-correlation-id”: “4e83ac6f-d8fb-4240-b9dd-8485952de666”,
“x-ms-client-request-id”: “b42e4fee-f95e-4fae-8482-399a5d72553e”,
“strict-transport-security”: “max-age=31536000; includeSubDomains”,
“date”: “Fri, 28 Apr 2017 02:33:37 GMT”,
“connection”: “close”,
“content-length”: “0”
},
“request”: {
“uri”: {
“protocol”: “https:”,
“slashes”: true,
“auth”: null,
“host”: “ring2apacmeetings.resources.lync.com”,
“port”: 443,
“hostname”: “ring2apacmeetings.resources.lync.com”,
“hash”: null,
“search”: “?endpointId=sip:sample@xxxxx.onmicrosoft.com”,
“query”: “endpointId=sip:sample@xxxxx.onmicrosoft.com”,
“pathname”: “/platformservice/v1/applications/3213816010/anonApplicationTokens”,
“path”: “/platformservice/v1/applications/3213816010/anonApplicationTokens?endpointId=sip:sample@xxxxx.onmicrosoft.com”,
“href”: “https://ring2apacmeetings.resources.lync.com/platformservice/v1/applications/3213816010/anonApplicationTokens?endpointId=sip:sample@xxxxx.onmicrosoft.com”
},
“method”: “POST”,
“headers”: {
“Authorization”: “Bearer eyJ…”,
“accept”: “application/json”,
“content-type”: “application/json”,
“content-length”: 112
}
}
}

Like

]]>
By: Marquis Hu/2017/04/13/skype-for-business-trusted-application-api-tutorial/comment-page-1/#comment-450Fri, 28 Apr 2017 02:45:34 +0000http://blogs.msdn.microsoft.com/tsmatsuz/?p=5745#comment-450Hi Tsuyoshi,
I just follow your steps to do gets the anonymous token, the first time i can get the token when post the “service:anonApplicationTokens” endpoint. after that, it always return 307 status when i run it again, details as below. any suggestions for this issue?
“statusCode”: 307,
“headers”: {
“cache-control”: “no-cache”,
“pragma”: “no-cache”,
“expires”: “-1”,
“location”: “https://webpoolsgxxxxx.infra.lync.com/platformservice/v1/applications/3213816010/anonApplicationTokens?endpointId=sip%3asample%40xxxxx.onmicrosoft.com&redirect=1”,
“x-ms-platformservicebuild”: “7.0.1569.0”,
“x-ms-clientdiagnostics”: “T3B…”,
“x-ms-server-fqdn”: “HK20R04FES14.infra.lync.com”,
“x-ms-correlation-id”: “4e83ac6f-d8fb-4240-b9dd-8485952de666”,
“x-ms-client-request-id”: “b42e4fee-f95e-4fae-8482-399a5d72553e”,
“strict-transport-security”: “max-age=31536000; includeSubDomains”,
“date”: “Fri, 28 Apr 2017 02:33:37 GMT”,
“connection”: “close”,
“content-length”: “0”
},
“request”: {
“uri”: {
“protocol”: “https:”,
“slashes”: true,
“auth”: null,
“host”: “ring2apacmeetings.resources.lync.com”,
“port”: 443,
“hostname”: “ring2apacmeetings.resources.lync.com”,
“hash”: null,
“search”: “?endpointId=sip:sample@xxxxx.onmicrosoft.com”,
“query”: “endpointId=sip:sample@xxxxx.onmicrosoft.com”,
“pathname”: “/platformservice/v1/applications/3213816010/anonApplicationTokens”,
“path”: “/platformservice/v1/applications/3213816010/anonApplicationTokens?endpointId=sip:sample@xxxxx.onmicrosoft.com”,
“href”: “https://ring2apacmeetings.resources.lync.com/platformservice/v1/applications/3213816010/anonApplicationTokens?endpointId=sip:sample@xxxxx.onmicrosoft.com”
},
“method”: “POST”,
“headers”: {
“Authorization”: “Bearer eyJ…”,
“accept”: “application/json”,
“content-type”: “application/json”,
“content-length”: 112
}
}

Like

]]>