In this post we will discuss how to resolve 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 recycle bin to install this version” which comes while trying to add a SharePoint hosted app in SharePoint Online Office 365 site.
While working with developing 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
– Pass Query string value from SharePoint Page to provider hosted app in SharePoint 2013
– Updating a Custom App in SharePoint 2013
– How to remove an App from SharePoint 2016 using PowerShell Script?
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 second stage recycle bin like below:
After this if you will try to add, then you will not get the error.
Download FREE SharePoint 2019 Installation PDF Guide
This FREE PDF contains, Steps by step guide to install SharePoint 2019 Preview, prerequisites, hardware and software new features. First impression to SharePoint Server 2019 new modern site, modern lists and modern document libraries.