Personalized Community is here!
Quickly customize your community to find the content you seek.
Choose your path Increase your proficiency with the Dynamics 365 applications that you already use and learn more about the apps that interest you. Up your game with a learning path tailored to today's Dynamics 365 masterminds and designed to prepare you for industry-recognized Microsoft certifications.
Visit Microsoft Learn
2021 Release Wave 1Discover the latest updates and new features to Dynamics 365 planned April 2021 through September 2021.
Release overview guides and videos Release Plan | Preview 2021 Release Wave 1 Timeline
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
I have created a logic app with the goal of pulling data from a container within cosmosdb (with a query), looping over the results and then pushing this data into CRM (or Common Data Service). When the data is pushed to CRM, an ID will be generated. I wish to then update cosmosdb with this new ID. Here is what I have so far:
This next step is querying for the data within our cosmosdb database and selecting all IDS with a length that is greater than 15. (This tells us that the ID is not yet within the CRM database)
Then we loop over the results and push this into CRM (Dynamics365 or the Common Data Service)
Dilemma: The first part of this process appears to be correct, however, I want to make sure that I am on the right track with this. Furthermore, once the data is successfully pushed to CRM, CRM automatically generates an ID for each record. How would I then update cosmosDB with the newly generated IDs?
Any suggestion is appreciatedThanks
: i.stack.imgur.com/l4klW.png : i.stack.imgur.com/D3wqI.png : i.stack.imgur.com/jIRnk.png : i.stack.imgur.com/NFGOP.png
So you are using Common Data Service Connector to push data to CRM Dynamics from logic app?
If so, once you create record in CRM using Create a new record action from CDS. Data from this steps will be available in next subsequent steps to select fields from Create a new record action.
Thank you Bipin,
once this data is pushed into CRM, CRM automatically generates an ID for each record. How can I then:
Return and replace the original ID that lives in CosmosDB with the the newly generated ID that CRM created?
Should my next step be to create a variable that holds an array with the old IDs and then check for these old IDs and then replace with the new? If so, could you enlighten me on how to construct this within the LogicApp?
Thank you for all your help
Business Applications communities