Fix “We can’t sign you into your company portal because something on the server isn’t configured correctly.” Error

Problem: When trying to open a SharePoint Online site through SharePoint Designer, got this error message, “We can’t sign you into your company portal because something on the server isn’t configured correctly” Solution: Login to the site through Internet Explorer, so that your authentication cookie gets generated!

Read more

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, 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 and…

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 SharePoint Admin center, we get an intimation saying “This site has a compliance policy set to block deletion.”  Root Cause: This is because of…

Read more

Fix “The sign-in name or password does not match one in the Microsoft account system” Error in SharePoint Online

Problem: Getting “The sign-in name or password does not match one in the Microsoft account system” Error in SharePoint Online. Solution: I’ve experienced this error in SharePoint Online PowerShell scripts a couple of times and this could happen in any of the PowerShell methods like CSOM, SharePoint Online Management Shell, or PnP…

Read more

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

Problem: When trying to change site theme in SharePoint Online through “Settings >> Change the Look >> Theme” got an error message “There was an error while attempting to get the themes”. Workaround: When you do multiple changes to the site’s look and feel like changing header, icons, and themes in one…

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: “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 is because of the “/” character at the end of…

Read more

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

Problem: When trying to import the PnP PowerShell module, got an error message “Import-Module: The specified module ‘SharePointPnPPowerShellOnline’ was not loaded because no valid module file was found in any module directory” Solution: This is because the PowerShell console or ISE is unable to get the module from given module path’s in…

Read more

Fix “You do not have permission to open this website in SharePoint Designer” Error

Problem: When trying to open a SharePoint Online site in SharePoint Designer, got this error message “You do not have permission to open this website in SharePoint Designer” Solution: By default, SharePoint designer customization are disabled in modern group sites in SharePoint Online. To enable SharePoint designer, You have to set the…

Read more