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 / Access to path for PDF...
Power Automate
Unanswered

Access to path for PDF Merge is denied

(0) ShareShare
ReportReport
Posted on by 24

When attempting to merge PDFs, I am getting the error pasted below when the flow reaches the step with the merge. I thought it was an issue with where the folders were located so I moved them to the desktop from instead of a network drive but still received the error. 

 

I'm not too sure what could be the issue because I am able to access the folder earlier in the flow to save files to and access files from.

 

Any help would be greatly appreciated. Thank you!

 

Microsoft.Flow.RPA.Desktop.Modules.SDK.ActionException: Failed to merge PDF files: 'C:\Users\IG-LabOpenTrons\Desktop\merge pdf test\files to combine\order272553.pdf', 'C:\Users\IG-LabOpenTrons\Desktop\merge pdf test\files to combine\order272553_res.pdf' ---> System.UnauthorizedAccessException: Access to the path 'C:\Users\IG-LabOpenTrons\Desktop\merge pdf test\combined files' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
at Microsoft.Flow.RPA.Desktop.Modules.PDF.Actions.MergePDFFilesAction.Execute(ActionContext context)
--- End of inner exception stack trace ---
at Microsoft.Flow.RPA.Desktop.Modules.PDF.Actions.MergePDFFilesAction.Execute(ActionContext context)
at Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.ActionRunner.Run(IActionStatement statement, Dictionary`2 inputArguments, Dictionary`2 outputArguments)

I have the same question (0)
  • VJR Profile Picture
    7,635 on at

     

    Different File paths from the error message:

    C:\Users\IG-LabOpenTrons\Desktop\merge pdf test\files to combine\order272553.pdf'
    C:\Users\IG-LabOpenTrons\Desktop\merge pdf test\files to combine\order272553_res.pdf

    Access to the path:
    'C:\Users\IG-LabOpenTrons\Desktop\merge pdf test\combined files' is denied.

     

    Hope these are the paths that you are looking for, and have the right access, and that you have checked for both of them.

     

    Also check if the Id through which you are signing-in to Power Automate has the right access.

  • Verified answer
    David-Immuno Profile Picture
    24 on at

    I think I figured out what the problem was. I did not define a full path for the merge to be saved to. Previously I only included a folder but once I defined a full file name it worked. 

     

    Thanks for the help!

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

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard