Forum Discussion
Aug 02, 2017
SharePoint Online and contractors
One of my customers has many contractors who need to have a company email address but they shouldn't have access to any of the public team sites. How should this be approached? My first thogu...
- Aug 02, 2017There is no event when a site is created. If you have control over AD groups you could have a job looping over sites, replacing Everyone with some other AD group which don't include the contractors. We do something similar at a customer where we regularly check that Everyone on pub groups have read only and not contrib, which is the default setting.
We use azure web jobs for this running once a day.
Aug 02, 2017
Hi Mikael,
In this case I have indeed public group sites.
Any clever ideas that I may have missed to remove a set of users by default. I was thinking maybe something with flow or function apps that are triggered by the creation of a site.
In this case I have indeed public group sites.
Any clever ideas that I may have missed to remove a set of users by default. I was thinking maybe something with flow or function apps that are triggered by the creation of a site.
Mikael Svenson
Aug 02, 2017Iron Contributor
There is no event when a site is created. If you have control over AD groups you could have a job looping over sites, replacing Everyone with some other AD group which don't include the contractors. We do something similar at a customer where we regularly check that Everyone on pub groups have read only and not contrib, which is the default setting.
We use azure web jobs for this running once a day.
We use azure web jobs for this running once a day.
- Aug 02, 2017I was thinking about an azure function app that runs on a timer schedule. I would expect Microsoft to create a proper site trigger at some point.
I am glad that we are thinking along the same line.
Thanks for your help.