Uninstall this App using PowerShell will not work!

Hello,

I have try to uninstall a SharePoint 2013 App. with this PowerShell Command:

  • Get Instance of Not-properly installed App Instance as following :
  • $instance = Get-SPAppInstance -Web http://mysharepointSite/ -AppInstanceId f14876c4-26bd-41ea-8480-7a529882dd60
  • Uninstall-SPAppInstance Identity $instance

It did work perfectly for SharePoint hosted apps.

For auto-hosted Apps it didnt work as it is waiting on some Job to be finished before It can uninstall this App. Another job exists on this instance. Please retry after that job is done. this error message appears as below:

How can I remove the App in a On-Prem Installation?

Best Regards, Ralf

September 28th, 2013 9:09am

Hi Ralf,

You have posted at a German speaking forum, I moved your thread to a English speaking forum.

For further postings in the German speaking area, please use the appropriate language.

Thank you,

Ciprian

Free Windows Admin Tool Kit Click here and download it now
September 30th, 2013 1:11pm

I have found no other way then delete the entry in the content-database. you can find the app entry inside of the AppInstallations table. i remove this apps here. after the apps will not shown in the content list oder app in $instances = Get-SPAppInstance -Web ....

I think this is only a bad workaround.

September 30th, 2013 1:16pm

Hi Daniel, Yes but I get on the PowerShell:  Another job exists on this instance. Please retry after that job is done. 
October 7th, 2013 7:12am

Hi Daniel, Yes but I get on the PowerShell:  Another job exists on this instance. Please retry after that job is done. 
Free Windows Admin Tool Kit Click here and download it now
October 7th, 2013 7:12am

I am having the same issue.

Any help would be much appreciated.

December 15th, 2013 6:05am

Could someone help?  We are encountering the same issue where we were able to remove one of the installed app.  The message indicates that Another job exists on this instance.  Please retry after that job is done.

Thanks,

Keang

Free Windows Admin Tool Kit Click here and download it now
January 14th, 2014 3:15pm

Really finding it hard to believe that after a year no one has replied to this issue from within Microsoft's SharePoint division to provide an effective solution or work around.  Is anyone actually monitoring this thread; because it is damn important?  Put down the trick question lists for the certifications you perpetrate upon us and deal with the real life issues at hand that you have caused!
January 30th, 2015 3:16pm

Hello Dodge,

You can resolve the above issue by simple SQL command 

Go to your app database and try to run the below command 

delete from  [WSS_Content].dbo.AppPackages  where Title = 'My APP Name'

Free Windows Admin Tool Kit Click here and download it now
August 25th, 2015 3:17am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics