-
Notifications
You must be signed in to change notification settings - Fork 1k
Description
Category
- Bug
Describe the bug
I'm trying to add a custom spfx webpart to a channel in MS Teams by using this endpoint
POST https://graph.microsoft.com/v1.0/teams/{id}/channels/{id}/tabs
and this body
{
"displayName": "",
"teamsApp@odata.bind" : "https://graph.microsoft.com/v1.0/appCatalogs/teamsApps/",
}
Before last week (8th of June, 2020), every time I used to use the endpoint, there was popup window in the tab saying 'Setup this tab' and Save button.
Now the tab is just empty. It works if I add the spfx webpart manully via the add button.
Steps to reproduce
- Follow the guidelines to create spfx webpart for Teams.
- Push the app to Teams from the App catalog.
- Use the Graph endpoint to add the webpart as a tab to a channel
Expected behavior
The tab should not be empty and the spfx webpart should be loaded in the tab.
Environment details (development & target environment)
DELETE THIS LINE BEFORE SUBMITTING - Complete the following (if ignored you'll be prompted for it before we can address your issue... save the time and provide it in your initial submission).
- Your Developer Environment: Windows 10
- Target Environment: SharePoint Online
- Framework: Node.js v10
- Browser(s): Chrome v79
- Tooling: VS Code | SPFx v1.10.0 | Visual Studio 2019]