A Different Version Of This App Is Already Installed With The Same Version Number

I am writing about an issue, which comes frequently for installing any of app file SharePoint online or On-Premises.

When we are trying to add any app file on SharePoint solution site, sometimes we get the error, as shown below.
“Sorry, something went wrong.

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.”

BlogImages

Solution
Below are the steps, which we need to follow to solve this issue.

SharePoint Online

If you have hard coded file, you can use the steps, mentioned below, using Visual Studio in an easy way. If you don’t have any idea about coding and if you are from admin team, the steps, mentioned below come out from the issue.

  • Login to the Office 365 SharePoint and delete the installed app on SharePoint site collection. After deleting, it will move to Recycle bin, delete from Recycle Bin.

    To do this: Go to site collection>PWA setting> Recycle Bin from Site collection Administrator.
  • Once it will delete from Recycle Bin, this file must be available on the second stage of Recycle bin.

    To do this, do the same as shown above>down of the page, click on second stage Recycle Bin

    BlogImages

  • Delete from here also. Now, we need to go back to the SharePoint online Admin center.
  • Go to Admin center and select SharePoint under Admin Center page

    BlogImages

  • Once clicked on SharePoint, it will take us to SharePoint online site. You may need to re-enter the password here.
  • Now, select Apps under the SharePoint Admin center page.

    BlogImages

  • Select app catalog from the apps page.
  • Here, we need to select apps for SharePoint to select hosted app on SharePoint site collection.

    BlogImages

  • Download the apps, which are getting an error while installing or for adding the apps, just click on app file and it's downloaded automatically.
  • Save the file to the directory on local system. Now, open folder, where you you need to save .app file.
  • Rename the file App to .zip to change the version number.

    BlogImages

  • Click yes once to change name extension and the screenshot, mentioned below is in zip format.

    BlogImages

  • Double click on the same file will navigate in the directory.
  • Here, we need to open an app Manfiest.xml file to change the version number.

    BlogImages

  • Change the version number, save this file and close the zip navigated file.

    BlogImages

  • Now, rename the .zip file to .app file, re-upload the same after deleting from SharePoint online and then try to create hosted app on the site collection.
  • You will not be getting any error from creating the respective app.
Comment, if you find any issue.
Ebook Download
View all
Learn
View all