SharePoint Online: How to Restore a Deleted Site Collection using PowerShell?

Requirement: Restore a Deleted Site Collection in SharePoint Online. How to restore a Deleted Site Collection in SharePoint Online? SharePoint Online recycle bin provides the ability to recover even when an entire site collection is deleted. To restore a deleted site collection in SharePoint Online, follow these steps: Login to SharePoint Online…

Read more

Fix “Get-SPOSite: The Site ‘https://tenant.sharepoint.com/’ is not properly formed” Error in SharePoint Online

Problem: When trying to connect to SharePoint Online site collection, got this error message “Get-SPOSite The Site Tenant-URL is not properly formed.” Solution: The solution is simple! Just remove the trailing “/” from the URL! E.g. In my case, instead of “https://crescent.sharepoint.com/sites/marketing/”, I had to remove the backslash “/ “after marketing. So…

Read more

SharePoint Online: Get All Users in Site Collection using PowerShell

Requirement: SharePoint Online PowerShell to Get All Users in Site Collection SharePoint Online: PowerShell Get All Users of the Site Collection While my other post addresses How to Get All Users and Groups in SharePoint Online, this post aims to get all users of the SharePoint site collection. Here is the SharePoint…

Read more

SharePoint Online: Change Storage Quota of a Site Collection using PowerShell

Requirement: Increase storage quota in SharePoint Online using PowerShell. How to set the storage quota of a site collection in SharePoint Online? By default, SharePoint Online uses an automatic storage quota management from the storage pool allocated to the tenant, to reduce administrator efforts. However, you can take over the storage management…

Read more

SharePoint Online: Remove User from Site Collection using PowerShell

Requirement: SharePoint Online Remove User from site collection How to Delete a user from site collection in SharePoint Online? To remove a user from SharePoint Online site collection, follow these steps: Login to SharePoint Online site as Administrator >> Navigate to “All People” page by appending: /_layouts/15/people.aspx/membershipGroupId=0  to the URL (E.g. https://crescent.sharepoint.com/_layouts/15/people.aspx/membershipGroupId=0)…

Read more

SharePoint Online: PowerShell to Get Site Collection Administrators

Requirement:  SharePoint Online PowerShell to List All Site Collection Administrators. SharePoint Online site collection administrators possess full control to the entire site collection – including top-level site, subsites, all lists and libraries in the site collection. Each SharePoint site collection can have its own Site Collection Administrators, Typically assigned during the time…

Read more

SharePoint Online: PowerShell to Add User to Group

Requirement: Add user to group in SharePoint online using PowerShell. How to Add Members to a SharePoint Online Group? To provide access to your SharePoint Online site, you can add users to SharePoint Groups such as the default groups – Site Owners, Site Members, or Site Visitors. Here is how to add…

Read more

SharePoint Online: How to Create a Site Collection using PowerShell?

Requirement: Create a new site collection in SharePoint Online using PowerShell. How to Create a Site Collection in SharePoint Online? Site collection in SharePoint is a logical group of sites with a common top-level site and subsites organized as a hierarchy. Every site collection shares a common top site, navigation, security, content…

Read more

SharePoint Online: Get All Site Collections using PowerShell

Requirement: Get all site collections using PowerShell in SharePoint Online. How to Get a List of Site Collections in SharePoint Online? A site collection is a group of sites, generally organized by department, project, region, function, or business units. How to view all site collections in SharePoint Online? Well, If you want…

Read more