Hi everyone,
I am working on a project in which i dynamically add tabs to all channels of a team
I was currently trying to add a SharePoint files tab to the channels but I always get the following error:
{
"error": {
"code": "Forbidden",
"message": "Exception encountered from Sharepoint for requestId c91f07a1-d063-8000-0215-8b144c4ec622",
"innerError": {
"code": "AccessDenied",
"message": "Exception encountered from Sharepoint for requestId c91f07a1-d063-8000-0215-8b144c4ec622",
"details": [],
"date": "2024-01-31T13:57:46",
"request-id": "be15743a-6e5e-4c6b-98f7-e7776ea39860",
"client-request-id": "be15743a-6e5e-4c6b-98f7-e7776ea39860"
}
}
}I thought it was because I did not have the rights to add tabs to channels but I do have them because in the same script I added a planner tab without any issue.
Here is what I send in the post request:
{
"displayName": "DOCUMENTS",
"teamsApp@odata.bind": "https://graph.microsoft.com/v1.0/appCatalogs/teamsApps/com.microsoft.teamspace.tab.files.sharepoint",
"configuration": {
"entityId": "",
"contentUrl": "https://[our tenant name].sharepoint.com/sites/234TESTING1/234%20Dokumente",
"websiteUrl": null
}
}
The weirdest thing is that a few days ago it was working but now it isn't.
Am I doing something wrong without noticing it?
Are there some changes that were made to the API?

Report
All responses (
Answers (