SharePoint 2016 error while removing Apps Sorry something went wrong. Please refresh the page and try again.

SharePoint 2016 error while removing Apps Sorry something went wrong. Please refresh the page and try again.
InfoPath alternatives for form designing SharePoint

In this post we will discuss how to resolve the issue “Sorry something went wrong. Please refresh the page and try again.” which comes while uninstalling apps from SharePoint 2016. Recently after configuring environment for Apps for SharePoint 2016, we added a free app (Spotlight Announcement) to the SharePoint site.

Also read:
– How to implement validation rules by condition in Nintex forms for Office 365 SharePoint Online?

– How to integrate Yammer with sharepoint 2013 online and SharePoint 2013 on-premises?

– How to create site definition using Visual Studio 2013 in SharePoint 2013?

After this when we try to remove the app from the site, then it shows some error like:

Sorry, something went wrong. Please refresh the page and try again.

 SharePoint 2016 error while removing Apps Sorry something went wrong. Please refresh the page and try again.
SharePoint 2016 error while removing Apps Sorry something went wrong. Please refresh the page and try again.

After this even if you will try to refresh and try again the same issue will come.

After this we try to remove using PowerShell like below:

Add-PSSnapin Microsoft.SharePoint.PowerShell
$AppName=”Spotlight Announcements”

$appInstance = Get-SPAppInstance -Web “http://mypc:29024/sites/SPTraining/” | where-object {$_.Title -eq $AppName}

if ($appInstance -ne $null)
{
Uninstall-SPAppInstance –Identity $appInstance
}

But it also gave error like below:

Uninstall-SPAppInstance : The System Account cannot perform this action.
At line:8 char:1
+ Uninstall-SPAppInstance –Identity $appInstance
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidData: (Microsoft.Share…pInstanceCmdlet:UninstallSPAppInstanceCmdlet) [Uninstall-SPAppInstance], InvalidOperatio
nException
+ FullyQualifiedErrorId : Microsoft.SharePoint.Administration.SPAppCmdlets.UninstallSPAppInstanceCmdlet

 SharePoint 2016 error while removing Apps Sorry something went wrong. Please refresh the page and try again.

SharePoint 2016 error while removing Apps Sorry something went wrong. Please refresh the page and try again.
Solution:
When I was trying to remove the app from the browser I was trying with the System Account. That was creating the problem.

When I see the Details about the App, I can see the App is installed by someone else which looks like below:

SharePoint 2016 error while removing Apps Sorry something went wrong. Please refresh the page and try again.
SharePoint 2016 error while removing Apps Sorry something went wrong. Please refresh the page and try again.

Then I logged in with the other user and then I tried to remove the app. This time it successfully removed.

SharePoint 2016 error while removing Apps Sorry something went wrong. Please refresh the page and try again.
SharePoint 2016 error while removing Apps Sorry something went wrong. Please refresh the page and try again.

Hope this will be helpful.

Similar SharePoint 2013 Tutorials

About Bijay Kumar

I am Bijay from Odisha, India. Currently working in my own venture TSInfo Technologies in Bangalore, India. I am Microsoft Office Servers and Services (SharePoint) MVP (5 times). I works in SharePoint 2016/2013/2010, SharePoint Online Office 365 etc. Check out My MVP Profile.. I also run popular SharePoint web site SharePointSky.com

View all posts by Bijay Kumar →

Leave a Reply