cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Super User
Super User

Where is the OneDrive File URL?

Hello,

I'd like to send an automated email that includes the URL of a file in my OneDrive folder. Unfortunately, I cannot find the URL of the file in Flow. 

What I have so far:

  • Trigger: Recurrance (every day)
  • Action1: Get File Metadata (file.xlsx)
  • Action2: Get File Content
    • Set to Dynamic Content: id from Action1
  • Action3: Send an Email
    • In the Body field, I'd like to include the URL to file.xlsx

Issue:

  • No values from the Get File Metadata action show the URL

Please advise on where I can get this so my users can open the file directly from the email by clicking the URL and using Excel Online.

Thank you

1 REPLY 1
Super User
Super User

Re: Where is the OneDrive File URL?

See the Create share link to path (OneDrive for Business) action or the Create share link (OneDrive) action. Both provided a Web URL string called SharingLink.

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Helpful resources

Announcements
firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (4,684)