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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How do I specify the c...
Power Apps
Answered

How do I specify the correct Blob Container for AzureBlobStorage.GetFileContent?

(0) ShareShare
ReportReport
Posted on by 894

I am importing a canvas app to a different platform. Each platform has it's own Blob Container. I am successfully storing picture files, but when I go to retrieve them, using AzureBlobStorage.GetFileContent(BlobStorageID), it is looking in the incorrect Blob Container. How do I point it to the correct container?

Categories:
I have the same question (0)
  • Bilakanti Profile Picture
    1,226 on at

    @stapes , Did you created the Connection in the platform where you imported your canvas app? Try to create a connection for AzureBlobStorage in target environment.

  • stapes Profile Picture
    894 on at

    The Azure Blob Storage Connection already exists. It does not specify the Blob Container. It only uses Azure Storage Account name and Azure Storage Account Access Key.

    The same connector is used to create the file, and that bit has worked:

     

    AzureBlobStorage.CreateFile(
     "blobcontainername",
     GUID() & ".jpg",
     AddMediaButton2.Media
     )

    You will see on the Azure.BlobContainer.CreateFile the blob container name is a parameter.

  • Verified answer
    stapes Profile Picture
    894 on at

    Found a solution for this, using AzureBlobStorage.GetFileContentByPath

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 329 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard