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 / OneDrive connector "Pr...
Power Automate
Unanswered

OneDrive connector "Provided by run-only user," but still saves files in builder account's OneDrive

(0) ShareShare
ReportReport
Posted on by 369

I have a workflow that is triggered by a PowerApps button which populates a Word Document with data and saves it into the user's OneDrive for Business.

 

The OneDrive for Business action has been configured so that it runs as the user:

jzcase_0-1647271529365.png

 

However, even through the flow runs successfully, it is saving the files to the system admin account that created the flow:

jzcase_1-1647271676157.png

 

I have tried:

  • Deleting and re-creating the connection.
  • Deleting and re-creating the action.
  • Re-authenticating to the connection.
  • Removing and re-adding the Flow to the Power Apps button.
  • Reloading the Power App and re-authenticating to the connections as the user.

None of these has worked and OneDrive for Business keeps on saving to the wrong OneDrive.

Categories:
I have the same question (0)
  • jzimmermancase Profile Picture
    369 on at

    Update: I think I have a lead.

     

    In both cases where this is happening, it involves a workflow with steps copied from another workflow, where the old version was not in a Solution, but the new version is in a Solution

     

    The actions were inside of a conditional, which I copied over. I will see what happens if I re-create the conditional and its steps from inside of my workflows.

  • jzimmermancase Profile Picture
    369 on at

    Nope, that was wrong.

     

    I completely re-created the conditionals and their OneDrive for Business actions from scratch. They are still refusing to save the documents to the correct OneDrive account.

     

    EDIT: OK here's a clue.

     

    If I put a OneDrive action in a Conditional, it uses the sysadmin connector and saves to the sysadmin's OneDrive.

     

    If I put a OneDrive action outside of the Conditional, it uses the "Run-only" user's connection as it's supposed to.

     

    This is even if both actions are using the same connector.

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 801

#2
Valantis Profile Picture

Valantis 602

#3
Haque Profile Picture

Haque 581

Last 30 days Overall leaderboard