web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Issue while converting an HTML to PDF from PowerApps button using a flow

Like (0) ShareShare
ReportReport
Posted on 6 Aug 2019 08:03:30 by

Hi! 

I've built a powerapps with a button that when triggered, it creates an HTML file in one drive and then it should convert it to PDF (all of this, by using a flow I also built). I've watched all of Shane Young's youtube videos, and also other videos, and none of the options work out.

I am trying to solve this issue, but when the flow is triggered, it works fine until the action when it has to convert the HTML file (which is properly created in my OneDrive folder) to PDF, it just throws different type of errors such as Badgateaway if I use "path", or The resource could not be found if I use "ID". Let me show you a bit more to see If I'm explaining ok what I mean. 

Thank you in advance to those who can help me with this! 

 

FlowNotWorking.PNGflowNotWorking2.PNGflowNotWorking3.PNG

I have the same question (0)
  • Community Power Platform Member Profile Picture
    on 29 Aug 2019 at 14:01:57
    Re: Issue while converting an HTML to PDF from PowerApps button using a flow

    Thanks for your help. I tried it and it worked! 🙂 

  • Verified answer
    v-litu-msft Profile Picture
    on 12 Aug 2019 at 09:22:13
    Re: Issue while converting an HTML to PDF from PowerApps button using a flow

    Hi @Anonymous ,

     

    I have tested on my side and it runs successfully. I create the PDF file converted from HTML file both OneDrive and SharePoint, and it runs successfully.

     

    Please have a try according to these screenshots as below, I hope it can help you:Annotation 2019-08-12 171811.pngAnnotation 2019-08-12 171419.png

    The runs result:Annotation 2019-08-12 171836.png

    Best Regards,

    Community Support Team _ Lin Tu

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

  • RezaDorrani Profile Picture
    12,141 on 06 Aug 2019 at 17:08:59
    Re: Issue while converting an HTML to PDF from PowerApps button using a flow

    Hi @Anonymous,

     

    Convert file using ID

     

    1 - are you using the Id (dynamic content) obtained from the Create file action?

    2 - the html file being generated - can you validate if the html syntax is correct

     

    Regards,

    Reza Dorrani

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

     

     

     

     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2