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.

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.

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

Then fill in the rule statement:
- Choose a column: Contract Status.
- Choose a condition: is (enter a value), then Signed.
- Open the send an email to action and switch it to move file to.
- In Enter a site name or address, paste the site URL. Typing the site name found nothing for me.
- In Choose a library, pick ESP Signed Contracts, then select Create.


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.

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.

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

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.

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 to | copy file to | |
|---|---|---|
| Source file | Removed from source | Stays in source |
| Column values (matching columns) | Kept, plus original Created date | Kept, new Created date |
| Time in my test | Under a minute | About 20 seconds |
| Activity feed | Logged | Not 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.

I have worked with Microsoft technologies for more than 18 years, including SharePoint, Microsoft 365 and the Power Platform (Power Apps, Power Automate and Power BI), at companies like HP, TCS and KPIT. I started EnjoySharePoint in 2011 to share the solutions I build in real projects with readers in the United States, Canada, the United Kingdom, Australia, New Zealand and beyond. Microsoft has recognized this work with the Microsoft MVP award 13 times since 2014.