cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ExpertNovice
New Member

Push PDF file to Dynamic CRM

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.
2 REPLIES 2
v-yamao-msft
Community Support
Community Support

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

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
GabrielStJohn
Microsoft
Microsoft

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

- Gabriel
Community Manager
Power Automate | Power Virtual Agents
Super User Program Manager



Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Users online (84,643)