Open casvaniersel opened 3 days ago
Hey @lucabandMSFT and @patmill do you know if there is a restriction here or am I doing something wrong? Couldn't find anything about this issue at all.
hey @casvaniersel, I'm confused: you say you are trying to add an SPFx app to a Teams channel but then I see this in the manifest above that should be the opposite (meaning: add a Teams app to a SharePoint page) "supportedSharePointHosts": ["sharePointFullPage", "sharePointWebPart"]
Can you try to remove that from the manifest and see if it fixes the issue?
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
macOS
What browser(s) / client(s) have you tested
Additional environment details
Describe the bug / error
I've created an SPFx WebPart that is supposed to serve as a Teams Tab in Shared Channels given the environment details above and used https://dev.teams.microsoft.com to create a manifest file with schema version 1.17 (for complete manifest see below). When testing my Tab, as an Admin I can add it to a General Channel and a Private Channel but not to a Shared Channel. The message Teams is giving me is "App isn't supported in Shared Channels. Select another channel"
When adding the Tab to a General or Private channel I can see that our code is working fine.
I also came across this blogpost: https://pnp.github.io/blog/post/how-to-add-preconfigured-spfx-teams-tab from which I learned that one specific feature that is required, is not activated in Shared Channels. After activating this Feature, I'm still not able to add the Tab.
Manifest:
Steps to reproduce
Expected behavior
Based on the fact that our Tab is working for General and Private Channels, I would expect it to work for Shared Channels too.