SharePoint Online: Set Hub Site Association using PowerShell

How to Configure Hub Site Association in SharePoint Online using PowerShell? Hub sites in SharePoint Online are a new way to organize related sites together into centralized portals based on organizational hierarchy. More on Hub site is How to Configure Hub Sites in SharePoint Online? Set Hub Site Association in SharePoint Online…

Read more

SharePoint Online: Delete All Files Older than 30 Days in a Document Library using PowerShell

Requirement: Delete All Files Older than 30 Days in a SharePoint Online Document Library. PowerShell to Delete Files Older than 30 Days in SharePoint Online I had to remove all files older than 30 days from a SharePoint Online document library. This PowerShell lets you remove all files created 30 days ago…

Read more

SharePoint Online: PowerShell to Bulk Create Folders in a Document Library from a CSV File

Requirement: Create Multiple Folders in a Document Library from a CSV File in SharePoint Online. PowerShell to Bulk Create Folders from a CSV File in SharePoint Online: Are you looking to create multiple folders in SharePoint Online but don’t want to have to do it one at a time? Maybe you want…

Read more

SharePoint Online: Find Unused Lists based on Last Modified Date

Requirement: Find Unused SharePoint Online Lists based on Last Modified Date How to Get the List Last Modified Date in SharePoint Online? Are you looking for a way to clean up your SharePoint Online site? Maybe you’re finding that it’s becoming cluttered with unused lists. Or possibly, you’d just like to get…

Read more

How to Configure Document ID Service Feature in SharePoint Online?

What is Document ID Service in SharePoint Online? The Document ID service in SharePoint Online automatically generates and assigns a unique number to each document which can be used to locate that document anywhere within the site collection. Once the uploaded document gets a unique number, a URL is also formed by…

Read more

PnP PowerShell: Connect-PnPOnline using ClientID and ClientSecret

Requirement: Connect to SharePoint Online using PnP PowerShell Connect-PnPOnline with AppID and AppSecret I have a PnP PowerShell script scheduled in the Windows Task scheduler that runs every 5 minutes. I need the script to connect to SharePoint Online unattended. Although I can store user names and passwords in the script, I…

Read more

SharePoint Online: How to Delete a List Template using PowerShell?

Requirement: Delete list template in SharePoint Online How to delete a list template SharePoint Online? If you’re a SharePoint Online user, you know that list templates are a great way to save time when creating new SharePoint Online lists. But what if you want to delete a list template? In this blog…

Read more

SharePoint Online: How to Change the Header Banner Image in Modern Site Pages?

Requirement: Change the Header Banner Image in Modern Site Pages How to Change the Header Background image in SharePoint Online Site Page? Here is how to change the default header image on the ‘Site Page’ on SharePoint Online: Navigate to the modern site page. E.g. https://crescent.sharepoint.com/sites/marketing/SitePages/About-Us.aspx Click on the “Edit” button on…

Read more

SharePoint Online: Default Site Collections

Default site collections in SharePoint Online: When you create a new Office 365 tenant, It creates these site collections by default.  If you go to the classic site collections page from SharePoint Online admin center, you’ll find these sites listed: The top-level site collection (or Root Site) at https://tenant.sharepoint.com https://tenant.sharepoint.com/portals/hub – Office…

Read more