Exception calling ExecuteQuery with 0 argument(s): Unable to connect to the remote server error in PowerShell SharePoint Online

Exception calling ExecuteQuery with 0 argument(s) Unable to connect to the remote server

Recently I was trying to insert items to SharePoint online list through PowerShell command. The error was coming in the below line while calling the ExecuteQuery() method. The error comes as Exception calling “ExecuteQuery” with “0” argument(s): “Unable to connect to the remote server” $Context.ExecuteQuery(). Exception calling “ExecuteQuery” with “0” argument(s): “Unable to connect to the …

Continue reading

net System error 2240 has occurred The user is not allowed to log on from this workstation error in PowerShell SharePoint Online

The user is not allowed to log on from this workstation

This PowerShell tutorial, how to resolve net System error 2240 has occurred The user is not allowed to log on from this workstation error in PowerShell SharePoint Online. Recently we got one requirement to copy documents from shared drive to a SharePoint online document library using PowerShell. In that PowerShell command, we were providing the shared …

Continue reading

>