Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I've restored a site collection to a different SharePoint farm. Now i am trying to delete the site collection:

  • Using Powershell:

    Remove-SPSite http://farm/sites/Site_Collection

Error:

Remove-SPSite : Operation failed due to an error in Identity Mangement
At line:1 char:14 + Remove-SPSite <<<<  http://farm/sites/Site_Collection + CategoryInfo: InvalidData: (Microsoft.Share...mdletRemoveSite:
   SPCmdletRemoveSite) [Remove-SPSite], SPException + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletRemoveSite
  • Using Central Administration:

Operation failed due to an error in Identity Mangement

When i check the ULS logs, the corresponding correlation ID only mentions the same error "Operation failed due to an error in Identity Mangement".

How can i remove this site collection and / or fix the notification so i can delete the site collection?

share|improve this question

1 Answer 1

Open Power Shell as Administrator, it should fix the problem.

or use -Force attribute.

Edit

ummm how about trying this,

Remove-SPSite-Identity http://farm/sites/Site_Collection -GradualDelete
share|improve this answer
    
Retried the Remove-SPSite PowerShell command while in an administrator PowerShell window, but i still get the same error. :( –  TempaC Jan 28 at 10:35
    
Alright, just retried using Remove-SPSite -Identity farm/sites/Site_Colle ction -GradualDelete. I still get the same error. –  TempaC Jan 28 at 10:47
1  
when you try GradualDelete, do you get any error, ignore uls logs for the moment –  Muhammad Raja Jan 28 at 10:49
    
When using the GradualDelete parameter, i get the same error "Remove-SPSite : Operation failed due to an error in Identity Mangement". –  TempaC Jan 28 at 10:53
1  
do you have access to spfarm account, to me it seems like you don't have enough permissions, however when you use GradualDelete, it adds a timer job and which later on deletes the site collection, it could also be User profile service problem, can you check if it's running and synchronized –  Muhammad Raja Jan 28 at 10:56

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.