web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
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,122

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

I have the same question (0)

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,314 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,781 Super User 2026 Season 1

#3
AndrewThomas81 Profile Picture

AndrewThomas81 1,356

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans