I want to copy a file from OneDrive to Azure File Storage.
Please advice.
I want to copy a file from OneDrive to Azure File Storage.
Please advice.
In logic app we have Onedrive connector and Azure file storage connector. You can leverage different trigger/action according to your requirement.
If your requirement is when the file is created in onedrive then it should be copied to file storage then you can leverage When a file is created action and pass the output (content of the file) to Create file of file storage. Please note that there are limitation of connector and refer to connector document for more details.
In case your requirement is to copy few files based on user input then you can leverage Find Files in folder/Find files in folder by Path that returns the array of BlobMetaData. Now you can iterate through this array to get the content of individual file using Get file content/Get file content using Path and pass the output (content of the file) to Create file of file storage.
Feel free to get back to me if you have any queries or concerns or different requirement/scenario.
Hi @MarkJZYeap-8668,
Just checking in to see if the information was helpful. Please let us know if you would like further assistance.
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
The problem has been resolved. We have managed to copy a file from OneDrive to Azure File Storage.
@MarkJZYeap-8668 Thanks for the confirmation. The issue was resolved here.
Feel free to "Accept as Answer" so that it can help others in the community looking for help on similar topics
Hi @MarkJZYeap-8668,
If the response is helpful, please click "Accept Answer" and upvote it. . Other partners who read the forums with the same issue can get more information from the correct result.
Thank you.
13 people are following this question.