web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Power Automate Can't D...
Power Automate
Suggested Answer

Power Automate Can't Detect Template Elements in Valid DOCX

(2) ShareShare
ReportReport
Posted on by

I’m banging my head against the wall here, and I could really use some expert eyes on this one.

 

I’m trying to use the “Populate a Microsoft Word Template” action to fill out a form-based document using Microsoft Forms + OneDrive for Business. But I keep getting this error:

The selected file doesn't contain template elements.
clientRequestId: [varies]
 

Here's what I’ve done (in painful detail):

 

I created a .docx in Word Desktop (not online)

I enabled the Developer tab

I inserted Plain Text Content Controls (Aa icon) for each field

I set both the Title and Tag for each content control (e.g., FullName, Mood, etc.)

I saved the file properly as .docx

I uploaded it to OneDrive for Business in a clean folder

I selected it in the “Populate Word Template” action

I even renamed, re-uploaded, and rebuilt the flow from scratch

Still get the same error: "No template elements"

 

I’ve also tried:


  • Using a test template with only 1 field

  • Rebuilding the flow completely

  • Uploading to a new OneDrive folder

  • Testing on different environments/browsers

Still no luck.

 

What I'm trying to do:


  • Form gets submitted via Microsoft Forms

  • Power Automate grabs the response

  • Populates the Word template (Cannot get past this point)

  • Saves it to OneDrive 

  • Then converts it to a PDF file

 

The Ask:


  • Has anyone successfully gotten this working recently?

  • Is there a known bug with caching, file metadata, or Power Automate schema refresh?

  • Is there a diagnostic trick to validate whether Power Automate actually sees the content controls?


  •  

I’m have uploaded a sample.docx file if that helps.

Appreciate any guidance because this one’s eating up hours.

Thanks in advance!

 

– James

Power Automate user who just wants to automate a damn journal 😅

Fixed_Daily_Pain_...

Your file is currently under scan for potential threats. Please wait while we review it for any viruses or malicious content.

Categories:
I have the same question (0)
  • Suggested answer
    David_MA Profile Picture
    14,090 Super User 2026 Season 1 on at
    I have about a dozen templates that get filled out by workflows and have not had an issue yet. What you outline you are doing sounds correct. 
     
    Since you don't show your flow, if you are using the new designer, try switching to the old designer to see if that resolves the issue. There are a number of issues with the new designer, and this may be one of them.
     
    To confirm your issue, you can choose the form, you just don't see any of the fields in the action:
     
    This is a premium action, do you have the correct licensing to run premium actions? If not, that may be the issue.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 594

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 281 Super User 2026 Season 1

Last 30 days Overall leaderboard