tools icon indicating copy to clipboard operation
tools copied to clipboard

Error uploading app

Open rhusted opened this issue 4 years ago • 4 comments

The GettingStarted App I downloaded here uploads to my Teams environment without issue, but obviously the links do not work. So following the guidance I unzipped the file, modified the URLs and re-zipped the file. My newly re-zipped file will not upload. I have zipped the file using both Windows 10 and WinZip. I'm very interested in using this App to help our clients roll out Teams. Is there a step I'm missing in order to upload the file correctly? Screenshot 2020-10-29 081431

rhusted avatar Oct 29 '20 15:10 rhusted

Check out the instructions where it notes you have to increment the version number of the app to reupload once you've made changes. The app system reads the number on line 4 "version". Out of good habit I will also update line 3 "manifest version" so that I can tell between changes in case I need to roll it back. Let us know if that helped.

karuanag avatar Nov 11 '20 02:11 karuanag

Thank you very much Karuana. I'm making some progress now. Looking forward to setting this up for our customers.

Rob Husted CompuNet Inc.

-------- Original message -------- From: "Karuana Gatimu [MSFT]" [email protected] Date: 11/10/20 6:27 PM (GMT-08:00) To: msft-teams/tools [email protected] Cc: rhusted [email protected], Author [email protected] Subject: Re: [msft-teams/tools] Error uploading app (#39)

Check out the instructions where it notes you have to increment the version number of the app to reupload once you've made changes. The app system reads the number on line 4 "version". Out of good habit I will also update line 3 "manifest version" so that I can tell between changes in case I need to roll it back. Let us know if that helped.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/msft-teams/tools/issues/39#issuecomment-725087848, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARR6MHKDALQHFVNTR5F4L3TSPHY7XANCNFSM4TD3Z6VA.

rhusted avatar Nov 11 '20 22:11 rhusted

Having a similar issue at a new client , and i cannot get this to work, made the changes above and got the same error.

jasonwbaxter avatar Dec 07 '20 08:12 jasonwbaxter

@jasonwbaxter @karuanag - This seems to be related to some backend service. If you try to upload the app package through the Teams Admin Center, and use F12 Dev Tools in the Chrome/MSEdge browser, you will see that the POST call to Request URL: https://graph.microsoft.com/beta/appCatalogs/teamsApps fails with the following:

{ "error": { "code": "Forbidden", "message": "Failed to execute AuthService backend request GetSkypeTokenRequest. Workload Unknown. Request Url: https://authsvc-server.teams.microsoft.com/v1.0/authz, Request Method: POST, Response Status Code: Forbidden, Response Headers: Strict-Transport-Security: max-age=31536000; includeSubDomains\r\nDate: Tue, 05 Jan 2021 20:44:59 GMT\r\nServer: Kestrel\r\n, Reason Phrase: Forbidden", "innerError": { "date": "2021-01-05T20:45:00", "request-id": "2dc68499-6a01-4b73-bcc0-5292ab9d27fe", "client-request-id": "2dc68499-6a01-4b73-bcc0-5292ab9d27fe" } } }

In our case, the following diagnostics information is in the request header.

x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"North Central US","Slice":"SliceC","Ring":"2","ScaleUnit":"000","RoleInstance":"AGSFE_IN_33"}}

alisalih1 avatar Jan 05 '21 20:01 alisalih1