Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Connectors
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

  • schwibach Profile Picture
    Super User 2025 Season 1 on at
    Re: Populate a Microsoft Word template with sensitivity label

    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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1

Featured topics