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 / Error convert to PDF -...
Power Automate
Unanswered

Error convert to PDF - The remote name could not be resolved.

(10) ShareShare
ReportReport
Posted on by 46

Problem in converting Word to PDF with One Drive Businnes.

Flow first fills the Word file with two variables, saves it, converts it to PDF, and finally sends it in a message.

I get the following error.

The remote name could not be resolved: 'mediagfx365-my.sharepoint.com'

 

{
 "status": 400,
 "message": "The remote name could not be resolved: 'mediagfx365-my.sharepoint.com'",
 "source": "api.connectorp.svc.ms"
}

 

{
 "Cache-Control": "no-cache",
 "Pragma": "no-cache",
 "Transfer-Encoding": "chunked",
 "x-ms-request-id": "f4c62603-2a70-4ae8-a754-87ac4404c07b",
 "X-AspNet-Version": "4.0.30319",
 "X-Powered-By": "ASP.NET",
 "Timing-Allow-Origin": "*",
 "x-ms-apihub-cached-response": "true",
 "x-ms-apihub-obo": "true",
 "Date": "Fri, 09 Sep 2022 15:01:13 GMT",
 "Content-Type": "application/json",
 "Expires": "-1"
}

Flow:

fail-to-convert.jpg

 

Results:

flow-failure.png

 

I do not see any rule as to why flow starts once and then does not.

Microsoft's technical support did not even make a notification within three days ...

 

What other connector should I use instead of OneDrive for Business?

Which will work. Word file has two text boxes to change and background as watermark. I don't know if it matters.

 

Categories:
I have the same question (0)
  • DamoBird365 Profile Picture
    8,942 Microsoft Employee on at

    Hi @Reason 

     

    If you are using the premium word connector to populate a document, there is a 2nd action to convert to PDF, therefore you do not need to save to OneDrive.  Take a look at this point in my recent video that shows you how to populate and convert a word template to PDF (including repeating controls)  https://www.youtube.com/watch?v=L67m8wgd4Ak&t=521s

     

    Damien

     

     

  • Community Power Platform Member Profile Picture
    on at

    That's not a solution to @Reasons problem. Me and a few customers are experiencing the same issue since friday.
    The Word Online Connector won't work with dynamic content.

    Please provide us a clean solution for this, since it's your error...

  • Community Power Platform Member Profile Picture
    on at

    Hi, 

    i have the same problem with HTML since Friday. 

    Maxiiii_Strobel_0-1662975441595.png

     

     

  • DamoBird365 Profile Picture
    8,942 Microsoft Employee on at

    Hi all,

     

    I appreciate you all providing evidence of the problem you are experiencing.  I will let the community team @AnnaChu and @kishbuy238 know so that this can be investigated by the product team, and they can advise on the best course of action.

     

    My advice was based on experience as Super User and Business Applications MVP on the Power Automate product and the most efficient method to convert word to PDF when using the Word premium connector.  Hopefully the product team can identify the problem several of you are experiencing with the OneDrive connector and report back.

     

    Damien 

  • GlennRabe Profile Picture
    7 on at

    We have the same problem with HTML since Friday 9 sept. 2022

    GlennRabe_0-1662976157862.png

     

     

  • Community Power Platform Member Profile Picture
    on at

    Hey @Reason & @Anonymous,

    I've got kind of a "fix". I'm currently trying the Action until it works.
    It took my Do Until Loop 38 minutes and 31 tries to finally convert the file.

     

    hardow_0-1662980671704.png

     

    So basically start with a Do Until Loop.

    Set the limits to:
    - Count: leave blank

    - Timeout: P7D     -    (This means, the loop will loop for 7 days)

     

    In this Loop you'll need to add the Convert action.

    After the convert action set a Bool Var, which you need to initialize beforehand.


    In my example its called "convertError", rename the set action to: set convertError true.

     

    Set it to true and add the runAfter parameters: timeout and error, remove succeeded
    Then add a Delay, I've chosen 30 seconds.

    Between the "set convertError true" and convert action, add a parallel branch and copy paste the "set convertError true" action there. Update the Value of the new action to false and rename it to: ""set convertError false"

    The Loop should be ready now, if you want to get notified, if the loop times out or fails, add a parallel branch after it. Then select the Send Mail Action or similar and set the run after settings, like "set convertError true". after that, terminate the flow with error.


    I'll provide some screenshots for the temporary solution:

    hardow_0-1662976996611.pnghardow_1-1662977040788.png

     

  • mskrzypczak2 Profile Picture
    on at

    Hello. We have the same problem (since friday) when trying to convert .docx file to PDF.

  • marina601 Profile Picture
    9 on at

    I am experiencing the same issue since Friday! The flow fails every time it tries to convert a word document to a pdf file. Looking forward to further updates

  • Zdenek Bubenik Profile Picture
    9 on at

    Hi guys, 

     

    Same problem from Friday.

     

     

    Snímek obrazovky 2022-09-12 v 13.04.59.png

     

     

     

     

     

     

     

     

     

     

    Snímek obrazovky 2022-09-12 v 13.06.09.png

  • Community Power Platform Member Profile Picture
    on at

    Hi @Anonymous ,

    your workaround works. Sometimes a flow runs for 45 minutes and sometimes only 3.
    Thank you for your help.
    Nevertheless, this is not a long-term solution.

    Many greetings
    Maxiii

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

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard