Skip to content

NavaneethaDev/Create-Bulk-SubSites-in-O365

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Create Bulk Site/Sub Sites in Office 365

This PowerShell Script is used to create bulk subsites in O365 site collection

I am working on a pre-production for my next SharePoint app and I wanted to create more than 300 sub sites including the following features. I thought i will share this code to all for re-using it. Thanks!

  • Create multiple levels of sites/subsites
  • Create site with user specific site template
  • Description of each site
  • Specify the URL for each site
  • Inherit Navigation from parent site
  • Permission Inheritance from parent site
  • Copy the permission from parent site
  • Create multiple SharePoint Groups for each site
  • Assign permission for each SharePoint Group
  • Add multiple users to each SharePoint group

I have attached the Power Shell script along with CSV file and request you to provide your site collection url and user name in the script before using this Power Shell Script. Please feel free to pull/issue for any changes.

Below are some of the screen shot i would like to share.

Site Hierarchy with multiple levels of sites and sub sites

screenshot1

=========================================================================================================================

Created SharePoint Groups with specific permissions

screenshot2

=========================================================================================================================

Added multiple users to SharePoint Groups

screenshot3

=========================================================================================================================

Sample CSV file

sample csv

About

This Power Shell Script is used to create bulk sub sites in Office 365 site collection

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published