Announcements
When I upload from PowerApps using
Hi @mrscherry2000
AzureBlobStorage.CreateBlockBlob( "/filecabinet/", varFilename, UploadFileButton.Media, {'Content-Type': "application/pdf"} )
If you have any questions or feedback, please let me know. Have a great day! 😊-----------------------PowerYsa Power Platform Enthusiast [LinkedIn] | [Youtube]
I love to share my knowledge and learn from others. If you find my posts helpful, please give them a thumbs up 👍 or mark them as a solution ✔️. You can also check out my [@PowerYSA] for some cool solutions and insights. Feel free to connect with me on any of the platforms above. Cheers! 🍻
That was it! Thank you so much!
I thought this worked as I intended it which was to upload PDFs as BlockBlocks but when I look in Azure, I see the content type is still an octet-stream instead of a PDf? Any ideas? This is my full code I'm using:
Hi,
I've spent some time trying this out too with the same result.
After som testing (2 hours), I've found out that it's the wrong function to call 🙂
You need to use this instead:
AzureBlobStorage.CreateFile(
);
This will work, even without the Content-Type (as this is automatically detected and set during upload).
Hope it helps someone out 🐵
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 395 Super User 2026 Season 2
Mohsin Ali 328
WarrenBelz 260 Most Valuable Professional