Tuesday, June 10, 2014

Error Skipping the uninstall step because the app for SharePoint is in an invalid state and cannot be uninstalled

Hi All,

Till yesterday, My SharePoint hosted app was working like a charm but today when I did some change in my app and tried to deploy it, visual studio started giving me following error

"Error 1 Skipping the uninstall step because the app for SharePoint is in an invalid state and cannot be uninstalled."

Don't know what happen at the back end but after spending some time I got following power shell command lines which does job for me.

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

Hope, this will work for you as well.

Thanks,
Sachin K.



Tuesday, June 3, 2014

Creating Custom REST Web Service SharePoint 2013

Hi All,

Please follow this link which demonstrate how to create a custom WCF REST service for SharePoint 2013 without a Visual Studio template.

Thanks Mike for this wonderful post.

Thanks,
Sachin K.