I have created a flow for when a file is created in the on-premises folder using its ID; it will create the same file in the SharePoint folder. However, when I try to open the Excel file, it displays a message stating that the file format or file extension is not valid.



I have removed the site address in the image, when i open the excel file it shows an error.