SharePoint Online: Find Unused Lists based on Last Modified Date

March 29, 2019    , , , , ,
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 left navigation or from site se…

SharePoint Online: Default Site Collections

March 24, 2019    
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…

SharePoint Online: How to Exclude Site from Search Results?

March 23, 2019    , , , ,
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 wa…

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

March 18, 2019    , , , , , ,
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 networ…

SharePoint Online: Copy Attachments from List to Document Library using PowerShell

March 16, 2019    , , ,
Requirement: Copy all attachments from a SharePoint Online List to Document Library How to Copy Attachments from SharePoint Online List? Here is the trick to copy all attachments from SharePoint Online list: SharePoint stores list item attachments by creating sub-folders for each list item …

Fix: "The Site scoped feature being activated has a dependency on hidden Site Collection scoped feature" Error on Content Organizer

March 04, 2019    , ,
Problem:  I need to enable 'content organizer' in site feature. However, when I tried activating the "Content Organizer" feature from SharePoint Online site features page, got an error message: The Site scoped feature being activated has a dependency on hidden Site Collection …

Fix "List cannot be deleted while on hold or retention policy" Error on SharePoint Online

March 04, 2019    , , , , , ,
Problem:   When trying to delete a document library in SharePoint Online, it gave an error message "list cannot be deleted while on hold or retention policy." Solution:  As the error message says: List cannot be deleted while on hold or retention policy, this error is due to the …

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

March 03, 2019    , , , ,
Requirement: Add active directory security group to SharePoint online site collection administrator group. PowerShell to Add AD Security group as Site Collection Administrator: Step 1: Get AD Security Group's ID We need the ID of the AD group first. Use the PowerShell script to retrieve t…

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

March 03, 2019    , , , , , , ,
Requirement: Get the file-folder structure of a SharePoint document library and export to CSV. SharePoint Online: PowerShell to get the Document Library Inventory Let's export all folders, sub-folders and files structure from a SharePoint Online document library to a CSV file: #Load Shar…

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

March 03, 2019    , ,
Problem:  When trying to get list items from a SharePoint Online list using Get-PnPListItem cmdlet with a query parameter, got an error message "Get-PnPListItem : The attempted operation is prohibited because it exceeds the list view threshold enforced by the administrator." Root Ca…

SharePoint Online: How to Change Site Theme using PowerShell?

March 02, 2019    , , , , ,
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, image, and page layout for the SharePoint sites. SharePoint provides a default set of site themes,  and we also hav…

SharePoint Online: Sync User Profile Property from Azure AD using PowerShell

March 02, 2019    , , , , ,
Requirement:  Sync User Profile Property from Azure Active Directory to SharePoint Online using PowerShell How to Sync a User Profile Property in SharePoint Online? In a typical SharePoint Online environment, The user profile synchronization process imports user profiles from On-Premises AD to…

Powered by Blogger.