Fix for “Connect-PnPOnline: A parameter cannot be found that matches parameter name ‘interactive'” Error!

Problem: Getting “Connect-PnPOnline: A parameter cannot be found that matches parameter name ‘interactive’” error when tying to connect to SharePoint Online site from PnP PowerShell. Solution: If you get “Connect-PnPOnline : A parameter cannot be found that matches parameter name ‘Interactive’.”, that means you are not running the latest PnP PowerShell module….

Read more

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, I 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 once so that your authentication cookie gets generated!

Read more

Fix “No connection available. Use Connect-SPOService before running this CmdLet.” Error in SharePoint Online PowerShell!

Problem: Getting this error, “No connection available. Use Connect-SPOService before running this CmdLet.” while trying to connect SharePoint Online via PowerShell through SharePoint Online Management Shell. Solution: You must connect to SharePoint Online Service using Connect-SPOService PowerShell cmdlet first before executing any other cmdlets for SharePoint Online. On running the Connect-SPOService cmdlet,…

Read more

Get-UnifiedGroup : The term ‘Get-UnifiedGroup’ is not recognized as the name of a cmdlet, function, script file, or operable program.

Problem: Getting “Get-UnifiedGroup : The term ‘Get-UnifiedGroup’ 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! Root Cause and Solution: You must…

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, 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 “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. This could happen in any PowerShell method like CSOM, SharePoint Online Management Shell, or PnP PowerShell. Here are…

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