Showing results for 
Search instead for 
Did you mean: 
Responsive Resident
Responsive Resident

Uploading photo using Create Blob Action stores ID of photo, not the photo, itself

I am experimenting with using the Create Blob Action as an alternatives to my WebApi that successfully uploads photos to our Azure Blog storage.


Here's the swagger node that defines the photo parameter in my WebApi:

"parameters": [
    "name": "file",
    "in": "formData",
    "required": true,
    "x-ms-media-kind": "image",
    "type": "file"

I added an icon to the Photo Gallery in my PowerApp and attached the flow using Create Blob. I passed ThisItem.Name and ThisItem.Photo as the two args to the Flow. ThisItem.Photo is also the value passed to my working WebApi.


But when i check blob storage, i have a text value (basically a blob ID like this: blob:16D12A9E-080F-48A7-A9D7-F169BFD41051) instead of an image.


Can we use the Create Blob action for storing photos? Or is there another Action that does what i need?

Community Support
Community Support

Hi @mcorning,


Would you please take a check about the running details of your Flow?

Generally Microsoft Flow (The Create Blob Action) would just store the data which is inputted, we could see the Blob content under the running details.

I use the Thisitem.image as the second parameter.




The downloaded file from my side when opening with notepad shows the following:



I suspect the parameter specified here didn't pass the image value through Microsoft Flow.


Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Agreed. ThisItem.Photo (the second arg) did not pass the image. This image doesn't match yours. Note the caption.



Isn't the media-type a photo?Isn't the media-type a photo?


i'm not sure what to try next. maybe i'll do a simpler experiment against the camera, itself (instead of using a Photo Collection).





Hi @mcorning,


Just for the Azure Blob storage-Create Blob testing, I followed the the following Flow:

By default Office Lens would just generate .jpg files and save it into OneDrive for Business Account, here I replaced the PowerApps trigger with OneDrive for Business->When a file is created, put the File Name into the Blob content, File Content into Blob Content:


The .jpg file is saved successfully as image/jpeg Media type under Azure Blob storage.

See the results:





Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,039)