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,
@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 ?
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:
Then I added a 'Question 1' folder to my library, corresponding to the 'Question' option to upload files.
I've modified my flow a little further and this time I can upload multiple images:
/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:
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
@v-yetonggu-msft Thanks So much the Flow runs succesfully but however the email received doesnt display the screen shot uploaded
Looks like this please help
@v-yetonggu-msft Thank you so much sir this works for me
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:
My Flow:
{
"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'.
/Shared Documents/Apps/Microsoft Forms/FormName/QuestionName/@{items('Apply_to_each')?['name']}
dataUri(outputs('Get_file_content_using_path')?['body'])
My Outlook Inox:
Best Regards,
Sunshine Gu
please help with get file content ID value ? highlighted here im getting the error there
@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.
@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 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:
The schema above in the Parse JSON action is:
Rob
Los Gallardos
Principal Consultant, SharePoint, Forms and Power Platform, WSP Global (and classic 1967 Morris Traveller driver)
Hi @vrevankar ,
I did a test for your reference.
In my scenario:
json()
<img src="data:@{outputs('Get_file_content')?['body']['$content-type']};base64,@{outputs('Get_file_content')?['body']['$content']}" />
My Email Picture:
Best Regards,
Sunshine Gu
rpersad
16
David_MA
10
Super User 2025 Season 1
Michael E. Gernaey
8
Super User 2025 Season 1