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.
Reporting an Issue or Missing Feature
Please theck out this issue: https://github.com/PowerShell/PowerShell/issues/4526 (@markekraus suggested to open an issue in your place)
Expected behavior
Please describe what output you expect to see from PnP-PowerShell Cmdlets
Actual behavior
Please describe what you see instead. Please provide samples of HTML output or screenshots
Steps to reproduce behavior
Please include complete code samples in-line or linked from gists
Which version of the PnP-PowerShell Cmdlets are you using?
- [ ] PnP PowerShell for SharePoint 2013
- [ ] PnP PowerShell for SharePoint 2016
- [ ] PnP PowerShell for SharePoint Online
What is the version of the Cmdlet module you are running?
(you can retrieve this by executing Get-Module -Name *pnppowershell* -ListAvailable)
PS /home/...> Get-Module -Name pnppowershell -ListAvailable
PS /home/...>
How did you install the PnP-PowerShell Cmdlets?
- [ ] MSI Installed downloaded from GitHub
- [ ] Installed through the PowerShell Gallery with Install-Module
- [ ] Other means
(sorry that I can't fill in many of the informations since I don't even know what PnP is and merely was pointed to you from my above issue)
@passboltUser, what is your end goal you're trying to reach?
The SharePoint Online PowerShell module is not available on Linux as mentioned in the thread you reference. The PnP PowerShell module you're posting this in is an alternative to the SharePoint Online PowerShell module offering way more capabilities, but as far as I know also won't run on Linux. I don't have a Linux environment, so can't try it myself. Have you tried this yourself already?
The SharePoint Online PowerShell module is deprecated anyway in favor of using the Azure Active Directory PowerShell module. Not sure if that would be running on Linux either.
The option you do have from Linux is to talk to the REST APIs of SharePoint. These are platform independent. You can use whatever means Linux offers to send out a web request to talk to SharePoint. Biggest challenge will be the authentication part. Especially by using an oAuth App-Only token it should be doable as it basically means you only need to provide the oAuth JWT token in the Authorization: Bearer
We closed this issue as it had not activity within last 180 days. This is a generic process we have decided to perform for issues, which have not been explicitly marked still to be "work in progress" based on tags. We are performing this cleaning to make sure that old issues that have already been solved (but not closed) or are no longer relevant are cleaned out and make the issues more manageable. If this issue still valid, we would ask you to open a new issue and follow the guidance in the issue template related on the recommended location. We do apologize any inconveniences this might cause. Please do remember that issues in the issue lists are also messages for others in the community, so you can also check if you can assist on any of them. “Sharing is caring!”