Skip to main content

Notifications

Community site session details

Community site session details

Session Id : L9mpB6kgTn9rJOvBEZy+0S
Power Automate - Building Flows
Suggested answer

Use Power Automate to Set a Page as the Home Page

Like (2) ShareShare
ReportReport
Posted on 10 Dec 2024 20:40:47 by 6
Hello Community,
 
I have built a basic flow to copy a page file to the "Site Pages" library.
 
 
Now I want to use Power Automate to set that new page as the site home page, but I have no idea where to even start.
 
Has done else done this?  If so, please provide guidance and examples.
 
Thanks!
 
Tom
 
 
  • trice602 Profile Picture
    13,763 Super User 2025 Season 1 on 23 Feb 2025 at 22:31:03
    Use Power Automate to Set a Page as the Home Page
    If I can help with anything else please let me know or tag me in a future post, I enjoy reading and answering questions.  Always glad to help!  Tom 💯💯💯💯💯
  • trice602 Profile Picture
    13,763 Super User 2025 Season 1 on 23 Feb 2025 at 22:30:33
    Use Power Automate to Set a Page as the Home Page
    Hey there!
     
    I am following up on this post use power automate to set a page as the home page in this category building flows from 12/10/2024.  I know the post is a little older, but it is a common question here so wanted to take a moment and follow-up. I see there have been 2 replies and 2 likes and asking if your question has been answered.  If so, please help the community out by completing one or more of the following actions!  Thanks in advance!
     
    Easy as 1-2-3 ‼️💯⭐😎🆒🙏
     
    1) Mark a reply as a verified answer - this is essential, and it helps others with the same general question find this thread. ✅
    2) You can also mark one of more replies as a verified answer.  Please take a moment and give the author credit for volunteering their time. ✌️
    3) Like one or more replies.  Kudos always greatly appreciated! 👍
     
    Pro tip:  if you found your own solution or workaround, feel free to add a reply to your own post and mark it as the solution too!  The goal is to get this thread marked with a verified answer by anyone that finds one or more replies helpful!
     
    Again, thanks in advance for reading and responding, always glad to help!  Tom 💯💯💯💯💯
  • Expiscornovus Profile Picture
    31,648 Most Valuable Professional on 16 Dec 2024 at 10:52:38
    Use Power Automate to Set a Page as the Home Page
     
    Great suggested approach, thanks for sharing 👍
     
    Just tested the below. I think it also needs a X-HTTP-Method with a MERGE value in the Headers to work. I was getting an error without that key/value pair.
     
    {
     "Accept" : "application/json;odata=verbose",
     "Content-Type" : "application/json;odata=verbose",
     "X-HTTP-Method" : "MERGE"
    }
     
  • Suggested answer
    trice602 Profile Picture
    13,763 Super User 2025 Season 1 on 15 Dec 2024 at 23:16:09
    Use Power Automate to Set a Page as the Home Page
    Hi,
     
    The way to do this is to send an HTTP request to SharePoint.  The two key items are the URI and body, shown below.
     
    _api/web/RootFolder
     
    {
      "__metadata": {
        "type": "SP.Folder"
      },
      "WelcomePage": "SitePages/YourPageName.aspx"
    }
     
     
     

    ------------------------------------------------

     

     

    ⭐ If this was helpful, please like and mark as a verified answer to help others find this too!

     

     

    Always glad to help! 💯💯💯💯💯

     

    Tom

     

    Follow me on LinkedIn - Thomas Rice, PMP | LinkedIn

     
     

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,722 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,067 Most Valuable Professional

Leaderboard
Loading started