Extending Teams tabs and personal apps with web parts
Web parts can also be used to extend Microsoft Teams functionality by either adding them as tabs on Teams channels or using them as personal apps that are accessed from Teams’ left rail menu. SharePoint supplies the hosting platform for the application, so there is no need for any external hosting platform for running the application. Deployment is also simple; the application is first deployed to the SharePoint App Catalog and can be deployed at the same time or later as an organization app to Microsoft Teams.
Enabling a web part on Teams is done in a similar way to single app part pages. The support is defined in the web part’s manifest using the supportedHosts
property. Support for the Teams tab is enabled using the TeamsTab
parameter and for personal apps using the TeamsPersonalApp
parameter. Both settings are enabled when the project is created:
"supportedHosts": ["SharePointWebPart"...