In this post, we will discuss how to resolve the error “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 recycles bin to install this version” which comes while trying to add a SharePoint hosted app in SharePoint Online Office 365 site.
New to Office 365 SharePoint Online? Get Office 365 Enterprise E3 Subscription & Try out all the features
While working with developing a SharePoint hosted app for SharePoint online I got the error.
First time when I deploy and add the app into the site, I did not receive any error but next time when I modify something and then try to add again, I got the error which looks like below:
A different version of this App is already installed with the same version number
Below the things, I have tried and it worked for me.
First Delete the App and delete the app from the recycle bin (first stage).
Even if you delete the app from the first recycle bin it will still give the same error.
We have to delete from the second stage recycle bin. To do this open Site Contents page and then click on RECYCLE BIN link like below:
Then in the Recycle Bin page, in the down, you can see “Can’t find what you’re looking for? Check the Second-stage recycle bin”. Click on the Second-stage recycle bin to open the second stage recycle bin.
There you can see the add-in will be presented there. Select the add-in and click on Delete button to delete from the second stage recycle bin like below:
After this, if you will try to add, then you will not get the error.
Hope this will be helpful.
FREE SHAREPOINT 2019 PDF
(Installation & Features)