Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
other (enter in the "Additional environment details" area below)
Developer environment
Windows
What browser(s) / client(s) have you tested
Additional environment details
C# Azure Functions running batch Graph API v1 calls to add tabs to channels in Teams.
Describe the bug / error
In half of all provisioned tabs, the user cannot create a new folder or document.

Looking at the network traffic, I can see it seems to be finding an incorrect library ID (we only pass a URL when setting up the tab as a parameter).
Request URL: https://teams.microsoft.com/api/mt/emea/beta/channels/19:NSCIdOTjPDJq5UDWudWT-4Ormib_rkAlgSawr_SJZ7Y1@thread.tacv2/sharepoint/files/folders?parentServerRelativeUrl=%2Fsites%2FCPP_Subjects_6%2FShared%20Documents&teamSiteUrl=https%3A%2F%2Fclouddesignboxltd.sharepoint.com%2Fsites%2FCPP_Subjects_6&itemName=tgest&libraryId=**C3A1D495F3804C3E925321ABC9913BB8**
Request Method: POST
Status Code: 403
If the tab is added manually, looking at the network call, the library ID is different. Seems to be an issue between the internal Teams API calling the library and getting the wrong ID.
Steps to reproduce
@apringle to supply more details on APIs called.
Batch call to add SharePoint library tabs to channels
POST https://graph.microsoft.com/V1.0/teams/{groupId}/channels/{channelId}/tabs
{
"teamsApp@odata.bind": "https://graph.microsoft.com/v1.0/appCatalogs/teamsApps/com.microsoft.teamspace.tab.files.sharepoint",
"name": "test",
"sortOrderIndex": "10",
"configuration": {
"contentUrl": "https://contoso.sharepoint.com/sites/test/libraryName"
}
}
Expected behavior
The libraries are expected to work even when creating documents/folders. However, half of the tabs error when creating folders or new documents.
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
other (enter in the "Additional environment details" area below)
Developer environment
Windows
What browser(s) / client(s) have you tested
Additional environment details
C# Azure Functions running batch Graph API v1 calls to add tabs to channels in Teams.
Describe the bug / error
In half of all provisioned tabs, the user cannot create a new folder or document.

Looking at the network traffic, I can see it seems to be finding an incorrect library ID (we only pass a URL when setting up the tab as a parameter).
Request URL: https://teams.microsoft.com/api/mt/emea/beta/channels/19:NSCIdOTjPDJq5UDWudWT-4Ormib_rkAlgSawr_SJZ7Y1@thread.tacv2/sharepoint/files/folders?parentServerRelativeUrl=%2Fsites%2FCPP_Subjects_6%2FShared%20Documents&teamSiteUrl=https%3A%2F%2Fclouddesignboxltd.sharepoint.com%2Fsites%2FCPP_Subjects_6&itemName=tgest&libraryId=**C3A1D495F3804C3E925321ABC9913BB8**
Request Method: POST
Status Code: 403
If the tab is added manually, looking at the network call, the library ID is different. Seems to be an issue between the internal Teams API calling the library and getting the wrong ID.
Steps to reproduce
@apringle to supply more details on APIs called.
Batch call to add SharePoint library tabs to channels
POST https://graph.microsoft.com/V1.0/teams/{groupId}/channels/{channelId}/tabs
{
"teamsApp@odata.bind": "https://graph.microsoft.com/v1.0/appCatalogs/teamsApps/com.microsoft.teamspace.tab.files.sharepoint",
"name": "test",
"sortOrderIndex": "10",
"configuration": {
"contentUrl": "https://contoso.sharepoint.com/sites/test/libraryName"
}
}
Expected behavior
The libraries are expected to work even when creating documents/folders. However, half of the tabs error when creating folders or new documents.