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 / Download image from ur...
Power Automate
Unanswered

Download image from url and save to sharepoint as image

(1) ShareShare
ReportReport
Posted on by 13

Hi

I'm having issues getting an image from a URL (received in an email body as hyperlink) and saving the image to sharepoint.

The flow successfully parses the email, extracts the URL, saves it as a working hyperlink in excel online file.

I can have the URL inserted into another Send Email V2 as hyperlink. 

The When a new email arrives (v3) is set to "include attachments - yes"

 

I can get the file to create in Sharepoint with HTTP Body as content, the file can be opened using browser, but it's not an image.

 

I've tried the implementing flows as suggested in https://powerusers.microsoft.com/t5/Building-Flows/Image-attachments-not-displaying-when-uploaded-to-SharePoint/td-p/190777

and

https://powerusers.microsoft.com/t5/General-Power-Automate/HTTP-get-download-file/td-p/49568

and I tried the suggestion to use base64tobinary(body('HTTP')?['$Content']) as suggested in other posts.

I've tried to use a parse json, but I can't figure out the schema to make it work.

 

Screenshot 2020-10-22 192546.jpg

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

     

    Hi @persona ,

     

    You seem to need to configure the body of the HTTP action directly in the File content field.

     

    Best Regards,

  • persona Profile Picture
    13 on at

    Thanks @v-bacao-msft 

    When the Body is input as file content I get a file saved which can’t be opened as an image.

    if I save without file extension then I can open in a browser without issue. But I need the image file either as .png or .jpg

     

    I get the same result with both OneDrive and SP. 

     

    I’ve also tried the new (preview) convert file function but it doesn’t recognise the file which is saved to OneDrive. 

    any other suggestions?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 308

#2
David_MA Profile Picture

David_MA 256 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 226 Most Valuable Professional

Last 30 days Overall leaderboard