Symptoms

Task to remove Sharepoint user failed with the following error:

Destination host '<HOSNTAME>' (#589), IP '10.2.69.12' : Provisioning request failed. Access is denied. [<response><errorContext description="Attempted to perform an unauthorized operation." code="0x80070005" executeSeqNo="3"><errorSource namespace="Error Provider" procedure="SetError"/><errorSource namespace="Error Provider Ex" procedure="RethrowError"/></errorContext></response>]

Cause

This task is failing due to the Sharepoint site being locked.

Resolution

Check the Sharepoint site locks:

cd "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN>"

stsadm.exe -o getsitelock -url <SHAREPOINT_SITE_URL>

<SiteLock Lock="readonly" />

Remove the site lock through Sharepoint administration panel:

  1. Run Central Administration at the Windows Start menu on the Sharepoint host
  2. Go to Application Management > Site Collections > Configure quotas and locks, click the site
  3. Set to Not locked and save changes
  4. Restart the task.

Internal content