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 / Push PDF file to Dynam...
Power Automate
Unanswered

Push PDF file to Dynamic CRM

(0) ShareShare
ReportReport
Posted on by
Requirement Background, > Have invoice file (PDF) visible/downloadable for Customer portal users. > Customer portal users are managed by Dynamics CRM online. > So we have a MS flow to read the PDF files from an SFTP location and post it into respective folder path Sharepoint. > But the CRM wasn't able to access that file path in Sharepoint and also we weren't able to figure the impersonation needed for the CRM user to fetch from Sharepoint. What we are trying to do now is... > To have MS flow write to Sharepoint as well as insert a record in Dynamics CRM Online custom entity having the file in binary format. Problem, The SFTP output body is not accepted as a valid input to the binary (Image) field in the CRM. We tried Base64ToBinary, simply mapping the SFTP body/content to the field, etc. etc. Nothing works and we keep getting 400, BadRequest, Invalid Argument errors. Please help.
Categories:
I have the same question (0)
  • v-yamao-msft Profile Picture
    on at

    Hi @ExpertNovice,

     

    How is your flow created? Could you share a screenshot of your flow?

     

    Do you want to save the file in SharePoint library? Besides, do you want to save the file in binary format as well as in Dynamics 365?

     

     

    Best regards,

    Mabel Mao

  • GabrielStJohn Profile Picture
    on at

    Hey, @ExpertNovice!

     

    Thank you for posting on the Flow Community Forum! It appears as though @v-yamao-msft would like some more information in order to further assist you properly with your issue. Please share any additional information that was requested in order to decrease the amount of time that it will take for you to be assisted!

     

    Thank you for being an active member of the Flow Community!

     

    -Gabriel
    Flow Community Manager

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