Join Hub Site
How to associate a site to a hub site using a Power Automate flow.
URI
Headers
Body
Not applicable
Screenshot with example
Sample data
Site – https://contoso.sharepoint.com/sites/ExternalSharing
HubSiteId – 269da5d4-6a9e-45a5-9502-a74d14977293
Copy/paste example
Resources
That’s it, Happy testing!
Great, but how to find out the hub site ID?
You can use the Get hubsites method for this:
GET /_api/HubSites
https://learn.microsoft.com/en-us/sharepoint/dev/features/hub-site/rest-hubsites-method#http-request