Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

How to add attachment to Business Central documents with Power Automate

(0) ShareShare
ReportReport
Posted on by

Hello Guys,

I would like to upload atatchements of a Sharepoint List items to Business Central document using the newly available Power Automate connectors

I created this flow which runs down but the attachment does not arrives at BC:

 pastedimage1680965067245v3.png

1st I loop through the attachments of the Sharepoint item

In each loop I get the content of the attachment

than I create an attachment item in Business central which Parent is Sales Order I created earlier

to the File Name I use use the name of the attachment file

for size I just add 1000 bytes

Parent type is works like this (thanks for the error msg which listed the options)

 pastedimage1680964929355v1.png

in the last step I update this attchment with the content of the Sharepoint attachment

Parent Id and Id are taken from the created attachment

Content is the Body of the Sharpoint Item Attachment Content

 

pastedimage1680965002799v2.png

 

Can you help me to get it work?

  • AAndras Profile Picture
    on at
    RE: How to add attachment to Business Central documents with Power Automate

    I just  realized that instead of attachment it makes Incoming file linked to the sales document. It is fine right now howeever incoming docs does not work in case of more files.

  • Suggested answer
    Marco Mels Profile Picture
    on at
    RE: How to add attachment to Business Central documents with Power Automate

    Hello,

    Feel free to raise this issue to Microsoft via your partner or CSP. We may ask you for some sort of repro steps in standard.

    Thank you.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,161 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,942 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans