Skip to main content

Notifications

Power Automate - Building Flows
Suggested answer

Use Power Automate to Set a Page as the Home Page

Like (1) ShareShare
ReportReport
Posted on 10 Dec 2024 20:40:47 by 2
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
 
 
  • Expiscornovus Profile Picture
    Expiscornovus 31,017 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
    trice602 11,175 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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #9 Get Recognized…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 144,367

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,297

Leaderboard
Loading started