Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
Windows
What browser(s) / client(s) have you tested
Additional environment details
- Node: v18.20.4
- Windows 11
- Gulp CLI version: 3.0.0
- Gulp Local version: 4.0.2
Describe the bug / error
Hello everyone,
i currently have a spfx app which worked for the last 1.5 Years now. I updated the app and now im unable to add the application to teams anymore, without any (informational) error. So i tried to create a new app and can reproduce this behaviour with it.
Steps to reproduce
yo @microsoft/sharepoint
- Which client-site component: WebPart
- Template: Minimal
- Execute inside folder:
gulp clean && gulp bundle && gulp package-solution --production
- Take the sppkg file from /sharepoint/solution folder and upload it in .sharepoint.com/sites/appcatalog/_layouts/15/tenantAppCatalog.aspx/manageApps
- During upload it will ask to add it to teams, check it
- After upload, go to teams in an existing channel, add a new tab and search for the Project (name given in step 1)
- it will fail
I opened developer console and saw an request which fails everytime i try to add the app. It calls .sharepoint.com/_api/web/hostedapps/add which results in 500 Internal Server Error with this body.
{
"error": {
"code": "-2146232832, Microsoft.SharePoint.SPException",
"message": "hostedAppConfigsList null"
}
}
Any help would be appreciated!
Expected behavior
The app should be able to add as Teams Tab, as before, or if the error is right - it should display a meaningful message
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
Windows
What browser(s) / client(s) have you tested
Additional environment details
Describe the bug / error
Hello everyone,
i currently have a spfx app which worked for the last 1.5 Years now. I updated the app and now im unable to add the application to teams anymore, without any (informational) error. So i tried to create a new app and can reproduce this behaviour with it.
Steps to reproduce
yo @microsoft/sharepointgulp clean && gulp bundle && gulp package-solution --productionI opened developer console and saw an request which fails everytime i try to add the app. It calls .sharepoint.com/_api/web/hostedapps/add which results in 500 Internal Server Error with this body.
Any help would be appreciated!
Expected behavior
The app should be able to add as Teams Tab, as before, or if the error is right - it should display a meaningful message