The label that's applied to this item prevents it from being moved or renamed. Check the item's label for more details

sharepoint.stackexchange https://sharepoint.stackexchange.com/questions/286248

Question

Hi all I have written a WF which copy a document from one library to another but now copy action is not working as destination library labeling have been done Is there any way to replace the new version of the file without removing it from the label?

enter image description here

Was it helpful?

Solution

I could recreate your issue on my own tenant: if a retention label is set on a document, Power Automate will not let you copy to that document. However, through the UI is is indeed possible. Strange.

If you in your Power Automate flow instead of Copy File use Create file it will. Below is a screen shot of a test flow that grabs the content of the source file and creates the file at the target library. One thing to remember here is that in order to overwrite the existing target document you need to set Allow Chunking off by clicking Settings on the Create file action and set to off (also screen shotted this one).

enter image description here

enter image description here

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top