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 / Update SharePoint site...
Power Automate
Unanswered

Update SharePoint site page properties with Send HTTP request

(0) ShareShare
ReportReport
Posted on by 22

Greetings,

 

I have a list in one SharePoint site which represents normalized data I want to turn into site pages. I'm using this technique to make it happen:

 

(39) Create SharePoint Site Pages automatically with Power Automate - YouTube

 

In some of the columns on my list of items that I will convert to site pages have data that I want to map to site page properties. The end goal I'm shooting for is the same as what's highlighted in the video I shared. A list in one SP site driving the creating of pages in another SP library. The one variation I want to make here is updating page properties after the new page has been created. This is important because I need these properties to develop the UX my end-users will need and I don't want to do this by hand since we have a few hundred list items to convert to site pages.

Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,871 Most Valuable Professional on at

    Hi @kevintaylor81,

     

    It should be possible to use the update file properties action for this.

     

    Below is an example of that.

     

    pageproperties_updatefile.png

  • kevintaylor81 Profile Picture
    22 on at

    @Expiscornovus Thanks! That got me moving forward but I've hit a new snag

     

    I'm getting an access denied error in my flow's second step.

     

    Web capture_25-6-2021_12059_us.flow.microsoft.com.jpeg

    Here is the raw output from that step.

    {
        "statusCode"403,
        "headers": {
            "Pragma""no-cache",
            "x-ms-request-id""4364d59f-e0c0-0000-c4da-17f625367271",
            "Strict-Transport-Security""max-age=31536000; includeSubDomains",
            "X-Content-Type-Options""nosniff",
            "X-Frame-Options""DENY",
            "Cache-Control""no-store, no-cache",
            "Set-Cookie""ARRAffinity=8ce2988208de9833422b6cabc9516aa20d0421ce61bf7c3c18ce2a28cdfca90c;Path=/;HttpOnly;Secure;Domain=sharepointonline-eus.azconn-eus.p.azurewebsites.net,ARRAffinitySameSite=8ce2988208de9833422b6cabc9516aa20d0421ce61bf7c3c18ce2a28cdfca90c;Path=/;HttpOnly;SameSite=None;Secure;Domain=sharepointonline-eus.azconn-eus.p.azurewebsites.net",
            "Timing-Allow-Origin""*",
            "x-ms-apihub-cached-response""true",
            "Date""Fri, 25 Jun 2021 16:53:41 GMT",
            "Content-Length""500",
            "Content-Type""application/json",
            "Expires""-1"
        },
        "body": {
            "status"403,
            "message""Access denied.\r\nclientRequestId: 224187df-0df2-46de-8c23-f59f4f20884e\r\nserviceRequestId: 4364d59f-e0c0-0000-c4da-17f625367271",
            "errors": [
                "-2147024891",
                "System.UnauthorizedAccessException"
            ]
        }
    }
  • Expiscornovus Profile Picture
    33,871 Most Valuable Professional on at

    Hi @kevintaylor81,

     

    Can you share a screenshot of the configuration of that action? Just want to check for instance the URI in the action.

     

    I also notice that you are using the GetFileByUrl method in your error message.

     

    In SharePoint Online I have seen a lot of examples which use the GetFileByServerRelativeUrl method instead. Might be worth checking that as well:

    https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/working-with-folders-and-files-with-rest#working-with-files-by-using-rest

     

  • kevintaylor81 Profile Picture
    22 on at

    Here is the image I think you're asking for. In the video I shared where the developer demonstrates this method, they started by using a relative URL method, but I wasn't able to get that to work so tried this. Would I just swap out that one string for GetFileByServerRelativeUrl?

    Web capture_1-7-2021_204217_us.flow.microsoft.com.jpeg

  • kevintaylor81 Profile Picture
    22 on at

    I tried the GetFileByServerRelativeUrl method and this is what I got.

     

    Web capture_1-7-2021_204854_us.flow.microsoft.com.jpeg

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
Vish WR Profile Picture

Vish WR 376

#2
Valantis Profile Picture

Valantis 361

#3
David_MA Profile Picture

David_MA 294 Super User 2026 Season 1

Last 30 days Overall leaderboard