Bug? app catalog seems to be broken after many install/uninstall's of test app, no longer installs

%3CLINGO-SUB%20id%3D%22lingo-sub-1292230%22%20slang%3D%22en-US%22%3EBug%3F%20app%20catalog%20seems%20to%20be%20broken%20after%20many%20install%2Funinstall's%20of%20test%20app%2C%20no%20longer%20installs%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1292230%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20been%20uploading%20my%20own%20app%20to%20our%20organization%20and%20removing%20it%20multiple%20times%20via%20the%20POST%20%2FappCatalogs%2FteamsApps%20endpoint%20then%20removing%20it%20via%20the%20Teams%20admin%20portal.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAfter%20a%20while%20I%20would%20get%20an%20error%20in%20the%20Teams%20admin%20portal%20when%20I%20tried%20to%20remove%20it%20from%20the%20App%20Catalog.%20Eventually%20it%20would%20work%20itself%20out.%20(Error%20screen%20captured%20in%20attached%20image)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENow%20the%20application%20does%20not%20show%20up%20in%20the%20Teams%20admin%20app%20catalog%20portal%2C%20or%20via%20calling%20GET%20%2FappCatalogs%2FteamsApps.%20BUT%20I%20get%20a%20400%20error%20when%20trying%20to%20upload%20the%20same%20app%20manifest%20file%20that%20succeeded%20before%20AND%20after%20manually%20uploading%20the%20manifest%20zip%20file%20into%20teams%2C%20teams%20stalled%20for%20a%20bit%20but%20now%20shows%20the%20app%20icon%20without%20the%20image.%20The%20application%20still%20is%20not%20listed%20in%20our%20catalog.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESince%20this%20is%20still%20under%20development%20I%20tried%20to%20change%20the%20App%20ID%20and%20continue%20on%2C%20but%20this%20had%20the%20same%20result.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20my%20developer%20instance%20of%20Teams%2C%20the%20app%20still%20shows%20in%20the%20Teams%20admin%20app%20catalog%20portal%2C%20but%20attempting%20to%20delete%20it%20results%20in%20an%20error.%20The%20app%20also%20does%20not%20show%20up%20when%20trying%20the%20endpoint%20GET%26nbsp%3B%2FappCatalogs%2FteamsApps.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20this%20a%20bug%20internally%20to%20Microsoft%3F%3CBR%20%2F%3E%3CBR%20%2F%3EUPDATE%3A%20I%20made%20another%20completely%20different%20barebones%20test%20app%20with%20the%20App%20Studio%20and%20I%20get%20the%20same%20400%20error%20when%20attempting%20to%20POST%20%2FappCatalogs%2FteamsApps%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1292230%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdministrator%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1294900%22%20slang%3D%22en-US%22%3ERe%3A%20Bug%3F%20app%20catalog%20seems%20to%20be%20broken%20after%20many%20install%2Funinstall's%20of%20test%20app%2C%20no%20longer%20instal%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1294900%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F567036%22%20target%3D%22_blank%22%3E%40adamhouck%3C%2FA%3E%26nbsp%3B%2C%20Could%20you%20please%20provide%20us%20the%20manifest%20so%20we%20can%20test%20it%20at%20our%20end%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1295335%22%20slang%3D%22en-US%22%3ERe%3A%20Bug%3F%20app%20catalog%20seems%20to%20be%20broken%20after%20many%20install%2Funinstall's%20of%20test%20app%2C%20no%20longer%20instal%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1295335%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F371090%22%20target%3D%22_blank%22%3E%40Trinetra-MSFT%3C%2FA%3E%26nbsp%3Bsure%2C%20please%20see%20the%20attached%20file.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EJust%20to%20clarify%20the%20manifest%20seems%20to%20install%20fine%20manually%2C%20its%20just%20when%20using%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3EPOST%20%3CA%20href%3D%22https%3A%2F%2Fgraph.microsoft.com%2Fv1.0%2FappCatalogs%2FteamsApps%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgraph.microsoft.com%2Fv1.0%2FappCatalogs%2FteamsApps%3C%2FA%3E%3CBR%20%2F%3EContent-type%3A%20application%2Fzip%3CBR%20%2F%3EContent-length%3A%20%7Bsize%7D%3C%2FP%3E%3CP%3E%5BZip%20file%20containing%20a%20Teams%20app%20package%5D%3CBR%20%2F%3E%3CBR%20%2F%3EThat%20seems%20to%20create%20issues.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1297056%22%20slang%3D%22en-US%22%3ERe%3A%20Bug%3F%20app%20catalog%20seems%20to%20be%20broken%20after%20many%20install%2Funinstall's%20of%20test%20app%2C%20no%20longer%20instal%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1297056%22%20slang%3D%22en-US%22%3E%3CP%3EGood%20news%2C%20after%20manually%20reinstalling%20the%20application%20and%20using%20the%20Graph%20API%20endpoints%20to%20uninstall%20then%20remove%20it%20from%20the%20app%20catalog%20I%20was%20able%20to%20clear%20out%20the%20references%20to%20it%20and%20now%20it%20installs%20again.%3CBR%20%2F%3E%3CBR%20%2F%3EIt%20still%20shows%20up%20in%20the%20app%20catalog%20in%20admin.teams.microsoft.com%2C%20and%20throws%20an%20error%20when%20you%20try%20to%20click%20delete%2C%20but%20I%20that%20doesn't%20matter%20to%20me.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

I have been uploading my own app to our organization and removing it multiple times via the POST /appCatalogs/teamsApps endpoint then removing it via the Teams admin portal.

 

After a while I would get an error in the Teams admin portal when I tried to remove it from the App Catalog. Eventually it would work itself out. (Error screen captured in attached image)

 

Now the application does not show up in the Teams admin app catalog portal, or via calling GET /appCatalogs/teamsApps. BUT I get a 400 error when trying to upload the same app manifest file that succeeded before AND after manually uploading the manifest zip file into teams, teams stalled for a bit but now shows the app icon without the image. The application still is not listed in our catalog.

 

Since this is still under development I tried to change the App ID and continue on, but this had the same result.

 

In my developer instance of Teams, the app still shows in the Teams admin app catalog portal, but attempting to delete it results in an error. The app also does not show up when trying the endpoint GET /appCatalogs/teamsApps. 

 

Is this a bug internally to Microsoft?

UPDATE: I made another completely different barebones test app with the App Studio and I get the same 400 error when attempting to POST /appCatalogs/teamsApps

 

3 Replies

@adamhouck , Could you please provide us the manifest so we can test it at our end?

@Trinetra-MSFT sure, please see the attached file. 

 

Just to clarify the manifest seems to install fine manually, its just when using

POST https://graph.microsoft.com/v1.0/appCatalogs/teamsApps
Content-type: application/zip
Content-length: {size}

[Zip file containing a Teams app package]

That seems to create issues.

Good news, after manually reinstalling the application and using the Graph API endpoints to uninstall then remove it from the app catalog I was able to clear out the references to it and now it installs again.

It still shows up in the app catalog in admin.teams.microsoft.com, and throws an error when you try to click delete, but I that doesn't matter to me.