Connect-SPOService : The ‘Connect-SPOService’ command was found in the module ‘Microsoft.Online.SharePoint.PowerShell’, but the module could not be loaded. For more information, run ‘Import-Module
Microsoft.Online.SharePoint.PowerShell’.
At line:1 char:1
i was try to key in below code also :
Install-Module -Name Microsoft.Online.SharePoint.PowerShell -Force
Install-Module -Name Microsoft.Online.SharePoint.PowerShell
Import-Module Microsoft.Online.SharePoint.PowerShell
Set-ExecutionPolicy RemoteSigned
But no luck still appear same error .
Then i try to install Sharepoint online management shell and run again connect SPO and i get the same error as well.
Even I using new version powershell (powershell 7) also get same error /.
Please do not post images of code or error messages. Instead post the plain text formatted as code.
When you post code, sample data, console output or error messages please format it as code using the preformatted text button ( </> ). Simply place your cursor on an empty line, click the button and paste your code.
Please do not post images of code or error messages. Instead post the plain text formatted as code.
When you post code, sample data, console output or error messages please format it as code using the preformatted text button ( </> ). Simply place your cursor on an empty line, click the button and paste your code.