Skip to main content

Notifications

Community site session details

Community site session details

Session Id : +oSyc4UrgzOXA0C0CulFui
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
    31,713 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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Automate - Building Flows

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 186 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 171 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 161

Overall leaderboard
Loading started