cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
RossDes
Microsoft
Microsoft

view file in Azure blob storage

Hi all, 

I have a problem with visualization of file in Azure Blob Storage from a Power App. 

The process is: the user upload a file in the CRM (dynamics) thought a Power App, then after a minute the file is moved to Azure Blob Storage. 

After that the user can see the document in the list of uploaded files but can't access or download it. 

How can I solve this problem? 

If the access directly from the CRM they can see the file. 

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions

Are you aware that Dynamics and CDS now automatically store files in azure blob and you No longer need to have custom processes to move files to azure blob?

https://docs.microsoft.com/en-us/power-platform/admin/capacity-storage

this is also the basis for the new file type fields 

https://docs.microsoft.com/en-us/powerapps/maker/common-data-service/types-of-fields

my recommendation is that you move away from your process that moves the files to azure blob and go woth the standard attachment storage. Then you can just work with attachments in cds and you don’t have to mess with directly accessing azure blob

 

If you want to keep doing it the way you do now, please see Shane Young’s video on the topic https://m.youtube.com/watch?v=wF0MmiaGO_o

 

also see this for examples of getting files from azure blob in a gallery

https://powerapps.microsoft.com/en-us/blog/upload-files-from-powerapps-using-the-azure-blob-storage-...


Click on the first image in the gallery and set it to – AzureBlobStorage.GetFileContent(ThisItem.Id) or  "https://YourStorageAccountName.blob.core.windows.net" & ThisItem.Path **

  • You can use the MediaType to pass the path and URL to any type of supported control in PowerApps such as:
    • PDF Viewer
    • Image
    • Audio
    • Video

View solution in original post

2 REPLIES 2

Are you aware that Dynamics and CDS now automatically store files in azure blob and you No longer need to have custom processes to move files to azure blob?

https://docs.microsoft.com/en-us/power-platform/admin/capacity-storage

this is also the basis for the new file type fields 

https://docs.microsoft.com/en-us/powerapps/maker/common-data-service/types-of-fields

my recommendation is that you move away from your process that moves the files to azure blob and go woth the standard attachment storage. Then you can just work with attachments in cds and you don’t have to mess with directly accessing azure blob

 

If you want to keep doing it the way you do now, please see Shane Young’s video on the topic https://m.youtube.com/watch?v=wF0MmiaGO_o

 

also see this for examples of getting files from azure blob in a gallery

https://powerapps.microsoft.com/en-us/blog/upload-files-from-powerapps-using-the-azure-blob-storage-...


Click on the first image in the gallery and set it to – AzureBlobStorage.GetFileContent(ThisItem.Id) or  "https://YourStorageAccountName.blob.core.windows.net" & ThisItem.Path **

  • You can use the MediaType to pass the path and URL to any type of supported control in PowerApps such as:
    • PDF Viewer
    • Image
    • Audio
    • Video

@jlindstrom  knowing that the files are stored in blob, how do I increase a files size limit beyond the native attachment size, which is only 130 mb (see the screen)?

thanks 

 

max_nikonov_1-1602271470764.png

 

Helpful resources

Announcements
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Users online (3,738)