Here we will discuss how we can resolve the below issue which comes while trying to deploy a SharePoint hosted add-in to SharePoint online. In the SharePoint hosted add-in I have added a workflow into it also. So when try to deploy, the below error comes which says:
Error occurred in deployment step 'Install app for SharePoint': A different version of this App is already installed with the same version number. You need to delete the app from the site and the site recycle bin to install this version.
In visual studio it looks like below:
Solution:
The solution to resolve this issue is to either delete the .app file from the App catalog site or from the developer site. Also make sure to delete from the Primary and secondary recycle bin.
The other way is we can increase the version number in the AppManifest.xml file like below:
Then the error will not appear.
Error occurred in deployment step 'Install app for SharePoint': A different version of this App is already installed with the same version number. You need to delete the app from the site and the site recycle bin to install this version.
In visual studio it looks like below:
Solution:
The solution to resolve this issue is to either delete the .app file from the App catalog site or from the developer site. Also make sure to delete from the Primary and secondary recycle bin.
The other way is we can increase the version number in the AppManifest.xml file like below:
Then the error will not appear.
0 on: "Error occurred in deployment step 'Install app for SharePoint': A different version of this App is already installed with the same version number. You need to delete the app from the site and the site recycle bin to install this version."