Forum Discussion
KeffaKlumpen
Nov 02, 2023Copper Contributor
Teams Tabs App - Finding the current team/site
I am currently developing a teams app that will be added to a few different teams. We are using C# / .cshtml / Razor and the app consists of a few RazorComponents which performs different Graph oper...
- Nov 05, 2023We found the solution to why the TeamsContext object was not being assigned any data:
In the manifest.json we had to add the "team" scope to our tab!
Here we found the ChannelContext which contains a RelativeUrl we can extract the site name from!
Sayali-MSFT
Microsoft
Nov 02, 2023KeffaKlumpen-Thanks for reporting your issue.
We will check this at our end and will get back to you.
We will check this at our end and will get back to you.