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.
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
WarrenBelz
146,731
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,075
Most Valuable Professional