Forum Discussion

Gaurav Goyal's avatar
Gaurav Goyal
Brass Contributor
Jul 05, 2021

Sorry we couldn't remove the app - SharePoint Online

Some time you try to remove some installed apps from SharePoint and it removes approx. all the time but some apps says "sorry we couldn't remove the app".

To remove these kind of apps, You have to use PowerShell Scripts.

So there are some steps :

 

1. Install PnP PowerShell (https://docs.microsoft.com/en-us/powershell/sharepoint/sharepoint-pnp/sharepoint-pnp-cmdlets?view=sharepoint-ps)

2. Now run the following PnP command with URL and App Name changes :

 

Connect-PnPOnline –Url <Your_Site_Collection_URL> –Credentials (Get-Credential)

 

$instances = Get-PnPApp 

$instance = $instances | where {$_.Title -eq '<My_App_Name'}  

 

#Uninstall-PnPApp -Identity $instance.Id

Remove-PnPApp -Identity $instance.Id

 
No RepliesBe the first to reply

Resources