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 / HTTP Request to update...
Power Automate
Answered

HTTP Request to update SharePoint navigation node

(0) ShareShare
ReportReport
Posted on by 39

 Dear experts 😊

 

Inspired by this post I started thinking about creating the complete navigation menu with Power Automate.

But while thinking about a concept I came across a peace which I can't solve by my own.

 

I want to update the title of an existing navigation node.

To achieve this I tried the follwing: 

 

HTTP_Request.png

When I run the flow, no error occurred, but the outputs "Update" part is "null" as you can see below:

 

Output_HTTP_Request.png

I also tried the "PATCH" method as an alternative to the "POST" method, but the outputs were the same 🥴 

 

Maybe you, @Expiscornovus, may also know the answer like you did in the post that I mentioned above?

 

Thank you all for your suggestions ❤

Categories:
  • Verified answer
    Expiscornovus Profile Picture
    34,005 Most Valuable Professional on at

    Hi @Max_Power,

     

    This should be possible with a POST request and an X-HTTP-Method MERGE in the headers. 

     

    Try something like below.

     

    URI

    _api/Web/Navigation/GetNodeById(<NodeId>)

     

    Headers

    {
     "Accept": "application/json; odata=verbose",
     "Content-Type": "application/json; odata=verbose",
     "If-Match": "*",
     "X-HTTP-Method": "MERGE"
    }

     

    Body

    { 
     "__metadata": { type: "SP.NavigationNode" }, 
     "IsExternal": true, 
     "Title": "Power Automate", 
     "Url": "https://powerusers.microsoft.com/t5/Microsoft-Power-Automate/ct-p/MPACommunity" 
     }

     

     

    getnodebyid_postmerge.png

  • Max_Power Profile Picture
    39 on at

    Thank you so much @Expiscornovus 😎👌👌

     

    It worked perfect!


    Succesfull_HTTP_request.png

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Are you able to share the part of your power automate task where you dynamically retried the node ID for the Top Navigation Bar link you are updating? I am working on a similar automation for a SharePoint online site and would like to use this method, but I am not sure how to go about retrieving NodeID's for the navigation bar links in order to do this.

  • nebumathew Profile Picture
    2 on at

    Hi, 

    I have been trying from my end, however, the URL and isExternal is not getting updated. The title is getting updated successfully. 

    nebumathew_0-1706770025049.png

    Can you help on this ?

     

    Regards,

    Nebu Thomas Mathew

     

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 377

#2
11manish Profile Picture

11manish 302 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 130

Last 30 days Overall leaderboard