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 / Toggle 'Sync Hub Permi...
Power Automate
Suggested Answer

Toggle 'Sync Hub Permissions to this site' Setting automatically

(0) ShareShare
ReportReport
Posted on by 7
I am building a flow to create teams from a template Project Team when a user puts in a request. The template team contains standard, private, and shared channels. The issue I have is that the main parent Sharepoint site can easily be joined to the Projects hub, but the shared and private channels do not do that automatically despite being subsites of the parent which is. To do so, I need to manually toggle "Sync hub permissions to this site" within each channel's Sharepoint site permissions. Without doing this, relevant hub visitors aren't able to get to key information contained within those channel sites. Is there a step where I can force the inherit hub permissions to be toggled on? Maybe there's a way to do this when creating the channel by altering the Http request? Any help appreciated!
Categories:
I have the same question (0)
  • Suggested answer
    SaiRT14 Profile Picture
    1,990 Super User 2025 Season 1 on at
    pls try the following:
     
    The Sync Hub Permissions action corresponds to a SharePoint REST API endpoint:
    • Endpoint: /sites/{site-id}/joinHubSite
    • Method: POST
    • {
        "forcePushToChildren": true
      }
       
    create in Power Automate:
    Use a trigger like "When a request is created" or "Manually trigger a flow."
    Use the "Create a Team from Template" action or a Graph API HTTP request to create the team and its channels.
    After creating the channels, use the "Get SharePoint Site URL" action or Graph API to retrieve the SharePoint site URL for each private and shared channel.
    Add an HTTP action to the flow
    -------------------make sure the folowing:
    • Ensure the user account running the flow has SharePoint Admin permissions.
    • Your flow should already create teams and channels using the relevant Graph API endpoints.
    • Have the IDs or URLs of the SharePoint sites associated with the private and shared channels.
     
     
     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 60 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 54

#3
Expiscornovus Profile Picture

Expiscornovus 47 Most Valuable Professional

Last 30 days Overall leaderboard