question

MarkJZYeap-8668 avatar image
0 Votes"
MarkJZYeap-8668 asked emizhang-msft commented

How to obtain OneDrive URL from Azure Logic App?

I want to copy a file from OneDrive to Azure File Storage.

Please advice.

azure-logic-appsoffice-onedrive-client-itpro
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

MayankBargali-MSFT avatar image
0 Votes"
MayankBargali-MSFT answered emizhang-msft commented

Hi @MarkJZYeap-8668

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.

· 5
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

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.


0 Votes 0 ·

The problem has been resolved. We have managed to copy a file from OneDrive to Azure File Storage.

0 Votes 0 ·

@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

0 Votes 0 ·

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.


0 Votes 0 ·

Thanks good information

0 Votes 0 ·