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 / Applying custom ShareP...
Power Automate
Unanswered

Applying custom SharePoint site templates (and automatically associating site Owners through the flows associated)

(0) ShareShare
ReportReport
Posted on by 4

 

We inherited some custom SharePoint Online site templates which were created by a vendor a couple of years ago to apply things like logs, hub association, default web parts, and site owners.

After the site is created you click 'Apply a Site Template' and choose the "From your organization" and there are the templates which utilize flows.

Now flash forward we are trying make some adjustments and cannot seem to figure out how this was accomplished.

Currently one of the templates is adding a group of people as Owners and therefore they are getting all of the notifications for site access. This group no longer wishes to receive these notifications but we cannot find anywhere to untether this process. 

Any idea where/how this might be happening?

We have looked through the actual flow process and do not see it anywhere.

Any insights that you have would be greatly appreciated.

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

    Hi @JV2018,

     

    My suggestion would be to use a couple of PowerShell cmdlets to figure this out.

     

    1. Run the Get-SPOSiteDesign cmdlet to figure out which site scripts have been used in the the site template, you can find those in the SiteScriptIds property.

    2. Run a Get-SPOSiteScript for each of those ids to find the script which uses the triggerflow verb (or the addPrincipalToSPGroup verb): https://learn.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-json-schema#trigger-a-flow

     

    Below is an example how that concept normally works: https://learn.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-trigger-flow-tutorial

     

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 873

#2
Valantis Profile Picture

Valantis 820

#3
Haque Profile Picture

Haque 505

Last 30 days Overall leaderboard