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
helloDavid
Jun 27, 2024Copper Contributor
I'm still having trouble with this in 2024 I don't know why PS 7.4 hasn't been updated to support these commands. I finally found that if you force PS 5.1 then all the Connect-SPO commands work because they're supported in that version. I forced it by using Powershell, which launches in 7.4.3 for me, then running "powershell -version 5.1". I can manage SharePoint Online using Powershell now.