Skip to main content

Notifications

Community site session details

Community site session details

Session Id : Rb8E/IlbdP9G8w0wM+8Hi4
Power Automate - General Discussion
Answered

MS Forms uploaded picture sent via email is not Displaying

Like (0) ShareShare
ReportReport
Posted on 15 Mar 2024 08:52:26 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,

  • vrevankar Profile Picture
    94 on 21 Mar 2024 at 16:47:43
    Re: MS Forms uploaded picture sent via email is not Displaying

    @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

     

  • v-yetonggu-msft Profile Picture
    on 20 Mar 2024 at 13:40:43
    Re: MS Forms uploaded picture sent via email is not Displaying

    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 20 Mar 2024 at 10:50:31
    Re: MS Forms uploaded picture sent via email is not Displaying

    @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

  • vrevankar Profile Picture
    94 on 20 Mar 2024 at 05:25:27
    Re: MS Forms uploaded picture sent via email is not Displaying

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

  • Verified answer
    v-yetonggu-msft Profile Picture
    on 15 Mar 2024 at 11:38:52
    Re: MS Forms uploaded picture sent via email is not Displaying

    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 15 Mar 2024 at 10:41:48
    Re: MS Forms uploaded picture sent via email is not Displaying

    @v-yetonggu-msft 

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

  • vrevankar Profile Picture
    94 on 15 Mar 2024 at 10:23:07
    Re: MS Forms uploaded picture sent via email is not Displaying

    @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 15 Mar 2024 at 10:21:24
    Re: MS Forms uploaded picture sent via email is not Displaying

    @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 ?

  • RobElliott Profile Picture
    10,134 Super User 2025 Season 1 on 15 Mar 2024 at 10:08:25
    Re: MS Forms uploaded picture sent via email is not Displaying

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

  • v-yetonggu-msft Profile Picture
    on 15 Mar 2024 at 09:46:16
    Re: MS Forms uploaded picture sent via email is not Displaying

    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

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - General Discussion

#1
rpersad Profile Picture

rpersad 16

#2
David_MA Profile Picture

David_MA 10 Super User 2025 Season 1

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 8 Super User 2025 Season 1

Overall leaderboard