Forum Discussion

ppedersen85's avatar
ppedersen85
Copper Contributor
Feb 09, 2021

Error creating sharepoint page as an Teams app with App Studio

Hi,

 

I have tried to follow this guide https://docs.microsoft.com/en-us/sharepoint/dev/features/embed-pages-to-teams to add a "intranet" button on the left sidebar in Teams. 

 

When I try to install the app, I get an error message that says: Something went wrong. If you want more information go to aka.ms/teamsdocs.(translated from norwegian).

When testing the app I only get this error message:

If I remove "https://nmasno.sharepoint.com" from the resource info under it says:

  • MPNID cannot be empty
  • StaticTabs are only supported in personal scope

 

Here`s the app manifest:

 

{
  "$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.9/MicrosoftTeams.schema.json",
  "manifestVersion": "1.9",
  "version": "1.0.0",
  "id": "bd35e7e3-50b0-403b-82f3-6a9943aa1099",
  "packageName": "com.nmas.portal.app.nyttiginfo",
  "developer": {
    "name": "Nerliens Meszansky",
    "websiteUrl": "https://www.nmas.no",
    "privacyUrl": "https://www.nmas.no/om-oss",
    "termsOfUseUrl": "https://www.nmas.no/om-oss"
  },
  "icons": {
    "color": "color.png",
    "outline": "outline.png"
  },
  "name": {
    "short": "Nyttig info",
    "full": "Interninfo til ansatte i Nerliens Meszansky"
  },
  "description": {
    "short": "Intern side for nyttig info",
    "full": "Dette er en Teams app som peker til en Sharepoint-side som samler all nyttig info internt i NMAS.\n- Patrick P."
  },
  "accentColor": "#FEAE25",
  "staticTabs": [
    {
      "entityId": "1971917",
      "name": "FirmaHub",
      "contentUrl": "https://nmasno.sharepoint.com/sites/intranett/_layouts/15/teamslogon.aspx?SPFX=true&dest=/sites/intranett/SitePages/Home.aspx",
      "scopes": [
        "personal"
      ]
    }
  ],
  "permissions": [
    "identity",
    "messageTeamMembers"
  ],
  "validDomains": [
    "nmasno.sharepoint.com"
  ],
  "webApplicationInfo": {
    "id": "00000003-0000-0ff1-ce00-000000000000",
    "resource": "https://nmasno.sharepoint.com"
  }
}

 

 

Attached you will also find the app package

 

I have tested this inn App studio for Teams in MacOS 11.2 and Teams in Windows 10.

  • fcain655's avatar
    fcain655
    Copper Contributor

    ppedersen85 

     

    Same issue. Started on Monday and couldn't have happened at the worst possible time.

    Anyone found a solution?

    • Ramy_Bouslimi's avatar
      Ramy_Bouslimi
      Copper Contributor

      There is a Workaround for this. Just Upload the application directly through the admin center. Even if the App is throwing exceptions (and even if they are not valid). You are still able to deploy the app in your tenant through the admin center.

      Greetings
      Ramy

    • ppedersen85's avatar
      ppedersen85
      Copper Contributor

      Ramy_Bouslimi 

       

      Hi. It works now so probably something that needs to activate before using it.

       

      Is this a app solution stable? Im thinking about using this app as a main button for our company portal (intranet) like a one-stop shop for internal information, policies and routines.

      • Ramy_Bouslimi's avatar
        Ramy_Bouslimi
        Copper Contributor
        So you have changed nothing and it works? I am still getting this message.
    • Pjones82's avatar
      Pjones82
      Copper Contributor
      I'm getting the same issue - before this, I got a perpetual loading circle in the desktop app, but in web version it worked fine.
      Now I can't publish at all.
      I have an open ticket with Microsoft to investigate

Resources