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? Go to the “Site Contents” page (https://tenant.sharepoint.com/_layouts/15/viewlsts.aspx) of the site either from the left navigation or from the site settings menu of the site, which lets you get the last…

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? To remove a list template in SharePoint Online, do the following: Login to your SharePoint Online site collection (List templates are scoped at site collection level) >> Click on Settings >> Site Settings On the Site Settings…

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

SharePoint Online: How to Exclude Site from Search Results?

Requirement: Exclude Site from Search in SharePoint Online How to exclude a SharePoint Online Site from Search? SharePoint Online search results are security trimmed by default. Users get search results from all sites where they have access. However, there are some scenarios where you may want to prevent a site to appear…

Read more

SharePoint Online: Migrate a Folder with Sub-Folders and Files to SharePoint Online using PowerShell

Requirement: Migrate a folder with its sub-folders and files to SharePoint Online using PowerShell. PowerShell to copy a Folder with Its Sub-Folders and Files to SharePoint Online: Here is the PnP PowerShell to copy all files and sub-folders from a given folder from a local drive (or network drive) to SharePoint Online….

Read more

SharePoint Online: Archive Large List Items to another List using PowerShell

Requirement: Archive a large list by moving old items to a new list, in order to improve performance. How to Archive List Items in SharePoint Online? You can use the “Site Content and Structure” page to move list items in SharePoint Online. You can access it with the URL: https://tenant.sharepoint.com/_layouts/15/sitemanager.aspx, E.g. https://crescent.sharepoint.com/sites/marketing/_layouts/15/sitemanager.aspx…

Read more