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 Automate / MS Forms uploaded pict...
Power Automate
Answered

MS Forms uploaded picture sent via email is not Displaying

(0) ShareShare
ReportReport
Posted on by 94

MIQC1.JPGMIQC2.JPG

 

MIQC3.JPG

Following above is my flow to send email notification for the response submitted in MS forms , Missout screen shots uploaded in the form doesnt display and shows about error in the screen. please help in fixing this error so that the picture gets embedded in the email,

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

    Hi @vrevankar ,

    I did a test for your reference.

    In my scenario:

    vyetonggumsft_0-1710495774015.png

    vyetonggumsft_0-1710496909733.png

     

    json()
    <img src="data:@{outputs('Get_file_content')?['body']['$content-type']};base64,@{outputs('Get_file_content')?['body']['$content']}" />

     

    My Email Picture:

    vyetonggumsft_2-1710495933826.png

    Best Regards,

    Sunshine Gu

  • RobElliott Profile Picture
    10,325 Super User 2025 Season 2 on at

    @vrevankar I have a different, slightly simpler, solution than that provided by @v-yetonggu-msft. Unless it's a group form the uploaded image will be saved to your OneDrive:

     

    1-Flow.png

     

     

    The schema above in the Parse JSON action is:

    Spoiler (Highlight to read)
    {
        "type""array",
        "items": {
            "type""object",
            "properties": {
                "name": {
                    "type""string"
                },
                "link": {
                    "type""string"
                },
                "id": {
                    "type""string"
                },
                "type": {},
                "size": {
                    "type""integer"
                },
                "referenceId": {
                    "type""string"
                },
                "driveId": {
                    "type""string"
                },
                "status": {
                    "type""integer"
                },
                "uploadSessionUrl": {}
            },
            "required": [
                "name",
                "link",
                "id",
                "type",
                "size",
                "referenceId",
                "driveId",
                "status",
                "uploadSessionUrl"
            ]
        }
    }
    {     "type": "array",     "items": {         "type": "object",         "properties": {             "name": {                 "type": "string"             },             "link": {                 "type": "string"             },             "id": {                 "type": "string"             },             "type": {},             "size": {                 "type": "integer"             },             "referenceId": {                 "type": "string"             },             "driveId": {                 "type": "string"             },             "status": {                 "type": "integer"             },             "uploadSessionUrl": {}         },         "required": [             "name",             "link",             "id",             "type",             "size",             "referenceId",             "driveId",             "status",             "uploadSessionUrl"         ]     } }

     

    2-Flow.png

     

    3-Flow.png

     

    4-Email.png

     

    Rob
    Los Gallardos
    Principal Consultant, SharePoint, Forms and Power Platform, WSP Global (and classic 1967 Morris Traveller driver)

  • vrevankar Profile Picture
    94 on at

    @v-yetonggu-msft  Thanks for looking into this I created a similar flow but however i see the flow failed as the screen shot uploaded by users are stored in Group sharepoint site hence please help me know get file content field needs to selected with what ?

  • vrevankar Profile Picture
    94 on at

    @Rob Thank you for looking into this unfortuantely the form is a shared one used by group of people and the images uploaded are stored in group sharepoint.

  • vrevankar Profile Picture
    94 on at

    @v-yetonggu-msft 

    MIQC4.JPGplease help with get file content ID value ? highlighted here im getting the error there

  • Verified answer
    v-yetonggu-msft Profile Picture
    on at

    Hi @vrevankar ,

    Please check this test:

    First go to your SharePoint group site and check the folder path where the files uploaded by MS Form are stored.

    My Folder Path:

    vyetonggumsft_4-1710502690287.png

    My Flow:

    vyetonggumsft_0-1710508104227.png

    vyetonggumsft_1-1710508126299.png

    {
     "type": "array",
     "items": {
     "type": "object",
     "properties": {
     "name": {
     "type": "string"
     },
     "link": {
     "type": "string"
     },
     "id": {
     "type": "string"
     },
     "type": {},
     "size": {
     "type": "integer"
     },
     "referenceId": {
     "type": "string"
     },
     "driveId": {
     "type": "string"
     },
     "status": {
     "type": "integer"
     },
     "uploadSessionUrl": {}
     },
     "required": [
     "name",
     "link",
     "id",
     "type",
     "size",
     "referenceId",
     "driveId",
     "status",
     "uploadSessionUrl"
     ]
     }
    }

    Then copy the folder path to 'File Path' in 'Get file content using path'.

    vyetonggumsft_6-1710508872223.png

     

    /Shared Documents/Apps/Microsoft Forms/FormName/QuestionName/@{items('Apply_to_each')?['name']}
    dataUri(outputs('Get_file_content_using_path')?['body'])
    

     

    My Outlook Inox:

    vyetonggumsft_7-1710508891933.png

    Best Regards,

    Sunshine Gu

  • vrevankar Profile Picture
    94 on at

    @v-yetonggu-msft  Thank you so much sir this works for me 

  • vrevankar Profile Picture
    94 on at

    @v-yetonggu-msft Thanks So much the Flow runs succesfully but however the email received doesnt display the screen shot uploaded 

    vrevankar_0-1710931810838.png

    Looks like this please help

  • v-yetonggu-msft Profile Picture
    on at

    Hi @vrevankar ,

    There is a strange point, the reference flow I gave you last time I can't even display the picture when I use it today.

    As in your case, it took me a lot of effort to test.

    Found that you can't change the name of the upload file issue, you must keep the original name.

    So I've created another question to uploading files.

    Like this:

    vyetonggumsft_8-1710942383163.png

    Then I added a 'Question 1' folder to my library, corresponding to the 'Question' option to upload files.

    vyetonggumsft_1-1710941039302.png

    I've modified my flow a little further and this time I can upload multiple images:

    vyetonggumsft_2-1710941288221.png

    vyetonggumsft_5-1710941496594.png

    vyetonggumsft_6-1710941637268.png

     

    /Shared Documents/Apps/Microsoft Forms/FormName/NewCreateFolderName/@{items('Apply_to_each')?['name']}
    <img src="@{dataUri(outputs('Get_file_content_using_path')?['body'])}"/>

     

    My Outlook Inbox:

    vyetonggumsft_7-1710941968182.png

    Please remember not to change the name of the newly created upload file issue in MS Form, the exact reason is not clear to me at the moment, I need time to investigate.

    Best Regards,

    Sunshine Gu

  • vrevankar Profile Picture
    94 on at

    @v-yetonggu-msft  Thanks for the response sir the flow works perfect but however all screen shots uploaded doesnt appear it seems its getting repeated withe same atleast one picture twice and few missing any solution for the same ?

     

    vrevankar_0-1711039596930.png

     

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 Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard