SOLVED

Teams app update: id in the manifest doesn't match

%3CLINGO-SUB%20id%3D%22lingo-sub-1954242%22%20slang%3D%22en-US%22%3ETeams%20app%20update%3A%20id%20in%20the%20manifest%20doesn't%20match%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1954242%22%20slang%3D%22en-US%22%3E%3CP%3EI%20used%20Yeoman%20Teams%20to%20build%20a%20custom%20app%20and%20upload%20it%20to%20Teams%20via%20the%20client.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20I%20try%20to%20update%20the%20app%2C%20I%20am%20getting%20the%20following%20message%3A%3C%2FP%3E%3CP%3E%3CSTRONG%3EThe%20id%20in%20the%20manifest%20doesn't%20match%20with%20the%20app%20being%20updated%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20am%20I%20missing%3F%20I%20am%20only%20updating%20the%20code%2C%20not%20the%20id.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMy%20steps%3A%3C%2FP%3E%3CP%3E-%20update%20the%20code%20in%20Visual%20Studio%20Code%20(tsx%20file)%3C%2FP%3E%3CP%3E-%20run%26nbsp%3Bgulp%20ngrok-serve%3C%2FP%3E%3CP%3E-%20go%20to%20the%20app%20in%20Teams%3C%2FP%3E%3CP%3E-%20in%20the%20context%20menu%20select%20Update%3C%2FP%3E%3CP%3E-%20pick%20the%20new%20package%20zip%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CDIV%20class%3D%22ts-modal-dialog-footer%22%3E%26nbsp%3B%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1954242%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EApp%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1955045%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20app%20update%3A%20id%20in%20the%20manifest%20doesn't%20match%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1955045%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F29417%22%20target%3D%22_blank%22%3E%40Christophe%20Humbert%3C%2FA%3E%26nbsp%3B-%20when%20you%20update%20the%20You%20should%20not%20change%20the%20app%20id.%20Could%20you%20please%20update%20the%20manifest%20by%20using%20the%20same%20id.%20Try%20if%20that%20helps.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1955110%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20app%20update%3A%20id%20in%20the%20manifest%20doesn't%20match%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1955110%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F590590%22%20target%3D%22_blank%22%3E%40Nikitha-MSFT%3C%2FA%3E%26nbsp%3BThanks%20for%20the%20reply!%3C%2FP%3E%3CP%3EWhat%20I%20don't%20understand%20is%20what%20makes%20the%20app%20Id%20change.%20I%20am%20not%20touching%20the%20id%2C%20I%20am%20only%20updating%20the%20code%20in%20the%20tsx%20file%20and%20incrementing%20the%20version%20number%20in%20package.json.%20What%20am%20I%20missing%3F%3C%2FP%3E%3CP%3EThis%20is%20what%20I%20have%20in%20the%20manifest%3A%3C%2FP%3E%3CDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22id%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22%7B%7BAPPLICATION_ID%7D%7D%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22version%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22%7B%7BVERSION%7D%7D%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22packageName%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22%7B%7BPACKAGE_NAME%7D%7D%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1970361%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20app%20update%3A%20id%20in%20the%20manifest%20doesn't%20match%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1970361%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F29417%22%20target%3D%22_blank%22%3E%40Christophe%20Humbert%3C%2FA%3E%2C%20I%20tried%20to%20reproduce%20this%20issue%20at%20my%20end%20but%20it%20didn't%20throw%20any%20error%20while%26nbsp%3B%20updating%20my%20id.%3C%2FP%3E%0A%3CP%3EI%20followed%20below%20steps%3A%26nbsp%3B%3C%2FP%3E%0A%3CP%3E1.%20First%20created%20a%20personal%20tab%20from%20teams%20client%20and%20noted%20it's%20id.%3C%2FP%3E%0A%3CP%3E2.%20built%20my%20project%20ran%20gulp%20ngrok%20serve%20command.%3C%2FP%3E%0A%3CP%3E3.Updated%20my%20manifest%26nbsp%3B%20corresponding%20ngrok%20urls%20in%20manifest%20and%20add%20valid%20domain%20also.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E4.%20Entered%20app%20that%20you%20get%20in%20step%201%20in%20manifest%20now.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E5.%20Zip%20the%20manifest%20and%20sideload%20the%20project.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENow%2C%20if%20there%20is%20any%20change%20in%20code%20you%20can%20stop%20and%20re-run%20the%20project%2C%20this%20will%20not%20need%20any%20updates%20for%20an%20app.%20If%20you%20are%20updating%20an%20application%20I%20would%20suggest%20you%20to%20uninstall%20it%20and%20install%20the%20manifest%20again%20if%20you%20are%20changing%20any%20'app%20related%20information'.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAdditionally%2C%20updating%20the%20teams%20app%20from%20teams%20client%20shouldn't%20cause%20an%20error.%20There%20must%20be%20something%20wrong%20in%20your%20manifest.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20the%20issue%20persists%20please%20mail%20me%20at%20%3CA%20href%3D%22mailto%3Av-manisc%40microsoft.com%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ev-manisc%40microsoft.com%3C%2FA%3E%26nbsp%3Bwe%20can%20get%20over%20a%20call%20and%20solve%20this.%20Thanks.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Frequent Contributor

I used Yeoman Teams to build a custom app and upload it to Teams via the client.

 

When I try to update the app, I am getting the following message:

The id in the manifest doesn't match with the app being updated

 

What am I missing? I am only updating the code, not the id.

 

My steps:

- update the code in Visual Studio Code (tsx file)

- run gulp ngrok-serve

- go to the app in Teams

- in the context menu select Update

- pick the new package zip

 

4 Replies

@Christophe Humbert - when you update the You should not change the app id. Could you please update the manifest by using the same id. Try if that helps.

 

@Nikitha-MSFT Thanks for the reply!

What I don't understand is what makes the app Id change. I am not touching the id, I am only updating the code in the tsx file and incrementing the version number in package.json. What am I missing?

This is what I have in the manifest:

  "id""{{APPLICATION_ID}}",
  "version""{{VERSION}}",
  "packageName""{{PACKAGE_NAME}}",

 

 

 

best response confirmed by Christophe Humbert (Frequent Contributor)
Solution

@Christophe Humbert, I tried to reproduce this issue at my end but it didn't throw any error while  updating my id.

I followed below steps: 

1. First created a personal tab from teams client and noted it's id.

2. built my project ran gulp ngrok serve command.

3.Updated my manifest  corresponding ngrok urls in manifest and add valid domain also. 

4. Entered app that you get in step 1 in manifest now. 

5. Zip the manifest and sideload the project. 

 

Now, if there is any change in code you can stop and re-run the project, this will not need any updates for an app. If you are updating an application I would suggest you to uninstall it and install the manifest again if you are changing any 'app related information'.

 

Additionally, updating the teams app from teams client shouldn't cause an error. There must be something wrong in your manifest. 

 

If the issue persists please mail me at v-manisc@microsoft.com we can get over a call and solve this. Thanks.

Thanks for the detailed reply. I didn't see step 4 in the docs and thought it would happen automatically, just like the version number gets updated.