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

Connecting PCF to Azure

I have a file attachment component. When a user selects a file, the component will upload the file into Azure Blob Storage account.

I am unable to connect to my Azure account and upload my file there. How can I do this?

@HemantG 

1 REPLY 1
ben-thompson
Solution Sage
Solution Sage

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 (3,088)