Hi! PowerShell newbie here. I do not have the Connect-SPOService cmdlet. I don’t know how to get it. The version of PowerShell I am running:
Name Value
PSVersion 5.1.22621.2506
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
BuildVersion 10.0.22621.2506
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
The SharePoint module:
Version Name Repository Description
16.0.24… Microsoft.Online.SharePoint.Powe… PSGallery Microsoft SharePoint Online Services Module for Windows PowerShell
Why doesn’t Connect-SPOService work? When I run it, I get this error:
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.
At line:1 char:1
- Connect-SPOService
-
+ CategoryInfo : ObjectNotFound: (Connect-SPOService:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
I saw in a similar post where one of the suggestions was to run Import-Module. When I do, I get this prompt:
PS C:\Windows\system32> Import-Module
cmdlet Import-Module at command pipeline position 1
Supply values for the following parameters:
Name[0]:
What do I do? I’m trying to connect to a SharePoint library, but I get an error that says “Connection Error: Exception calling “ExecuteQuery” with “0” argument(s): “Identity Client Runtime Library (IDCRL) did not get a response from the Login server.””
I have a feeling I get this error because I can’t connect to SharePoint and I can’t connect to SharePoint without Connect-SPOService. Am I totally off base here?