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 / Creating files in OneD...
Power Automate
Unanswered

Creating files in OneDrive for Flow users

(0) ShareShare
ReportReport
Posted on by 110

Hey guys,

 

in my project our technicians are filling out some data in PowerApps which is then transfered to Flow, that works fine. 
In that flow process there will be a created some files which are then uploaded to OneDrive, now the problem: 
Why is the process only working when I am launching the flow? I thought that as soon as I give rights to the PowerApps users they are allowed to create files in the OneDrive folder (from the flow owners account - my account), but unfortunately that doesnt work... Is it because of the dynamic folder path? 

I already tried it with SharePoint, which works, but I have the problem that I am converting a .html document to a JPG file, and that action is - as far as I know - not defined in the SharePoint actions.

Thanks for any help!

Greetings

Categories:
I have the same question (0)
  • manuelstgomes Profile Picture
    6,625 on at

    Hi @julianhoewel_95 

     

    It depends a little on how you share the Flow. If, in your flow, grant permissions for people to run it (making it a team Flow), then it should work because you're granting permissions to run the Flow on your connections. If you copy or create a template the connections will be set up by each person pointing to their OneDrive.

     

    Dynamic paths aren't the issue. You can use them without an issue.

     

    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.
    ​
    Cheers
    Manuel

     

     

  • julianhoewel_95 Profile Picture
    110 on at

    Hi @manuelstgomes ,

     

    thanks for your response, but it leads me to another question:
    if I want to share my flow with other users, I can only classify the users as owners, not as run-only-users... Is that the reason why the files are created in their specific OneDrive?

    If I understand you right, does that mean that I have configured my flow wrong when I created it? 

     

    Cheers

    Julian

  • manuelstgomes Profile Picture
    6,625 on at

    Hi @julianhoewel_95 

     

    Yes, indeed they are only Owners so they can change the flow. But the connection used is yours so it should be stored on your OneDrive. 

     

    For example this Flow.

    Screenshot 2020-01-14 at 09.36.31.png

     

    If I share it with someone the connection is still mine and Microsoft even warns that:

    "Everyone listed as an owner will have access to all these connections and will only be able to use them in this flow."

     

    I find it strange that the files are stored in their own OneDrive. Are you sure you used the "Share" and not the "Send Copy"?

     

    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.
    ​
    Cheers
    Manuel

  • Verified answer
    julianhoewel_95 Profile Picture
    110 on at

    Hi @manuelstgomes ,

     

    yes im sure I used "share".
    I found out that whenever a flow is triggered by PowerApps, that flow is using the data of the PowerApps User, e.g. it also generates an email from the user's account and not the one of the flow owner. 
    Intuitively I thought that flow woudn't work like this, but obviously thats the case when you connect it to PowerApps...

    Thanks for your help!

    Cheers
    Julian

  • MsGkrishnan Profile Picture
    2 on at

    Hi, 

    Related to this I want a file to be created in flow users One drive. I have done the button trigger and working well when myself running the flow from the power bi button. But when other users are running, they don't have file created in their one drive or mine. I am not getting any error message as well. What could be the reason. I shared the link of power bi dashboard and given run as users access. Secondly, i can't see the run history of other users in my power automate flow page.

     

     

     

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