Hello,
I have built a flow that uses the 'Populate a Microsoft Word Template' action which grabs data from a SharePoint list - that bit is working.
I have a requirement to use the Picture Content Control and populate this with a users Microsoft 365 user profile photo.
I've tried using the 'Get user photo (V2)' action however I am seeing this error when running the flow:
{
"status": 400,
"message": "The image is not of type PNG or JPG. Please provide an image of type PNG or JPG.\r\nclientRequestId: 05a3c427-c267-4bae-889f-9becc409eb1c",
"error": {
"message": "The image is not of type PNG or JPG. Please provide an image of type PNG or JPG."
},
"source": "wordonlinebusiness-uks.azconn-uks-002.p.azurewebsites.net"
}

Is there a particular format that needs to be used to get the User photo into the Word Picture Content Control?
Thanks.