SharePoint Online: Get Site Collection Storage Size – Quota Usage Report using PowerShell

Requirement: Generate a report to analyze all SharePoint Online Site collection storage consumption. Are you looking for a way to find the storage usage for your site collections in SharePoint Online? In this blog post, we will show you how to gather storage details of your site collection and generate a report…

Read more

SharePoint Online: Get-Set “Yes/No (Check box)” Field Value using PowerShell

Requirement: Get or Set Yes/No Field Value in SharePoint Online using PowerShell. In SharePoint Online, the “Yes/No (check box)” fields allow users to indicate a selection. This can be helpful when you need to track boolean values such as “status” from users. You can set the value of this field or retrieve…

Read more

How to Delete OneDrive for Business Site Collection in SharePoint Online?

Requirement: Delete OneDrive for Business Site Collection! After a business decision was made to disable OneDrive organization-wide, We configured the settings to Disable OneDrive. However, All existing OneDrive sites were active, users could access them, and we wanted to remove them all! Any SharePoint My Site or OneDrive for Business site gets deleted…

Read more

How to Set Secondary Admin for All OneDrive for Business Sites?

When SharePoint My Site or OneDrive for Business site collection is created by the user, SharePoint assigns primary site collection administrator rights to the user. At times, you may have to gain Admin access in situations such as a User leaving the organization, troubleshooting, etc. In SharePoint on-premises environments, we have the…

Read more

There was a problem deleting Web site “Site-URL”. Sites that have subsites or certain apps can’t be deleted. Please try again after deleting all subsites and removing the apps.

Problem: If you try to delete a SharePoint Online site that has subsites in it, SharePoint throws an error message saying “There was a problem deleting Web site “<subsite-url>”. Sites that have subsites or certain apps can’t be deleted. Please try again after deleting all subsites and removing the apps.“ Solution: So…

Read more

How to Gain Owner Access to OneDrive for Business Sites in Office 365?

By default, When SharePoint My Site or OneDrive site collection is created by the user, SharePoint assigns the primary site collection administrator or the OneDrive Owner rights to the user. In some cases, you may need to access another user’s OneDrive for Business site. E.g., The user left the company, and the…

Read more

SharePoint Online: Check if a Feature is Activated using PowerShell

Requirement: PowerShell to check if a feature is activated in SharePoint Online. How to check if a specific Feature is Enabled in SharePoint? If you are a SharePoint administrator, you may find yourself needing to know whether a specific feature is activated in your environment. This blog post will show you how…

Read more

SharePoint Online: Find Content Type usage using PowerShell

Requirement: Find where a Content Type is being used in SharePoint Online Want to get the usage information for content types in SharePoint Online? Well, In this blog post, we will show you how to find out how content types are being used in SharePoint Online using PowerShell. You may have to…

Read more

SharePoint Online: Set Content Type to Read Only using PowerShell

Requirement: Make a Content type read-only in SharePoint Online. How to Make a Content Type to Read-Only in SharePoint Online? In SharePoint Online, you can make a content type read-only to prevent users from editing it. This can be useful if you want to restrict who can modify a particular content type…

Read more