web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Create Sharepoint Rule...
Power Automate
Suggested Answer

Create Sharepoint Rule with Power Automate

(0) ShareShare
ReportReport
Posted on by 2
Hello Team,
 
We want to create a sharepoint rule which should automatically copy the new files/folder which was created in one of the SharePoint Sub Folders to different SharePoint Site subfolder. 
 
We tried to create a rule from Power automate as there is no direct rule from SP site. But we are receiving below error. 
 
Is this requirement even possible?
 
Categories:
I have the same question (0)
  • Suggested answer
    MS.Ragavendar Profile Picture
    7,431 Super User 2026 Season 1 on at
     
    SharePoint and OneDrive for Business prohibit certain special characters and file naming conventions. Invalid characters include " * : < > ? / \ | # % ~ &. Additionally, file names cannot start with a tilde (~) or end with a period (.) or space, and names like _vti_ are restricted. 
     
     
    If you providing such any of characters mentioned it will throw this error, try avoiding those characters the folder or file gets created.
     
    ✅If this helped, please Accept as Solution to help others ❤️ A Like is appreciated 🏷️ Tag @MS.Ragavendar for follow-ups.
  • VarshaB Profile Picture
    2 on at
    Thanks for your response.
     
    I have excluded all these characters although file name doesn't have any special characters
     
    if(
    equals(lastIndexOf(outputs('DestinationFullPath'), '/'), -1),
    variables('DestinationRoot'),
    replace(
    replace(
    replace(
    replace(
    replace(
    replace(
    substring(outputs('DestinationFullPath'), 0, lastIndexOf(outputs('DestinationFullPath'), '/')),
    '&', '-'
    ),
    '#', ''
    ),
    '%', ''
    ),
    '{', ''
    ),
    '}', ''
    ),
    '~', ''
    )
    )
     
     
    This is my flow
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard