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 / 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
    14,256 Super User 2026 Season 1 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

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 598

#2
Valantis Profile Picture

Valantis 477

#3
Vish WR Profile Picture

Vish WR 370

Last 30 days Overall leaderboard