How to Automatically Move or Copy Files in SharePoint With Rules

Signed contracts sitting next to drafts is how files get lost. Dragging each one to the right library by hand works until someone forgets.

In this tutorial, I’ll show you how to move or copy files with metadata rules in a SharePoint document library, so a file lands in the right place the moment a column changes or a new file is uploaded.

Quick answer: In the library, select … > Integrate > Rules, pick a trigger such as A file or metadata is modified, choose move file to or copy file to, then the site and library, and select Create.

What You Need Before You Start

  • Edit (Contribute) permission on the source library to create the rule.
  • Access to the destination library. It can be on the same site or another site in your tenant.
  • A column to drive the rule. Multi-line text columns can’t trigger rules.

If libraries are new to you, read what a SharePoint document library is first.

Step 1: Set Up the Source and Destination Libraries

My running sample is ESP Contracts, a library of Word contracts with a Customer text column and Contract Status, a Choice column with Draft, Under Review, Signed and Expired.

ESP Contracts library with Customer and Contract Status columns

I added two empty destinations: ESP Signed Contracts for moves and ESP Contracts Backup for copies. Both have the same two columns.

Step 2: Create a Move Rule When a Column Changes

Open ESP Contracts, select … (More) on the toolbar, then Integrate > Rules. Microsoft’s docs still say Automate > Rules, but my library showed Integrate.

More menu with Integrate and Rules in a SharePoint document library

The Create a rule page lists four triggers. Select A file or metadata is modified.

Create a rule page with the four Take action when triggers

Then fill in the rule statement:

  1. Choose a column: Contract Status.
  2. Choose a condition: is (enter a value), then Signed.
  3. Open the send an email to action and switch it to move file to.
  4. In Enter a site name or address, paste the site URL. Typing the site name found nothing for me.
  5. In Choose a library, pick ESP Signed Contracts, then select Create.
Rule action list with copy file to and move file to
Rule statement moving files to ESP Signed Contracts when Contract Status is Signed

The same builder makes email and set-value rules, which I cover in creating rules on a SharePoint list.

Step 3: Create a Copy Rule for New Files

On the Manage rules page, select Create a rule > A new file is added. Pick copy file to, the same site URL and ESP Contracts Backup.

Rule statement copying every new file to ESP Contracts Backup

Important: Each destination can be the target of only one move or copy rule, so I used two libraries.

Step 4: Test the Rule and Check the Activity Feed

I changed Brightline Logistics Service Agreement 2026 to Signed. In under a minute it left ESP Contracts and appeared in ESP Signed Contracts, still showing its Customer and Contract Status.

Contract moved by the rule into the ESP Signed Contracts library

To confirm, select Details on the toolbar. The Activity list showed “SharePoint App moved” the file. Microsoft notes copies aren’t logged there yet.

Details pane activity feed showing the file moved by a rule

Moved files take the destination’s permissions. Lock the archive down with unique permissions for the library if needed.

Step 5: Turn Off, Edit or Delete a Rule

Open … > Integrate > Rules again. Once a library has rules, this opens Manage rules, where each rule has an On toggle.

Manage rules page with the move and copy rules for ESP Contracts

Select a rule to open Edit rule. You can change the destination but not the action, and Delete rule sits at the bottom left.

Cheat Sheet: Move Rule vs Copy Rule

move file tocopy file to
Source fileRemoved from sourceStays in source
Column values (matching columns)Kept, plus original Created dateKept, new Created date
Time in my testUnder a minuteAbout 20 seconds
Activity feedLoggedNot logged yet

Common Mistakes to Avoid

  • Reusing a destination. SharePoint asks you to disable the existing move or copy rule on that library first.
  • Typing the site name. If no site appears, paste the full site URL instead.

Does a Rule Keep the File’s Metadata?

In my test, yes for both. The moved and copied files kept Customer and Contract Status because both destinations had matching columns.

If you need values mapped to different columns, use a flow instead. I show that in moving files between folders with Power Automate.

Next Steps

Rules handle simple routing. For conditions rules can’t express, build a Power Automate flow that copies files, or tag files with content types first.

If you’re organizing a busy document library, I’d read these next:

Frequently Asked Questions

Can a SharePoint rule move files to another site?

Yes. In Enter a site name or address, paste the URL of any site in your tenant you can access, then choose its library.

How many rules can one library have?

Up to 15. A destination library can also be the target of only one move or copy rule at a time.

Do I need Power Automate for move and copy rules?

No. The rule runs inside SharePoint. Microsoft walks through the setup in its guide to move and copy rules.