I am trying to create a Teams tab for showing Document library content. I referred the configuration mentioned in to create the tab with configured document library.
POST .0/teams/{team-id}/channels/{channel-id}/tabs
{
"displayName": "Document%20Library1",
"[email protected]": ".0/appCatalogs/teamsApps/com.microsoft.teamspace.tab.files.sharepoint",
"configuration": {
"entityId": "",
"contentUrl": ";,
"removeUrl": null,
"websiteUrl": null
}
}
Though I get the 201 Created response, the tabs view is seen like this:
I expect to see the library content loaded in the tab when I open the tab. If I create the tab from Teams manually, I can see the document library content when I open the tab.
I tried keeping entityId as empty and with some unique string but both didn't work. Anything that I am missing?