CAML Query to Filter Yes/No (Check box) Field Values using PowerShell

Requirement: CAML Query to Filter Yes/No Field Values in PowerShell. CAML Query to Filter Yes/No Field Values in SharePoint Online: Let’s use PowerShell to query Yes/No field type values from a SharePoint Online list. 

Read more

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 a OneDrive for Business Site?

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 a user creates SharePoint My Site or OneDrive for Business site collection, SharePoint assigns primary site collection administrator rights to the user. You may sometimes have to gain Admin access in situations such as a User leaving the organization, troubleshooting, etc. In SharePoint on-premises environments, we have the “User Policy” option…

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 Grant Access to another User’s OneDrive in Office 365?

Requirement: Grant access to OneDrive for business to another user. OneDrive makes it easy to collaborate by sharing files and folders with others. By default, When the user creates SharePoint My Site or OneDrive site collection, SharePoint assigns the primary site collection administrator or the OneDrive Owner rights to the user. Sometimes,…

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