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 Page...
Power Automate
Answered

Create SharePoint Page using Power Automate

(0) ShareShare
ReportReport
Posted on by 407

Hi all,

I'm working on automating the creation of SharePoint pages. I am trying to create a SharePoint page from a page template but my rest api call keeps failing.

 

This is what I have so far: 

 

CreateSPPage.pngCreateSPPageError.png

 

What I'm I missing here? 

 

Thanks,

Categories:
  • Verified answer
    SudeepGhatakNZ Profile Picture
    14,396 Most Valuable Professional on at

    @_sourcecod3_ 

    Try the boverwrite paramater

    _api/web/getfilebyserverrelativeurl('/sites/development/SitePages/blankTemplate.aspx')/copyto(strnewurl='/sites/development/SitePages/DynamicPage.aspx',boverwrite=false)

    Reference:

     Files and folders REST API reference | Microsoft Learn

     

  • _sourcecod3_ Profile Picture
    407 on at

    @SudeepGhatakNZ Thank you! that worked perfectly, now i just need to figure out how to add content and images via the flow also. Cheers!

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 389

#2
11manish Profile Picture

11manish 345 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 308

Last 30 days Overall leaderboard