using template file to generate powerpoint slides via R Markdown

It seems you are using Sharepoint ? (from what I see in the screenshot).

Can you try also locally with the same pptx file you have for the template ?

How did you create the template file ? Best is to modify one generated using R Markdown and Pandoc, and not build one from scratch using PPTX directly.