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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Upload Photos to Onedr...
Power Apps
Unanswered

Upload Photos to Onedrive From PowerApp

(0) ShareShare
ReportReport
Posted on by 72

Hi...

 

i tried two way to Upload photos to Onedrive from Power Apps... but i struct in both method due to following issue..

 

1. i tried to upload photos to Onedrive through Flow (sent Path, FileName , Content) Path & FileName was working fine but the content was in not supported format (i used comman to used content is MyCamera.Photo)

Not supported file.PNG

 

 

 

the Image shows the file created in onedrive with not supported (image) format.

 

2. i tried to Upload the image to Common data service. i have created new entity but the column type not having image type field ...

 in the my second option also i did not having image type.

 

Can any one help me to resolve the above issue or any other way to opload photos to onedrive...

 

Thanks..

Talha

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

    Hi Talha,

     

    Generally, we use the first method to achieve your requirement. I saw some pics are shown correctly in the screenshot, it means that this should work. Have you checked what are the formats of these failed pics? 

     

    Regards,

    Mona

  • Talha Profile Picture
    72 on at

    Thanks for replay..

     

    sorry... I missed to mark the pictures in attached screenshot...

     

    i have created last four pictures from Powerapps using camera control feature..

    X

    Not supported file 1.PNG

    enten.PNG

     

    the above files contain the format as file... i did change to jpeg file format.. no data in image fully black color.

  • Talha Profile Picture
    72 on at

    Hi Mona...

     

    i have notice in outputs log in flow, the format as application/octet-streamoutputs.PNG

     

    thanks..

    Talha

  • Mike8 Profile Picture
    1,330 on at

    Hello

    Any progress? I can't find a way to upload images from PowerApps to Onedrive.

  • Community Power Platform Member Profile Picture
    on at

    @Talha @Mike8

     

    Try the following tutorial:  https://powerapps.microsoft.com/en-us/tutorials/add-images-to-excel/

     

    • This method requires an Excel spreadsheet stored in OneDrive, but if you follow the steps correctly, your PowerApp will create a folder in OneDrive and store the images from your PowerApp. 

     

    If you are wanting help with the Camera control, another useful tutorial can be found here (though it uses SharePoint as the save location):  https://powerusers.microsoft.com/t5/PowerApps-Forum/Solved-How-to-save-captured-images-in-SharePoint/m-p/19154#M8412

     

  • Mike8 Profile Picture
    1,330 on at

    Hello @Anonymous

     

    I can't thank you enough.
    I followed the instructions of the first link and it worked. I have been doing the same thing but I wasn't using the [image] in the column name of the excel table. I will also try to follow the instructions of the second link, too. I hope it will work.
    Thank you for your help.

  • Community Power Platform Member Profile Picture
    on at

    Glad I could help!  Smiley Very Happy

  • JimmyS Profile Picture
    97 on at

    Thank you for the link. I have successfully used this method and the Patch method to copy images up to an Excel file, with images being stored in a OneDrive folder. Her is my question/dilema.  Files uploaded to Excel have a caption and an image path. That same image path gets saved in the OneDrive folder along with the image. But because of the complex nature of the filename, it's really difficult to identify each image in OneDrive after you have more than a few. PowerApps_ExcelPaths.jpg

     

    Is there any way to, 1) rename the image path to something meaningful from within PowerApps, before saving to Excel/OneDrive. Or, append the Caption title (assuming the caption title would always have the proper syntax:nospaces, etc.) to the Image file name.

     

    My installers may upload 20-30 images per day. That will really bog down PowerApps and a Gallery. I would like to offload images from the default OneDrive folder into specific Job sub-folders each day or two. But I need a specific filename in order to do that. Captions like 24689 could tell me that all images including 24689 belong to the same job.

     

    I am trying to get a Flow to work as well to see if there is any other flexibility in using that method. Still working on it.

  • Mike8 Profile Picture
    1,330 on at

    @JimmyS wrote:

    Thank you for the link. I have successfully used this method and the Patch method to copy images up to an Excel file, with images being stored in a OneDrive folder. Her is my question/dilema.  Files uploaded to Excel have a caption and an image path. That same image path gets saved in the OneDrive folder along with the image. But because of the complex nature of the filename, it's really difficult to identify each image in OneDrive after you have more than a few. PowerApps_ExcelPaths.jpg

     

    Is there any way to, 1) rename the image path to something meaningful from within PowerApps, before saving to Excel/OneDrive. Or, append the Caption title (assuming the caption title would always have the proper syntax:nospaces, etc.) to the Image file name.

     

    My installers may upload 20-30 images per day. That will really bog down PowerApps and a Gallery. I would like to offload images from the default OneDrive folder into specific Job sub-folders each day or two. But I need a specific filename in order to do that. Captions like 24689 could tell me that all images including 24689 belong to the same job.

     

    I am trying to get a Flow to work as well to see if there is any other flexibility in using that method. Still working on it.


    Hello JimmyS,

    Did you figure out how to rename the image path ?
    Also I would like to ask, if you use filter for the images, to display them in a gallery.
    If you have 20- 30 images per day, you will reach the 500 limit soon.
    Do you have a solution for that?

    Thank you in advance.

  • JimmyS Profile Picture
    97 on at

    No solutions. I've moved away from this for now to focuse on creating apps. Just finished my third. The Gallery isn't as important to me as the ability to upload photos, without having to attach them to an email. My plan was to offload photos every day or two, to keep the gallery small, and never get close to 500. Not even 100. But without knowing the description of the files being saved to OneDrive, that's simply not possible. If I had a reference, I could move a batch of 5-10 photos at a time into a specific Job Folder. Not sure if this will ever get resolved.

     

    Guess I read recently that Flows are being improved for PowerApps. Hopefully that will help solve this riddle.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard