Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Attach a document using Power Automate with a Unique ID.

(1) ShareShare
ReportReport
Posted on by 2,059

Hi Community,

I have used OOTB [Out of the box] API of /Document Attachment/ in which ID is the Autoincrement field. When I attach a document using Business Central, the ID field value is automatically assigned a unique key but when I attach a document using Power Automate, the ID field value is always the same. So I want to attach a document using Power Automate with a Unique ID.

While attaching a document using Power Automate It shows the following error:

error message: ErrorCode: Internal_EntityWithSameKeyExists  The record in table Document Attachment already exists. Identification fields and values: Table ID='38',No.='POSG11-11111-01',Document Type='Order',Line No.='0',ID='26900'  CorrelationId:  0b35486a-f86d-423c-8b14-193626ff055e.has context menu

 

If you have any solutions, Please Provide me that solution.

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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2,655

#2
Mansi Soni Profile Picture

Mansi Soni 1,574

#3
YUN ZHU Profile Picture

YUN ZHU 1,453 Super User 2025 Season 1

Featured topics

Product updates

Dynamics 365 release plans