Fix “Get-SPWeb : The term ‘Get-SPWeb’ 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, verify that the path is correct and try again.” Error in PowerShell

Problem: When trying to run a PowerShell script in SharePoint, I got this error Get-SPWeb : The term ‘Get-SPWeb’ 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, verify that the path is correct…

Read more

Fix “A compliance policy is currently blocking this site deletion” Error in SharePoint Online

Problem: When trying to delete a SharePoint Online site collection, getting an error message “Can’t Delete Site: A compliance policy is currently blocking this site deletion”. Also, in the SharePoint Admin center, we get an intimation saying, “This site has a compliance policy set to block deletion.”  Root Cause: This is because…

Read more

Fix “There was an error while attempting to get the themes” Error in SharePoint Online

Problem: When trying to change the site theme in SharePoint Online through “Settings >> Change the Look >> Theme,” I got an error message “There was an error while attempting to get the themes”. Workaround: You may encounter this issue when you make multiple changes to the site’s look and feel, like…

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

How to Enable Quick Edit in SharePoint Online?

Problem: SharePoint Online quick edit missing! How to Enable Quick Edit in SharePoint Online?  The “Edit in grid view” feature provides a flexible Excel-like interface to bulk edit/update list items in SharePoint Online. The Quick Edit feature allows users to quickly and easily edit the metadata of a list or library. Quick…

Read more

SharePoint Online: “Access denied. You do not have permission to perform this action or access this resource” Error on Uploading File, Creating Folder in Style Library

Problem:  Getting “Access Denied. You do not have permission to perform this action or access this resource” error when trying to upload a File or creating a folder in “Style Library”. Also, we get a similar error when trying to create a new folder: Solution: This is because the Custom script is…

Read more

Fix “Get-SPOSite : The managed path Sites/URL is not a managed path in this tenant.” Error in SharePoint Online

Problem: Getting “Get-SPOSite: The managed path sites/URL is not a managed path in this tenant.” error in PowerShell. Solution:  A simple PowerShell script to get a site collection in SharePoint Online gave this error message. After a while, I noticed the error was because of the “/” character at the end of…

Read more

Fix “Import-Module: The specified module ‘Module Name’ was not loaded because no valid module file was found in any module directory” Error

Problem: When trying to import the PnP PowerShell module, I got an error message “Import-Module: The specified module ‘SharePointPnPPowerShellOnline’ was not loaded because no valid module file was found in any module directory”. You may face this trouble for other PowerShell modules as well. E.g. Root Cause: The “Import-Module : No valid…

Read more