Workaround. SharePoint App Catalog: Sync to Teams button doesn't work.

Currently "Sync to Teams" button in SharePoint App Catalog doesn't work or works unstable.
Here is a related issue
As a result, if you create a new SPFx project based on v1.8 you will not be able to add it to Teams organizational store.
You will still be able to do that if you create your own Team's app manifest (it was generated by Yeoman SPFx generator v1.7.1) and create a .zip archive to contain this manifest and icons from teams folder.
As the manifest file is no longer generated I decided to provide its content here.

  "$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.2/MicrosoftTeams.schema.json",
  "manifestVersion": "1.2",
  "packageName": "YOUR_PACKAGE_NAME",
  "id": "YOUR_WEB_PART_ID",
  "version": "0.1",
  "developer": {
    "name": "Dev",
    "websiteUrl": "https://products.office.com/en-us/sharepoint/collaboration",
    "privacyUrl": "https://privacy.microsoft.com/en-us/privacystatement",
    "termsOfUseUrl": "https://www.microsoft.com/en-us/servicesagreement"
  "name": {
    "short": "TEAMS_APP_NAME"
  "description": {
  "icons": {
    "outline": "YOUR_WEB_PART_ID_outline.png",
    "color": "YOUR_WEB_PART_ID_color.png"
  "accentColor": "#004578",
  "configurableTabs": [
      "configurationUrl": "https://{teamSiteDomain}{teamSitePath}/_layouts/15/TeamsLogon.aspx?SPFX=true&dest={teamSitePath}/_layouts/15/teamshostedapp.aspx%3FopenPropertyPane=true%26teams%26componentId=YOUR_WEB_PART_ID",
      "canUpdateConfiguration": false,
      "scopes": [
  "validDomains": [
  "webApplicationInfo": {
    "resource": "https://{teamSiteDomain}",
    "id": "00000003-0000-0ff1-ce00-000000000000"
You can take this JSON, replace YOUR_PACKAGE_NAME,YOUR_WEB_PART_ID,TEAMS_APP_NAME,TEAMS_APP_DESCRIPTION, save as manifest.json in teams folder, create .zip archive that contains teams content and upload to Teams Organizational Store.
One note: do not create .zip archive in teams folder as it leads to issues when adding SPFx solution to the App Catalog.

That's all for today!
Have fun!

No comments:

Post a Comment