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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Replacing CosmosDB id with newly generated CRM id - Errors

(0) ShareShare
ReportReport
Posted on by 75

Below shows how I have constructed my Logic App.

I wish to:  Extract data from CosmosDB -> Upload to CRM -> replace the cosmosID with the newly generated CRMid

This what I have done:

pastedimage1596477953217v1.png

pastedimage1596478007572v2.png

pastedimage1596478088948v3.png

pastedimage1596478174664v5.png

pastedimage1596478200245v6.png

pastedimage1596478252916v8.png

1.Am I going about this the right way? I seem to get a partition error when trying to actually upload to cosmosdb. It could be that my partition is set on id and I essentially want to REPLACE the cosmosid with the CRMid.

2.Also I seem to get an error when I create a new record in CRM:

{
"status": 400,
"message": "Syntax error: character '\"' is not valid at position 1 in '(\"John Doe\")'.",
"error": {

However, all I am doing is this:

All the other parameters are sent to CRM except the 'LeadPM'. What am I doing wrong here?

pastedimage1596478459939v9.png

Any feedback or suggestion is greatly appreciated.

I have the same question (0)
  • Suggested answer
    Bipin D365 Profile Picture
    28,985 Moderator on at

    Hi,

    I have already replied to this query in your previous forum post.

    Please see my response in your previous forum post.

    If found helpful, Please mark my answer verified.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 130 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 117

#3
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 69 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans