I need to copy a file from time to time from a shared team folder on OneDrive/SharePoint, and it wouldn't matter if I'm able to monitor its changes or not, I just need to update my local file copy from time to time.
I tried SharePoint and OneDrive triggers/actions...
If I use OneDrive, I can't access somebody else's files or folders - and the file I need to copy is in a shared folder.
If I use SharePoint, I can get the shared path, but then I can't copy it to a folder, I would need to copy the file to a personal SharePoint, which I don't have (nor can I - it's a company's policy that all SharePoints sites must be shared and active).
I feel like this is really really easy and I'm just being too dumb on my approach...
Thank you all in advance!
Hi @mateus_oliveira ,
Here's what I would do:
1) Manual trigger, (run on-demand) or scheduled trigger, get a copy once a week or some other schedule.
2) Get files (properties only) - point to the shared file in SharePoint.
3) Get file content - the file you reference in step #2.
4) Create file (in OneDrive), using the dynamic content of steps #2 and #3. In this step you can use the dynamic content in step #2 to use the same file name or just type it in (this solution doesn't sound like you need a dynamic approach) and use step #3 for the file content.
Create. Save. Test. Success.
Michael E. Gernaey
497
Super User 2025 Season 1
David_MA
436
Super User 2025 Season 1
Riyaz_riz11
244
Super User 2025 Season 1