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 / Create PDF in Automate...
Power Automate
Answered

Create PDF in Automate and save to All Company Documents

(0) ShareShare
ReportReport
Posted on by 46

Hi Team,

 

I have created a PDF from a power automate flow to save the sharepoint item as a PDF.  I have it working except the location it saves to.  The image below shows the setup steps where it calls for the root folder.  Where Folder Path is I it to save the file in my all company documents on SharePoint (OneDrive).  

 

Currently the program seems to only save it to the users personal onedrive (tried several variations).  Does anyone know how can I get the PDF to save to the company onedrive?  I've created a "test" folder.  The link I want it saved to is:

 

https://MYCOMPANY.sharepoint.com/sites/allcompany/Shared%20Documents/Forms/AllItems.aspx?id=%2Fsites%2Fallcompany%2FShared%20Documents%2FAsset%20Folder%20%28O%20Drive%29%2FTest&viewid=6126d114%2D6251%2D4777%2D9c0c%2Df9a20364f64e

 

Cleaned up URL should be: https://MYCOMPANY.sharepoint.com/sites/allcompany/Shared Documents/Asset Folder O Drive/Test

 

Thank you in advance for any guidance.

 

Will_Y_0-1678913115804.png

 

Categories:
I have the same question (0)
  • Will_Y Profile Picture
    46 on at

    Lots of views and no replies... this scares me.  Is there any way to accomplish this?  

  • Verified answer
    David_MA Profile Picture
    12,982 Super User 2025 Season 2 on at

    It is correct that the action you are using only allows you to save to your OneDrive. However, after the file is created, you can use the Get file contents action, and then use the Create file action with the content of the get file action, to create the file wherever you want. You can then use the Delete file action to delete the file from your OneDrive.

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 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard