Pages

Thursday, August 28, 2014

Sorry, something went wrong with adding the app. click to retry


Sometimes when try to install SharePoint app in developer site, will get 'Sorry, something went wrong with adding the app. click to retry' as shown in below image.


The app cannot be removed/uninstalled from UI using 'Remove' option in this case. Follow below PowerShell commands to remove the app from developer site.

$developerSiteUrl = Get-SPAppInstance -Web
$appInstance = $developerSiteUrl | where {$_.Title -eq ''}
Uninstall-SPAppInstance -Identity $appInstance

1 comment:

  1. “The term 'Get-SPWeb' is not recognized as the name of a cmdlet, function…” is the error I get when i try to run the command in SharePoint Online Management Shell

    ReplyDelete