Forum Discussion
nabin pokharel
Aug 10, 2018Copper Contributor
Add SharePoint admin as the site owner automatically, when a site is created in SharePoint online
When a site is created in SharePoint online, add SharePoint administrator as the site owner, including the sites created by Teams.
Is it possible from Admin UI or site scripts with/out using Flow?
As the SharePoint admin doesn't have access to all the sites, I am thinking this approach to add SharePoint administrator as owner for every sites created.
- AnonymousAug 10, 2018You can easily from the new SharePoint Admin center add yourself to any classic site as an admin, or as group owner all from the SharePoint Admin center on all sites. Adding someone to every site is going to cause a bad experience using delve, search and personalized news for that poor admin :P.
But if using the new SharePoint admin center to easily add and remove yourself from sites your only option is to use a power-shell script to add yourself to all sites on a scheduled basis but doing this will cause that person to have all files showing up in relevant searches, recent activity, news, of all sites rolled up for that individual.
3 Replies
- Dean_GrossSilver Contributor
Don't do this with a regular user account, set up a separate Admin only account and make sure that MFA is enabled for it.
- Alan MarshallIron ContributorYou can create a site script for the default Team Site and include a user or group as owners or members. They only get added to SharePoint site and not to the O365 group.
I haven't tried to see if when you create through MS Teams that the default script activates. - AnonymousYou can easily from the new SharePoint Admin center add yourself to any classic site as an admin, or as group owner all from the SharePoint Admin center on all sites. Adding someone to every site is going to cause a bad experience using delve, search and personalized news for that poor admin :P.
But if using the new SharePoint admin center to easily add and remove yourself from sites your only option is to use a power-shell script to add yourself to all sites on a scheduled basis but doing this will cause that person to have all files showing up in relevant searches, recent activity, news, of all sites rolled up for that individual.