Dec 13 2021 09:06 AM
I am trying to upgrade an old Teams app used on the left rail that opens the homepage of a SharePoint site. I got an app more or less working in https://dev.teams.microsoft.com/apps, however, while continuing to work on it, the app now does not load. The issue may have to do with authentication and the choice of urls. I attach the manifest file.
The key issues may be in the webApplicationInfo, where I copied the resource from the AAD registration for the app, and in the contentURL, which I copied from a prior working app. I think some small modification of this manifest will work, but I cannot get the right combination. Thanks.
{
"manifestVersion": "1.11",
"name": {
"short": "GradEvol",
"full": ""
},
"icons": {
"color": "color.png",
"outline": "outline.png"
},
"packageName": "com.package.name",
"description": {
"short": "Show homepage for Puzzles class",
"full": "Show homepage for Puzzles class"
},
"webApplicationInfo": {
"resource": "api://[AAD CLIENT APP ID]", # OBTAINED FROM AAD REGISTRATION
"id": "[AAD CLIENT APP ID]"
},
"accentColor": "#ffffff",
"version": "1.0.4",
"validDomains": [
"mydomain.sharepoint.com",
"resourceseng.blob.core.windows.net",
"*.sharepoint-df.com",
"teams.microsoft.com",
"*.login.microsoftonline.com",
"*.mysite.org"
],
"$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.11/MicrosoftTeams.schema.json",
"devicePermissions": [
"openExternal"
],
"staticTabs": [
{
"contentUrl": "https://mydomain.sharepoint.com/sites/gradevol22/_layouts/15/teamslogon.aspx?SPFX=true&dest=/sites/gradevol22",
"websiteUrl": "https://mydomain.sharepoint.com/sites/gradevol22",
"entityId": "1bb75087-4a4f-4aae-988c-87cff583e574",
"name": "GradEvol",
"scopes": [
"personal"
]
},
{
"scopes": [
"personal"
],
"entityId": "about"
}
],
"id": "31aa7c4c-1a7f-47dc-b1bc-59a3fe9f8b26",
"developer": {
"websiteUrl": "https://mysite.org",
"mpnId": "",
"termsOfUseUrl": "https://mysite.org/stevehome.html",
"name": "Steve",
"privacyUrl": "https://mysite.org/stevehome.html"
}
}
Dec 13 2021 09:26 AM
Dec 13 2021 12:31 PM
Dec 13 2021 03:40 PM