Forum Discussion

JasjitChopra's avatar
Nov 18, 2016

Remove-SPUser operation hangs and brings the whole web application down. Need troubleshooting help !

Hi Eeveryone,

 

Facing a unique issue here.

 

SP 2013 Farm Version: 15.0.4649.1000

 

I tried to export and import a document library including security. While importing the process just hangs at importing one specific user and bring the whole farm down.

 

Now I am unable to temporarily remove that user from the site collection via GUI or via powershell using Remove-SPUser - gives me the same result - hangs the web app for indefinite period of time.

 

Has anyone seen this issue before?

 

Regards,

Jasjit

  • JasjitChopra,

     

    Can you give some more details on the document library in question. Are you using save document library as template? Or are you exporting using PnP?  

     

    How many documents have you got included?

     

    If you use PnP PowerShell to export/import the library. Do you get the same issue?

     

    • JasjitChopra's avatar
      JasjitChopra
      MVP

      This is on-prem Pieter Veenstra. The import-spweb command just hangs at one user and since this process is before any documents start to import nothing gets imported.

       

      The user is corrupt somehow and I cannot figure out to forcely delete it from the site collection. If I can fix the user by using the remove-spuser then import-spweb will work without issues.

      • Trevor Seward's avatar
        Trevor Seward
        MVP
        Are you able to see any SQL blocking queries or anything useful in ULS while on VerboseEx mode when you run Remove-SPUser?

Resources