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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Inserting New Records

(0) ShareShare
ReportReport
Posted on by

I am trying to migrate agreements (contracts) from a sql server database into crm (msp_contract) using Power Automate.  The issue I'm having is that if the agreement already exist, I want to update the agreement and if it doesn't, I want to insert the record(s).  The update works great, however, the insert will insert all columns except the agreement id (msp_name).  The msp_name field appears to be autogenerated via an api and I can't figure out how to get around this.  I have even disabled CRM2015_Plugin.AutoNumber [via Plug-in Assemblies] but that did nothing.  Any ideas?

I have the same question (0)
  • LuHao Profile Picture
    40,892 on at

    Hi SirCharles,

    You can insert agreements before updating agreement id (msp_name).

    So in the power automate, first insert agreements from a sql server database, then add a step "Update a row" to update the agreement id (msp_name) of the created agreements.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 45 Most Valuable Professional

#2
iampranjal Profile Picture

iampranjal 36

#3
Satyam Prakash Profile Picture

Satyam Prakash 31

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans