web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Uploading photo using ...
Power Automate
Unanswered

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

(0) ShareShare
ReportReport
Posted on by 332

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?

Categories:
I have the same question (0)
  • v-micsh-msft Profile Picture
    Microsoft Employee on at

    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.

    72.PNG

     

     

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

    ms-appdata:///lxxxxxxxrces/AXXXXXages/untitled.png

     

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

    Regards

  • mcorning Profile Picture
    332 on at

    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).

     

     

     

     

  • v-micsh-msft Profile Picture
    Microsoft Employee on at

    Hi @mcorning,

     

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

    https://flow.microsoft.com/en-us/blog/handle-expense-reports/

    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:

    73.PNG

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

    See the results:

    74.PNG

     

     

    Regards

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.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 241 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 179

#3
Haque Profile Picture

Haque 159

Last 30 days Overall leaderboard