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:
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?
Any feedback or suggestion is greatly appreciated.