Вопрос

We had an orphaned site in a content database, and the health analyzer indicated as such. This orphan site was cleaned up via Powershell. However, this did not clean up the health analyzer warning. It now shows an OrphanApp error for the orphan site that no longer exists.

Title - Missing server side dependencies. 
 
Explanation:
[OrphanApp] App [0ca0a76a-0b45-4f40-b5ca-a9446fc9275f] is orphaned in the database [SP_Content_Collab] on site collection [c53bceda-f5c7-4d32-a72f-f57e8a810e2e]. Orphaned Apps are not accessible, cause unnecessary resource and license consumption and may fail upgrade. Try to uninstall this App. App [0ca0a76a-0b45-4f40-b5ca-a9446fc9275f] is orphaned in the database [SP_Content_Collab] on site collection [c53bceda-f5c7-4d32-a72f-f57e8a810e2e]. Try to uninstall this App. If the App uninstallation is failing, it needs to be unblocked before the orphan App can be removed. 

How do I clean this up in a supported fashion? I tried the uninstall app comandlet which did not work.

There is this question, which strikes me as unsupported.

SP 2013, service pack 1 mark 2, so 15.0.4571.1502

Это было полезно?

Решение

I had a similar scenario and was able to resolve it. I've adjusted the parameters to match your Site Collection ID, but you'll want to fix the database name.

$db = Get-SPContentDatabase -Identity SP_Content_Collab
$db.ForceDeleteSite('c53bceda-f5c7-4d32-a72f-f57e8a810e2e', $false, $false, $false, $true)

Re-run the health analyzer rule after running this.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с sharepoint.stackexchange
scroll top