cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
RevanthReddy
New Member

Connecting PCF with Azure Blob Storage

I have a PCF File Attachment component that allows the user to select a local file when the button is clicked. I would like to upload the file selected by the user to Azure Blob Storage. How can this be done?

@Hemanth 

1 REPLY 1
ben-thompson
Solution Sage
Solution Sage

Copying my other answer as I think this is a duplicate of the other question

 

If you are (as I assume you are) wanting the PCF component to store the file in the blob storage directly you will need to register the PCF as a component in your Azure Active directory client and include code to authenticate the PCF component before initiating the upload.

 

https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob/samples has some things that may help.

 

Personally I would be using the powerapp application to upload the data using an action and getting that to do the hard work (but then I do like to keep communications simple to avoid CORS issues).

---
If this post has answered your question please consider it for "Accept as Solution" or if it has been helpful give it a "Thumbs Up".

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (4,389)