I am trying to move my outlook emails to specific folder, it was working fine on my local machine but I moved the bot into Production but in Prod machine it is giving me a weird error as mentioned below. Please do help me get rid of this error asap. Thank you.
Move Outlook Mail Message : The items were copied instead of moved because the original items cannot be deleted. Unknown Error." level: “Error” logType: “Default” timeStamp: “2018-04-30T10:34:52.2641878-05:00” fingerprint: “464009a1-38d3-459e-861e-b6ba90fcd4cb” windowsIdentity: “LOVES\de.ardmore” machineName: “RPA-ARDMORE” processName: “DTN_Loves_PROD_MAIN” processVersion: “1.0.6694.18961” fileName: “Main” jobId: “0a67d89a-f6ea-45f3-b4c9-5dee6b15e9c3” robotName: “Ardmore”
Does the production machine (or the account the process is executing under) have the same rights to the mailbox that you have? Could it be a security/permissions issue?
It sounds like a permissions issue but keep in mind I’m no expert. Are the accounts maintained by your IT department? It sounds like you may need “delete” or some similar level of access granted to whatever account needs to move the mail message as the server recognizes moving of the original item a delete action on the original. The link below may shed some more light.
Bot has been granted permission to move mail from one folder to another, I have tried doing it manually in the prod environment. But when I run the same thing with Bot in Prod environment it stills gives me the same error as mentioned above.
After the bot was granted permission was a reboot of the machine or session performed? Maybe the permissions haven’t fully applied yet? If you are able to truly move the email on the production machine (using the same credentials as the bot) and not just copy it (as the error says) then it seems strange the bot wouldn’t be able to and generate this particular error. Maybe the error message is just misleading…
We are facing the same exact problem, the issue is only happening time to time. Is there anyone who have found a solution to the problem ? moving the mail manually works. Using UIPATH activity move mail works time to time.
We end up using the office365 activity from UIPath which directly connect to the outlook server to interact with mail. The activity is using the Graph API. Check for the office 365 activity package.