Forum Discussion

coxygt's avatar
coxygt
Brass Contributor
Jun 04, 2024

Moving files from SharePoint online to a mapped network drive

So I have been asked to move over 1,000 files from SPO to a mapped Network Drive hosted in Azure.  I was looking to try and configure this using PowerShell if it's possible.  I have a csv that holds the server relative URL to each file, a destination (m:\folder\folder) format, what's the best way to achieve this, PNP, Graph SDK?

If anyone has done this or has a **bleep** good idea, please let me know as banging my head so far trying to get this moving.

  • TJCroft's avatar
    TJCroft
    Copper Contributor

    coxygt 

     

    Hi,

    I would use a power apps flow to achieve this. Configure the fields/parameters to suit.

    • tcboeira's avatar
      tcboeira
      Brass Contributor
      I needed to do something like this, which was moving a CSV file from a specific Library to a network drive.

      In fact, it created a new file, based on the content. In the end this was a problem because it caused different encoding - accent and character errors, for example -

      Would this, in your suggestion, be possible without the errors I mentioned?
  • tcboeira's avatar
    tcboeira
    Brass Contributor
    Sorry if it seems simplistic... But can't you search for the location's content in SP Online and, when completed, upload it to your network drive?

Resources