Fix "Connect-SPOService : The term 'Connect-SPOService' 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

Problem: When trying to connect to SharePoint Online through PowerShell cmdlet: Connect-SPOService -URL https://crescent-Admin.SharePoint.com, Got an error message:
Connect-SPOService : The term 'Connect-SPOService' 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.
Connect-SPOService: The term 'Connect-SPOService' 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

Solution:
This is because: The "Connect-SPOService" cmdlet is part of SharePoint Online Management Shell! So you must install SharePoint Online Management shell first, before using this cmdlet. You can download and install SharePoint Online Management Shell to your client machine from https://www.microsoft.com/en-us/download/details.aspx?id=35588
install sharepoint online management shell powershell

Fix "Connect-SPOService : The term 'Connect-SPOService' 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 Fix "Connect-SPOService : The term 'Connect-SPOService' 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 Reviewed by Salaudeen Rajack on February 01, 2019 Rating: 5

No comments:

Please Login and comment to get your questions answered!

Powered by Blogger.