Forum Discussion
zhy_qian
Dec 03, 2021Copper Contributor
Problems with teams desktop calling Microsoft Teams JavaScript client SDK
Please refer to the following URL for the SDK used: https://docs.microsoft.com/en-us/javascript/api/overview/msteams-client?view=msteams-client-js-latest https://docs.microsoft.com/en-us/javascript...
zhy_qian
Dec 15, 2021Copper Contributor
I am trying the tab authentication
Please refer to the picture in the attachment for the code.
In the desktop of teams, when executing the code shown in the attachment, the code does not recognize the current execution environment of the application.(During the observation of the source code, it is found that the value of "hostClientType" is undefined).
As a result, the internal browser of teams desktop is not opened, but the local IE browser is opened.
Opening the local IE browser will cause errors in my application.
Does the team desktop have a built-in browser? And please help check whether the code is correct.
Thank you.
Meghana-MSFT
Dec 17, 2021Former Employee
zhy_qian - Could you please go through the following code sample and verify your code - Code sample