Forum Discussion

Daniel Westerdale's avatar
Daniel Westerdale
Iron Contributor
Jul 02, 2020
Solved

Manifest issue with:No-code solution to expose SharePoint pages in Microsoft Teams as a personal app

 

I have been trying out Vesa's  https://www.youtube.com/watch?v=G73jxqtjuIE  . In my  version of App Studio running in the web client, the system auto creates and about tab.

 

The intranet tab is as per the video, albeit a page on my dev tenant.  Unfortunately, the  about tab is non editable and can't be deleted in the UI . When I try to upload the application file, I get the following error:

 

 

 

Error while reading manifest.json: "staticTabs[0].name" is required 
 "staticTabs[0].contentUrl" is required 

 

 

When I extact the manifest file, I can remove the About entry ( see below) , re-assemble the package and upload again . However, this just generates an exception.  Is there something I am missing and, or have outstanding demo god debts 🤔?

 

 

 

  },
    "name": {
        "short": "Company intranet",
        "full": "Company Intranet"
    },
    "description": {
        "short": "My great intranet app",
        "full": "Demo of the intranet which I surface as a personal app"
    },
    "accentColor": "#267938",
    "staticTabs": [
        {
            "entityId": "about",
            "scopes": [
                "personal"
            ]
        },
        {
            "entityId": "1010",
            "name": "Intranet",
            "contentUrl": "https://mytenant.sharepoint.com/_layouts/15/teamslogon.aspx?SPFX-=true@dest=/sites/DemoTheLanding/SitePages/home.aspx",
            "scopes": [
                "personal"
            ]
        }
    ],
    "permissions": [
        "identity",
        "messageTeamMembers"
    ],
    "validDomains": [
        "mytenant.sharepoint.com"
    ],
    "webApplicationInfo": {
        "id": "00000003-0000-0ff1-ce00-000000000000",
        "resource": "https://mytenant.sharepoint.com"

 

 

 

 

 

 

 

  • Daniel Westerdale 

    Update as staticTabs as below and re-upload the solution.

     

     "staticTabs": [
            {
                "entityId": "Home Tab",
                "name": "Home",
                "contentUrl": "https://<your-tenant>.sharepoint.com/_layouts/15/teamslogon.aspx?SPFX=true&dest=/sites/SPDemo",
                "websiteUrl": "https://<your-tenant>.sharepoint.com/sites/SPDemo",
                "scopes": [
                    "personal"
                ]
            }
        ]

     

7 Replies

  • Daniel Westerdale 

    Update as staticTabs as below and re-upload the solution.

     

     "staticTabs": [
            {
                "entityId": "Home Tab",
                "name": "Home",
                "contentUrl": "https://<your-tenant>.sharepoint.com/_layouts/15/teamslogon.aspx?SPFX=true&dest=/sites/SPDemo",
                "websiteUrl": "https://<your-tenant>.sharepoint.com/sites/SPDemo",
                "scopes": [
                    "personal"
                ]
            }
        ]

     

    • Daniel Westerdale's avatar
      Daniel Westerdale
      Iron Contributor

      NanddeepNachan 

       

      Thanks for the suggestion. Unfortunately for me this hasn't worked:cry:

       

       

       

      {
          "$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.7/MicrosoftTeams.schema.json",
          "manifestVersion": "1.7",
          "version": "1.0.0",
          "id": "????",
          "packageName": "com.wsl.portal.app",
          "developer": {
              "name": "Coder 365",
              "websiteUrl": "https://westerdale.blog",
              "privacyUrl": "https://parkersplace.com/privacy",
              "termsOfUseUrl": "https://parkersplace.com/termsofuse"
          },
          "icons": {
              "color": "color.png",
              "outline": "outline.png"
          },
          "name": {
              "short": "Company intranet",
              "full": "Company Intranet"
          },
          "description": {
              "short": "My great intranet app",
              "full": "Demo of the intranet which I surface as a personal app"
          },
          "accentColor": "#267938",
          "staticTabs": [
              {
                  "entityId": "Home Tab",
                  "name": "Intranet",
                  "contentUrl": "https://<my-tenant>.sharepoint.com/_layouts/15/teamslogon.aspx?SPFX=true@dest=/sites/DemoTheLanding",
                  "websiteUrl": "https://<my-tenant>.sharepoint.com/sites/DemoTheLanding",
                  "scopes": [
                      "personal"
                  ]
              }
          ],
          "permissions": [
              "identity",
              "messageTeamMembers"
          ],
          "validDomains": [
              "<my-tenant>.sharepoint.com"
          ],
          "webApplicationInfo": {
              "id": "00000003-0000-0ff1-ce00-000000000000",
              "resource": "https://<my-tenant>.sharepoint.com"
          }
      }

       

       

      If this only not working for me in this FR tenant then it is either the manifest or something else going on in my tenant e.g. the senstivity labels I have been recently testing.  Tomorrow I will repeat on my other tenant. 

       

      • NanddeepNachan's avatar
        NanddeepNachan
        Learn Expert

        Daniel Westerdale 

        One thing I forgot to mention,

        After you re-zip the package, don't import the zip in App Studio > Manifest editor > Import an existing app.

        Rather, upload it as a custom app (like shown below) and it works.

         

  • Daniel Westerdale 

    I am too facing the same issue. This seems to be a recent issue with MS Teams. It is adding an extra non-editable "about" tag and causing the issue.

Resources