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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Populate Word Document...
Power Automate
Unanswered

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

(0) ShareShare
ReportReport
Posted on by 21

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard