Forum Discussion
rodrigolicata
May 10, 2022Copper Contributor
Cannot retrieve Teams token from Side Panel
Hi, I'm trying to get the Teams Token in the in-meeting side-panel. Currently, I can get the Teams token in static tabs, but when I add the App in a meeting and I try to get the Teams Token I have th...
rodrigolicata
May 17, 2022Copper Contributor
The content of webApplicationInfo section is the following:
"webApplicationInfo": {
"id": "{{AZURE_APP_ID}}",
"resource": "api://demo.localhost.localdomain/{{AZURE_APP_ID}}",
"applicationPermissions": ["OnlineMeeting.ReadBasic.Chat"]
}
The tab app's domain is: demo.localhost.localdomain:3021
The port is not included in the resource URL, but it's needed?
Sayali-MSFT
Microsoft
May 19, 2022Yes. you need to add port in the resource URL.
- rodrigolicataMay 19, 2022Copper Contributor
Sayali-MSFT I tested the App with the following conditions:
Put the port only in the manifest: it brakes the App because I can't sign in.
Put the port only in Azure portal: the App works but I can't get the token from static tab (if I don't put the port in both sides I can get the token from static tab). There is an error.
And If I have it in both places I have the same error of having the port only in the manifest.
- Sayali-MSFTMay 20, 2022
Microsoft
Could you please check the below thread hope it's helpful-
https://github.com/OfficeDev/TeamsFx/issues/2039?msclkid=fa862349cf8811ecb87368b5ecf8d19e- Sayali-MSFTMay 23, 2022
Microsoft
rodrigolicata -Did you get the chance to check the above thread?