SharePoint Online: Set Active Directory Security Group as Site Collection Administrator using PowerShell

Requirement: Add active directory security group to SharePoint Online site collection administrator group. PowerShell to Add AD Security group as a Site Collection Administrator: Centralizing the management of all site collection administrators with an Active Directory group is a fair idea to simplify the SharePoint Online administration – So that you don’t…

Read more

SharePoint Online: Get Document Library Inventory (Folder-SubFolder-File Structure) using PowerShell

Requirement: Get the file-folder structure of a SharePoint document library and export it to CSV. SharePoint Online: PowerShell to get the Document Library Inventory Are you looking for a way to get an inventory of all the documents stored in your SharePoint Online Document Library? Well, Here is the handy PowerShell that…

Read more

Fix “Get-PnPListItem : The attempted operation is prohibited because it exceeds the list view threshold enforced by the administrator.” Error

Problem: When trying to get list items from a SharePoint Online list using Get-PnPListItem cmdlet with a query parameter, I got an error message “Get-PnPListItem : The attempted operation is prohibited because it exceeds the list view threshold enforced by the administrator.” Root Cause:  The requirement was to get all list items created…

Read more

SharePoint Online: How to Change Site Theme using PowerShell?

In SharePoint Online, you can customize the look and feel of your site by changing themes to reflect your corporate branding. A theme in SharePoint Online defines the colors, fonts, images, and page layout for the SharePoint sites. SharePoint provides a default set of site themes,  and we also have the ability…

Read more

SharePoint Online: Enable Document ID Service using PowerShell

Document ID Service feature automatically assigns a unique ID to documents uploaded, which helps to track and manage documents efficiently. Configuring document ID service is explained in my other post, How to Configure Document ID Service Feature in SharePoint Online? Let’s see how to enable document ID service using PowerShell: Step 1:…

Read more

How to Search SharePoint Online using PnP PowerShell?

Requirement: Run Search Query in SharePoint Online using PowerShell How to Search SharePoint Online using PowerShell? PowerShell is a great way to automate tasks in SharePoint Online. With PowerShell, you can quickly find the information you need from your SharePoint Online environment. In this blog post, we will show you how to…

Read more

SharePoint Online: How to Implement Custom 404 Page Not Found Error Page?

Requirement: Implement a custom page not found error page in SharePoint Online. SharePoint Online: How to Add custom 404 page not found error page SharePoint Online comes with a default “Page not found” error page in the “Pages” library in publishing Sites (https://crescent.sharepoint.com/Pages/PageNotFoundError.aspx) which works automatically when a user hits a non-existent…

Read more

SharePoint Online: How to Add a Custom Refiner to Refinement Panel in Search Results?

Requirement: Create Search Refiners in SharePoint Online. How to add a Custom Column in Search Refiner in SharePoint Online? Refinement Web Part in the SharePoint Online search results page helps us narrow down the search results. By default, the refinement panel has Result type, Author, and Modified Date columns. In my case,…

Read more