Symptoms

A task for a SharePoint user (for example, to remove or modify a user) fails with the error message 'Cannot complete this action. Please try again.' as in the example below:

For MPS:

Task name: Remove user #33374 <USER> from SharePoint site (domain wss.customer.com #3739) on host <HOSTNAME>(#11)
Output: Destination host '<HOSTNAME>' (#11), IP '10.10.10.101' : Provisioning request failed. Unspecified error [<response><errorContext description="Cannot complete this action. Please try again." code="0x80004005"     executeSeqNo="3"><errorSource namespace="Error Provider" procedure="SetError"/> <errorSource namespace="Error Provider Ex" procedure="RethrowError"/></errorContext></response>]

For WPE:

Task name Remove user #987299 <USER> from SharePoint site (domain <DOMAINNAME> #21375) on host <HOSTNAME> (#90)
Last execution output Destination host 'wss.host.com' (#90), IP '192.168.131.81' : Provisioning request failed. Error in 'Error Provider Ex.RethrowError'.
Cannot complete this action.

Cause

The user in question is missing on the SharePoint site and any operations for the user from Parallels Operations Automation (POA) will fail. The user was never added to SharePoint or was removed directly from the Sharepoint site.

Resolution

  1. Log in to the WSS server specified in the task name

  2. Check that the user exists on the SharePoint website, e.g. using the 'stsadm' utility on the SharePoint server:

    C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN> STSADM.EXE -o enumusers -url http://wss.customer.com
    
    <Users Count="2">
      <User>
        <Login>HOSTING\johnsmith</Login>
        <Email>johnsmith@wss.customer.com</Email>
        <Name>John Smith</Name>
      </User>
      <User>
        <Login>HOSTING\janesmith</Login>
        <Email>janesmith@wss.customer.com</Email>
        <Name>Jane Smith</Name>
      </User>
    </Users>
    
  3. If you do not find the problem user in the output of the stsadm utility, add the user to the site manually (directly in Sharepoint) or using this command (giving it minimal permissions as a precaution):

    C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN> STSADM.EXE -o adduser -userlogin DOMAIN\user -useremail user@example.com -role Read  -username User -url http://wss.customer.com
       Operation completed successfully.
    
  4. Re-run the failed task in POA Task Manager.

An issue with an unclear error description was reported and bug ID POA-62110 submitted.

Internal content