SharePoint Online: PowerShell to Grant Site Permissions to User

Requirement: Grant permissions to a SharePoint Online site using PowerShell. How to Grant Access to a SharePoint Online Site? When working with SharePoint Online, a common task is to add users to the site. In SharePoint Online, it is easy to grant access to a site for specific users or groups and…

Read more

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

Requirement: Remove the “Content Type” Field from SharePoint Online List Forms. How to hide “Content Type” Dropdown 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. Sometimes, this could be…

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? Are you looking to add a column to your SharePoint Online document library that displays the size of each file? Well, You can add the “File Size” column to any list view of the SharePoint Online…

Read more

How to Share 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? By default, any document library created in SharePoint inherits permissions from its parent site. However, you may have to share access to a document library in SharePoint Online at times. Sharing a…

Read more

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

Microsoft Office Excel files stored in deep Folders, 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 the 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…

Read more

SharePoint Online: Export Access Requests Settings using PowerShell

Requirement: Export access requests settings for all sites in SharePoint Online. 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 and exports…

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 the 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…

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? A site collection is a top-level site in SharePoint Online that contains a hierarchy of subsites. It is a container for all the sites, lists, libraries, and other content that make up…

Read more