Managing SharePoint
Site Collections was the name that old version of SharePoint use to give to SharePoint sites, nowadays they are just called SharePoint sites and the concept of sub-sites no longer exist. SharePoint Online present your site as: https://my-organisation.sharepoint.com/sites/SiteName while OneDrive for Business presents your site as https://my-organisation-my.sahrepoint.com/personal/username
Hub Sites allow you to share navigation and branding, because all sites part of a hub inherit the settings from the hub
There are many templates from Microsoft that you can use to create your site on SharePoint Online, but there are only two main type of sites:
- Communication Site; broadcast information out to a broad audience, like intranet. These sites are navigation on the top and they cannot be part of a hub or M365 groups
- Team Site; to collaborate on a project or initiative, where most member can contribute with content. By default they have the navigation menu on the left (thou it can be configured to appear on the top). Team Sites can be part of a hub; a Team Site has 2 options, being the difference in how to manage permissions, either by the site itself or via M365 groups
- Standalone, SharePoint only
- Part of Microsoft 365 group
Applying a template to a site is a non-destructive operation. Microsoft continues developing SharePoint, so keep an eye for example on Microsoft Viva or Microsoft Syntex implementations
When create a site on SharePoint Online you have 2 options for the URL, "sites" or "teams", and please notice that the managed "teams URL site is not related to Microsoft Teams at all, that existed long before MS Teams was developed as a product
Site Templates for PowerShell are:
Communication Site: SITEPAGEPUBLISING#0
Standaloe TeamSite: STS#3
New-SPOsite -
-Url xxx
-Owner xxx
-Title xxx
-Template STS#3
-StorageQuoata 10240
New-PnpSite (use this PowerShell command for communication sites)SharePoint permissions:
- Site admins = same full control as site owners, plus they can manage search, recycle bin and site collection features
- Site owners = full control, and if the site has an associated M365 group, then members of the group owner are automatically added as owners too
- Site members = have edit permissions to the site, can add and remove files, list and libraries
- Site visitors = view-only permissions
Deleted sites are kept in the recycle bin for 93 days
#Get the SP module status first
Get-Module -Name Microsoft.Online.SharePoint.PowerShell -ListAvailable | Select Name,Version
#If needed, install it
Install-Module -Name Microsoft.Online.SharePoint.PowerShell
#Or you can also import it
Import-Module Microsoft.Online.SharePoint.PowerShell -UseWindowsPowerShell
Update-Module -Name Microsoft.Online.SharePoint.PowerShell
#Once ready, connect to your SharePoint Admin Center
Connect-SPOService -url https://thespecialistworks1-admin.sharepoint.com
#Then, run this to delete a site that has already been deleted
Remove-SPODeletedSite -Identity https://contoso.sharepoint.com/sites/sitetoremove
References
- https://www.youtube.com/watch?v=bXkfUPaVPPc
- New-SPOSite PowerShell https://learn.microsoft.com/en-us/powershell/module/sharepoint-online/new-sposite?view=sharepoint-ps
Comments powered by CComment