Showing results for 
Search instead for 
Did you mean: 
Level: Powered On

Creating File In Users OneDrive From Flow

I have a flow that monitors a form quiz.  When the quiz is completed I get the User Profile information and save the data into an Excel spreadsheet with some of the O365 User Profile data as well.  I also create a PDF output file and email this to the user so they get a "Certificate of Completion".  This all works great.


Now I want to expand on this and actually save (OneDrive Create File Action) this PDF Output file to the respective users OneDrive under a directory called 'Certificates'.  This way I automatically save each users certificates for them...and we know where they are.


I am struggling with the Create File action and what dynamic content to use.  I have tried several 'Paths' with no luck.  I am thinking some dynamic data from the User Profile like the 'My Site' URL would work but have not been able to.


Can anyone help?



Community Support Team
Community Support Team

Re: Creating File In Users OneDrive From Flow

Hi @baker27118,


Do you want to create a file in other user’s OneDrive using Flow? Per my certain knowledge, I am afraid that it cannot be achieved currently. We could only create files to the destination to which you have created connection.


While if you want to create file to the respective user’s OneDrive, you will have to change the connection to the corresponding user’s, this is not able to be achieved now.


May I suggest you submit a feature request at Flow Ideas Forum for future releases:



Best regards,

Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Level: Power Up

Re: Creating File In Users OneDrive From Flow

Are you able to share that Flow on how you created the certificate of completion PDF after they took the Forms quiz? That's exactly what I'm trying to do and I don't know how.


Level: Powered On

Re: Creating File In Users OneDrive From Flow



I purchased Plumsail Actions for $19/month.  It is super easy and works awesome.  I use a Word document as my template.  The Plumsail Actions replaces variables in the doc file with outputs from previous actions.  I then use Plumsail Actions again and make a PDF file.  This file is saved to OneDrive and Emailed to my users.  Super easy and just a few steps in Flow.



Helpful resources


New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!


Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!


Microsoft Learn

Learn how to build the business apps that you need.


Power Platform World Tour

Find out where you can attend!


Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (5,722)