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 / Populate a Microsoft W...
Power Automate
Unanswered

Populate a Microsoft Word template with sensitivity label

(0) ShareShare
ReportReport
Posted on by 7

Hi!

I am currently having problem with substituting a placeholder’s values for MS word template with real values by making use of Populate a Microsoft Word template action.

It looks like everything is working fine when no sensitivity label is set for the document but when it is applied to the document it returns error:

“The dynamic operation request to API 'wordonlinebusiness' operation 'GetFileSchema' failed with status code 'BadRequest'. This may indicate invalid input parameters. Error response: { "status": 400, "message": "There was an error opening the selected file. Please check the file and try again. clientRequestId: …", "error": { "message": "There was an error opening the selected file. Please check the file and try again." }, "source": "wordonlinebusiness-ne.azconn-ne-003.p.azurewebsites.net" }

Do you know any workarounds for that?

Thank you,

Jan

Categories:
  • schwibach Profile Picture
    2 Moderator on at

    You could look into sensitivity labels and Purview.

    I think you will have no luck setting the label before filling in the word document. The Word connector is quite limited. 
    So, your best chance will be to do it afterwards, maybe by introducing a policy that will handle it.

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 231 Super User 2026 Season 2

#2
David_MA Profile Picture

David_MA 217 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 170

Last 30 days Overall leaderboard