My goal is to push an uploaded .jpg file (Cover Photo) from Microsoft Forms, to my SharePoint site path (Site Assets/ListsImages/)
A user fills out a Microsoft Form and is invited to upload a file (in my case its called Cover Photo).

From within my Power Automate app, I'm first initializing a variable for use with my Cover Photo like so. This step is probably not important for my current issue.

Next, within my parent apply to each loop, I created a Compose for my Cover Photo. I'm using a json() expression to get access to all the array data points from this uploaded file (i.e. name, link, id, etc...)

(outputs):
[
{
"name": "alex-motoc-v77vc1iAK18-unsplash_Kensley Lewis 1.jpg",
"link": "https://my-site/personal/user-company/Documents/Apps/Microsoft%20Forms/Easy%20to%20make%20meals%20for%20a%20Healthy%20Lifestyle%20(Person/Question/alex-motoc-v77vc1iAK18-unsplash_user%20name%201.jpg",
"id": "015QKZ45L6HJRHQ5O4XBBKIILRETASGXPT",
"type": null,
"size": 4325765,
"referenceId": "015QKZ45JFS6ROS4U5X5CK52U5GIAJNC5M",
"driveId": "b!QsOv-uYEF0Sw8krNrbFtiGy5Cpgf9XtJm75K5Uyw_90Ix65wQ1NHR7c1Mq6zD_TN",
"status": 1,
"uploadSessionUrl": null
}
]
Next, I'm then setting up a condition to check if Cover Photo Exists like so..., then do something...

If Cover Photo Exists, then as shown below, I have an Apply to each to loop through Cover Photo array. As you can see,
- I am getting the link from the array - Compose
- I then get the name from the array - Compose
Replace(items('Apply_to_each_to_loop_through_Photo_Cover_array')?['name'],' ','_')
- I then Create file (SharePoint) to my SharePoint site that takes both above Compose Outputs. Diagram is shown in detail below....

(in detailed)

When I run my PA app, it does copy my image over to my SharePoint directory....

...but the file preview for the image is corrupted. I can't preview the image in SharePoint (unlike other images I can preview if they were uploaded manually to SharePoint).

Is there something I am missing from my steps? Or perhaps there is another way I can achieve this same goal?