Forum Discussion
ppedersen85
Feb 09, 2021Copper Contributor
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.
- fcain655Copper Contributor
Same issue. Started on Monday and couldn't have happened at the worst possible time.
Anyone found a solution?
- Ramy_BouslimiCopper 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- Henry ScheininCopper ContributorWorks! Thank you.
- Henry ScheininCopper ContributorSame problem here.
- Ramy_BouslimiCopper Contributor
ppedersen85 We have the same issue. It was working last week. I guess it is a temporary problem.
- ppedersen85Copper Contributor
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_BouslimiCopper ContributorSo you have changed nothing and it works? I am still getting this message.
- ManuB1655Copper Contributor
ppedersen85 same error for me
I think it's temporary error, it worked yesterday