Problem
"The provided App differs from another App with the same version and product ID" error occurs when you install the SharePoint-hosted app in SharePoint online site with same version and same product ID.
Solution
In many blogs, you can find that, they say change the version number of the app and then deploy. I agree that it works perfectly fine. But what if they don't want to change version number for their app.
The solution is simple and I am describing all steps here in detail. I have taken reference from Microsoft support.
To resolve this issue, delete the original App from the SharePoint Online site and from the recycle bins of the SharePoint Online site. To do this, follow these steps.
Step 1. Remove the app from the first stage recycle bin of SharePoint site.
- Go to site contents.
- In the right upper corner, click on recycle bin.
- There you find your app which you have removed earlier.
- Select your app from the list. and then click "Delete Selection".
Step 2. Remove the app from the second stage recycle bin of SharePoint Site.
- Go to the site collection level.
- Under "Site Collection Administration", click on recycle bin.
- Delete your app if it exists there.
- In the bottom of the recycle bin, there is a link for "second-stage recycle bin". Click on that click.
Or you can also go to that link by adding "?View=2" in your recycle bin url link of your site collection level.
5. Delete your app from second stage recycle bin.
Now, you can re-install your app with same version and product ID to your SharePoint site without any error.
Happy installing apps !!
Thanks
ReplyDelete