web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Download File from Blo...
Power Apps
Unanswered

Download File from Blob Storage

(1) ShareShare
ReportReport
Posted on by 44

I have a form with an attachment control. The attachment control lets me upload to the blob storage, however, i cant download or view the uploaded files from Canvas app. Any idea how to view or download the file from canvas app?

 

helpPowerApps_0-1686364921247.png

helpPowerApps_1-1686364995804.png

 

 

Categories:
I have the same question (0)
  • Shaheer Ahmad Profile Picture
    2,194 Moderator on at
    Re: Download File from Blob Storage

    To view or download a file from Blob Storage in a Canvas app, you can use the Azure Blob Storage connector in Power Apps. Here's a step-by-step guide:

    1. Add the Azure Blob Storage connector to your Power Apps app. Go to the "View" tab and click on "Data sources." Select "Add data source" and search for "Azure Blob Storage." Follow the prompts to connect to your Blob Storage account.

    2. Once the connector is added, you need to fetch the URL of the file in Blob Storage. You can do this by using the GetBlobMetadata function from the Azure Blob Storage connector. Here's an example of how to retrieve the URL:

     

    Set(
     BlobURL,
     AzureBlobStorage.GetBlobMetadata("your-container-name", "your-blob-name").@contentLink
    )

     

    1. Replace "your-container-name" with the name of the container in your Blob Storage account where the file is stored, and "your-blob-name" with the name of the specific blob/file you want to download.

    2. Now that you have the Blob Storage URL, you can use it to view or download the file in the Canvas app. For example, you can use a button with the following formula to open the file in a browser:

     

    Launch(BlobURL)

     

    1. When the button is clicked, it will open the file in the user's default browser, allowing them to view or download it.

    Make sure to adjust the container and blob names based on your Blob Storage setup, and use appropriate controls and actions in your app to implement the desired functionality.

    Remember to set appropriate permissions on your Blob Storage container to ensure that the app and its users have the necessary read access to the blobs/files.

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 757 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 322 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 209 Super User 2025 Season 2

Last 30 days Overall leaderboard