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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Rename Sharepoint Page...
Power Automate
Unanswered

Rename Sharepoint Pages Using Power Automate

(0) ShareShare
ReportReport
Posted on by 10

Hello, I am currently building a Power Automate flow that creates several Sharepoint Pages by copying the same template page and renaming them to match the values in an Excel file. I am basing this flow on this post.

However, I am facing a problem when it comes to renaming the newly created pages themselves. I can successfully update the page Title using the 'Update Item' function, but cannot get the HTTP request to target the Page Name successfully. I can't successfully target the property. This is what my flow looks like right now: 

UnluckySPUser_0-1689957385404.pngUnluckySPUser_1-1689957414747.png

I added a Compose action to make sure that the property "FileName" exists and is targettable. The expression for that action is this 

outputs('Send_an_HTTP_request_to_SharePoint_CheckoutPage')?['body']?['d']?['FileName']

The action returns the expected value pre-changes, but then when I use the JSON above in the body of the Rename HTTP action, it doesn't rename the page. The flow runs successfully, but the pages continue to have the default name from the copy action. 

I have tried following the post I reference above and use the "FileLeafRef" property instead of "FileName" but obtain the same result. 

Could someone please help me? How do I tell the HTTP action to target the "FileName" property and change its value? 

Categories:
I have the same question (0)

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard