-
Notifications
You must be signed in to change notification settings - Fork 1k
Description
Select the SPfx solution in the app catalog, click Sync to Teams -> error message "Failed to sync solution to Teams", further investigation in dev tools reveals the following error message: {"error":{"code":"-1, System.Net.WebException","message":{"lang":"en-US","value":"The remote server returned an error: (403) Forbidden."}}}
Some additional details:
-The user is a global admin
-The same solution with the same user was syncing successfully yesterday
-Tried new solution on different tenants, same issue
-I think it has something to do with the new teams admin portal, the old 'Allow sideloading of external apps' in the o365 admin center is off and disabled
and you are directed to the new Teams Admin portal, but everything there is enabled as well
Steps to reproduce
- Create a new SPfx solution for a Teams Tab following the steps here: https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/get-started/using-web-part-as-ms-teams-tab
- Click Sync to Teams, error occurs instead of the success message
Expected behavior
Sync to teams successfully
Developer environment
- OS: Windows 10, SharePoint Onine
- Framework: SPfx 1.10.0
- Browser(s): any
- Tooling: VS Code