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

This SharePoint tutorial explains, 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 the environment for Apps for SharePoint 2016, we added a free app (Spotlight Announcement) to the SharePoint site.

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 removing Apps Sorry something went wrong

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

After this we try to remove app 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
remove apps using powershell sharepoint 2016

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

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:

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

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

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

You may like following SharePoint apps tutorials:

This SharePoint tutorial, we learned how to fix error Sorry something went wrong. Please refresh the page and try again which comes while uninstalling apps in SharePoint 2016.

free sharepoint training

SharePoint Online FREE Training

JOIN a FREE SharePoint Video Course (3 Part Video Series)

envelope
envelope

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

>