Hi All Expert,
I copy a flow that can create the new item on my SharePoint List with attachment when a new respondent submit a survey and upload a file.
But unluckily, only the PDF & Media file can be added as the attachment when the SharePoint Create a flow.
The office file: Word, Excel, SharePoint cannot successfully created. It is because there is an additional string at the end of the file path:
&action=default&mobileredirect=true
Office file path demo:
https://testing.sharepoint.com/sites/demo/_layouts/15/Doc.aspx?sourcedoc=%7BA1A69%7D&file=123_user%20test.docx&action=default&mobileredirect=true
PDF & Media demo:
https://testing.sharepoint.com/sites/demo/Shared%20Documents/Apps/Microsoft%20Forms/Testing%20(Teams)/Question/FY1234%2010th%20abc%20bacd%20badcs%20(28%20JAN%202021)_user%20u.pdf
The get file content using file path is unsuccessful.
Please check my flow:


May I know there any solution to extract the office file for this case?