SharePoint Online: PowerShell to Grant Site Permissions to User

Requirement: Grant permissions to SharePoint Online site using PowerShell SharePoint Online: PowerShell to Set Site Permissions In SharePoint Online modern sites, the default granularity options for accessing SharePoint content are as follows: Full Control, which is granted to Owners Edit, which is granted to Members Read, which is granted to Visitors (guests)….

Read more

SharePoint Online: Hide “Content Type” Field from List Forms

Requirement: Remove Content Type Field from SharePoint Online List Forms How to hide “Content Type” field from SharePoint Online List Forms? When you enable content types for a SharePoint Online list, you’ll see “Content Type” as a field in SharePoint list forms such as New and Edit. This could be annoying sometimes,…

Read more

How to Add File Size Column to SharePoint Online Document Library?

Requirement: Add file size column to SharePoint Online How to Show File Size in SharePoint Online? You can add the “File Size” column to any list view of the SharePoint Online document library to get the size of each file. Just follow these steps to add the file size column to SharePoint…

Read more

How to Set Permissions to a Document Library in SharePoint Online?

Requirement: Set Permissions on a SharePoint Online Document Library. How to Grant Access to a Document Library in SharePoint Online? Any document library created in SharePoint inherits permissions from its parent site by default. However, you may have to restrict access to a document library in SharePoint Online at times. Here are…

Read more

SharePoint Online: Find All Files Exceeding Maximum URL Length Limitation using PowerShell

Microsoft Office Excel files stored in deep Folder, sub-folder structures with long names often result in an error when they exceed the maximum file URL length of 218 characters as in my other article  SharePoint Online: URL Length Limitation of 218 Characters in Excel Files. So, we wanted to proactively scan the…

Read more

SharePoint Online: Hide Recycle Bin from Quick Launch

Requirement: Hide Recycle bin from SharePoint Online Quick Launch How to Hide Recycle bin in SharePoint Online? The recycle bin link was not relevant for site visitors as they can’t delete from the site or restore from the Recycle bin, and we wanted to hide the recycle bin from the Quick Launch…

Read more

SharePoint Online: Export Access Requests Settings using PowerShell

Requirement: Export access requests settings for all sites in SharePoint Online using PowerShell SharePoint Online: PowerShell to Export Access Requests Settings (Email Address, Group Configuration) To export access requests settings from all sites in the SharePoint Online tenant, use this PowerShell: This PowerShell script gets the inventory of all access request settings…

Read more

Fix “Install-Module: The term ‘Install-Module’ is not recognized as the name of a cmdlet, function, script file, or operable program” Error

Problem: I was trying to install SharePoint Online PnP PowerShell module with “Install-Module -Name SharePointPnPPowerShellOnline” and got this error message: Install-Module : The term ‘Install-Module’ is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included,…

Read more

SharePoint Online: How to Create a Classic Site Collection?

Requirement: Create a classic team site collection in SharePoint Online. How to create a Classic Team Site in SharePoint Online? You may want to create a classic style SharePoint Online site collection, maybe because your organization hasn’t adapted the modern experience or because you want some of the default functionality from the…

Read more