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 Word Document...
Power Automate
Answered

Populate Word Document File Not Found (Using Logged In User's Account)

(0) ShareShare
ReportReport
Posted on by 23

I have a flow that is triggered by Power Apps.

The flow then populates a Word template with information from Power Apps, creates a new file, and then sends a share link back to Power Apps.

 

The Word template is saved in the OneDrive of a service account.

 

This works fine when I'm on the service account but it fails when I'm logged in with the Service Account, it fails when logged in to my account and fails for users.

 

I spent a great deal of time troubleshooting this and finally came to the conclusion that the Populate Word Template is using the account of the user logged in to the Power App. 

 

Is this expected behavior? It seems very odd as everything else in Power Automate uses the account connection configured in the Flow, not the account of the user logged in to the app.

 

Does anyone else have a similar workload up and running? Maybe using SharePoint as the location of the template file instead of OneDrive?

 

Categories:
I have the same question (0)
  • Verified answer
    shoog Profile Picture
    2,164 on at

    Anytime you trigger a flow from Power Apps, it will use the credentials of the user running the app. This is by design.

     

    You could share the template with all users or put it on a SPO location where users have access.

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 796

#2
Valantis Profile Picture

Valantis 568

#3
Haque Profile Picture

Haque 538

Last 30 days Overall leaderboard