The flow will take a file from that OneDrive and store it in a SharePoint site. The remaining fieldsįill the destination fields with the desired SharePoint site location and you’re done. Take the document library, combine it with the visible path leading to the file, and use it as the File To Copy. The screenshot below is url address to a folder called Diving. Open any folder in the OneDrive and check the url, it’ll have the library name near the end. It’ll be probably ‘Documents’ library, but you can confirm again using the url. You must include also the library where the file is stored. As already said, it has a SharePoint site on the background so you can’t use just the visible folder path. The second field is the path to the file you want to copy. On the screenshot below it’s the OneDrive that belongs to a user the url, change the email address, and use it as the Current Site Address. It should end with the owner’s email address with replaced characters and. Open your OneDrive in a browser and copy the address until the /_layouts. This is the address of the user’s OneDrive which you can get from the url. You can access files on other user’s OneDrive (only the ones that are shared with you) and you can copy even big files.Īdd the ‘Copy file’ action and configure it as below. Using the SharePoint actions ‘Copy file’ or ‘Move file’ solves these two problems. That means you can use also the SharePoint actions to access OneDrive. OneDrive is basically a SharePoint document library hidden behind a different look (same as team in Teams). Since this approach won’t work, you should take one step back. ![]() And secondly, you can’t get a content of files bigger than 500 MB. Firstly, you can’t access other user’s OneDrive. The standard approach would be to ‘Get file content’ and use it to create the file in SharePoint. And Power Automate can copy them for you. Which is not a good approach – shared files should be in a shared location. Some files that should be in SharePoint are still in OneDrive of one specific user and shared to everyone else. But sometimes the distinction is not that clear. You can use OneDrive as a personal storage or SharePoint as a shared one. ![]() There’re two places where you can store files in the M365 platform. “How can I take all the videos currently stored in users OneDrive and copy them to a SharePoint site using Power Automate?”
0 Comments
Leave a Reply. |