Forum Discussion
MrTimn
Oct 05, 2023Copper Contributor
Teams static Tab App not working in new Teams.
I've developed a react application that works as expected in classic teams. I can run the application locally using Teams Toolkit with no problems. I have also deployed the application to the teams...
Sayali-MSFT
Microsoft
Oct 12, 2023Hello MrTimn -We are not receiving any message with subject discussion.
MrTimn
Oct 16, 2023Copper Contributor
Odd not sure why you wouldn't receive messages.
I was able to resolve the issue. The app I'm developing has the requirement of working inside of teams and as a standalone website. When running in teams the application is using the Pernille-Eskebo/teamsfx-react library. Outside of teams it is authenticating with the azure/msal-react library. I was using context.app.host.name to determine what authentication to use. Turns out classic teams and new teams have a different host name.... 🤦:male_sign: Thank you for your help.
I was able to resolve the issue. The app I'm developing has the requirement of working inside of teams and as a standalone website. When running in teams the application is using the Pernille-Eskebo/teamsfx-react library. Outside of teams it is authenticating with the azure/msal-react library. I was using context.app.host.name to determine what authentication to use. Turns out classic teams and new teams have a different host name.... 🤦:male_sign: Thank you for your help.
- Sayali-MSFTOct 17, 2023
Microsoft
MrTimn -Glad to hear that your issue is resolved.