web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Adding Link to Hub Sit...
Power Automate
Unanswered

Adding Link to Hub Site Navigation with HTTP/Power Automate

(0) ShareShare
ReportReport
Posted on by 327

Hello, 

I'm able to use an http step to add to the quick launch and top site bar, but I can't figure out the link to post a new navigation to the Hub Site navigation. Does anyone have the URL for the Hub Navigation REST endpoint?

 

/_api/web/navigation/TopNavigationBar

 

ryleybauer_0-1656311269570.png

 

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

    Hi @ryleybauer,


    In your URI use the TopNavigationBar property instead of the QuickLaunch.

     

    topnavigationbar_property.png

     

     

  • Verified answer
    ryleybauer Profile Picture
    327 on at

    Hi @Expiscornovus

    I'm sorry, I wasn't clear as I realized I had "TopNavigationBar" in my description and "QuickLaunch" in my screenshot. I've tried "HubNav" as that's the html object name, but that didn't work either. 

    However,  you were correct that it's the "TopNavigationBar", I just had issues with my browser cache not showing me the changes, leading me to believe that there must have been another endpoint! Thanks for reassuring me I was going in the right direction! 

     

    ryleybauer_1-1656343612043.png


    Both of these were working, but I was convinced there had to be another endpoint as I was only seeing the new navigation elements in the classic settings page, leading me to believe that the "Top" bar was not the "Hub" bar. 

    ryleybauer_2-1656343637158.png

    ryleybauer_3-1656344126534.png

     

    However, clearing your cache does wonders. CTRL+F5 reload wasn't updating the Hub Nav bar, only once I cleared 24hours of browser data, it did properly load! 

    ryleybauer_4-1656344372976.png

     

  • ApiTrader Profile Picture
    174 on at

    @ryleybauer @or you need to hit edit once.. any other workaround for that or will it appears after a certain time? 

  • ryleybauer Profile Picture
    327 on at

    I think it's just those two (CTRL+F5 and attempting to edit). I also assume it'll appear after a while as generally I've seen most things in SharePoint update by the 24H mark. 

  • ApiTrader Profile Picture
    174 on at

    @ryleybauer its correct, it appears after a specific time..

  • Community Power Platform Member Profile Picture
    on at

    I followed this exactly and wound up with the following error. Any idea what might be causing this issue?

     

    PowerAppsNewb1_0-1703782993304.png

     

  • ryleybauer Profile Picture
    327 on at

    It's hard to say from your screenshots, but are you mixing quote styles? Maybe re-type the quotes in manually to make sure. At a glance your API call looks correct otherwise. 

  • Community Power Platform Member Profile Picture
    on at

    Nope, I made sure quote styles were correct. The cause of my original issue was I only had 1 underscore instead of 2 ahead of the "metadata" field.

     

    Turns out my issue was related to the SharePoint site. Even though I am set as an owner over the site, once I fixed the double underscore issue the flow wouldn't error out, but eventually time out after multiple bad gateway reattempts. Once I changed the SharePoint site to another site it worked perfectly. Thank you!

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard