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

Community site session details

Session Id : GNVtTTwGd/iMzl2+871zFz
Power Automate - Building Flows
Unanswered

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

Like (0) ShareShare
ReportReport
Posted on 26 Feb 2024 05:22:25 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.

  • Expiscornovus Profile Picture
    32,205 Most Valuable Professional on 27 Feb 2024 at 10:22:42
    Re: Applying custom SharePoint site templates (and automatically associating site Owners through the flows associated)

    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2