Error writing to file: microsoft.sharepoint.client.dll when installing the Share Point Online Management Shell


  • Hello,

    I would like to use PowerShell commands for SharePoint Online but when I try to install the management shell I get an alert saying error writing to file: microsoft.sharepoint.client.dll  verify that you have access to that directory.

    But I can't find that file anywhere, on google some people are having the same problem but with other Dll files and not when installing SPOMS.

    Same thing happens when I try to install the SharePoint Client components only that  this time it can't write to

    I couldn't find any useful information on this.

    Thanks in advance.

    Wednesday, May 16, 2018 7:36 PM