Forum Discussion
Richard_Eagles
Jun 07, 2022Copper Contributor
Connect-SPOService not working in PowerShell 7
Hi all, I'm having some issues getting Connect-SPOService working in PowerShell 7 (7.2.4). It works fine in Windows PowerShell (5.1.22), however it will always generate errors when trying to us ...
- Jun 07, 2022Hello, AFAIK, SharePoint PowerShell is still not supported in Core/7
Jun 07, 2022
Hello, AFAIK, SharePoint PowerShell is still not supported in Core/7
- OliverPeterJul 25, 2024Copper ContributorI had the same problem and I came across this solution:
Import-Module Microsoft.Online.SharePoint.PowerShell -UseWindowsPowerShell
(https://www.kjctech.net/using-sharepoint-online-management-shell-with-powershell-7/)
This works for me. - ClandguthAug 26, 2022Copper ContributorIs there an expected period of time when it will be supported?
- Aug 26, 2022None that I know of, sorry
- DarioCLNov 03, 2022Copper Contributor
I have the same OAuth 2.0 error, but I get it both on PS 7 and regular PS. I can't figure out how to solve it, tried the import module command but it didn't work.
I'm on Windows11