...
Panel | ||
---|---|---|
| ||
The toolkit was designed for Site Owners, Site Collection Administrators and Farm Admins. So sometimes a Site Owner may only have access to certain sites but not the web application, therefore the tool does not try to enumerate all of the site collections and sites in a web application automatically. To add all of the site collections from a web application automatically, you can use the Add Site->Import option You need to have can bulk import sites using a MS Excel spreadsheet with . To do this, Click Add Site from the Home tab, then click the “Import” link. To prepare the MS Excel file, you can get a list of all your Site Collections using one of the PowerShell scripts below. IMPORTANT: This should be a list of Site Collections , you to be imported. Any subsites that the account has access to will be imported automatically. You should not import using a list of subsites/SPWebs, only a list of Site Collections. NOTE: You can use PowerShell below to get these a list of All Site Collections into a CSV file and you only need to import once to get them listed.
#Connect to SPO $AdminUrl = “https://tenant-admin.sharepoint.com/” $UserName = “username@tenant.onmicrosoft.com” $userCredential = Get-Credential -UserName $UserName -Message "Type the password." Connect-SPOService -Url $AdminUrl -Credential $Credentials #Get Site Collections in tenant $sites = Get-SPOSite | Select Url | Export-CSV "C:\Users\yourusername\Documents\spsites.csv" Adding new subsites will not change the report data, they can be added any time after into the tool#Retrieve and print all sites foreach ($site in $sites) { Write-Host $site.Url } After you have the list of your site collections, use the steps below to create the MS Excel file for import.
|
Related articles
Filter by label (Content by label) | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...