cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

CosmosDB Connector - Create or update document (V2) missing properties

Hey everyone,

 

I have been working on building out a simple flow to populate a CosmosDB Graph Database which is half working, I can create new documents in the DB but any additional properties that I have included in the body of the request are missing. I noticed one other thread on this forum explaining the same problem, but it was never resolved (https://powerusers.microsoft.com/t5/Connecting-To-Data/Cosmos-DB-fail-to-create-document-properties/....

 

I've tried a few different JSON object skeletons for the body of the request but none of them seem to work. The only properties that show up in the document are the id, label, and batch; all of the other properties like process, start time, end time do not show up in the DB document. Has anyone else encountered this problem? Let me know if you have any suggestions or if I might be missing something important!

 

Cheers!

 

Mdatz_0-1619460010675.png

(Microsoft Flow)

Mdatz_1-1619460116994.png

(Cosmos DB Document Record)

 

 

2 REPLIES 2
Mari
Community Support
Community Support

Hi! You could try to use the "Get a document" action to see how the JSON is coming, then use that output as guide for the "Create or update document" action.

https://docs.microsoft.com/en-us/connectors/documentdb/#actions

Anonymous
Not applicable

Thanks for the suggestion, I gave it a try and it looks like my original documents were inserted with all of the supplied properties. However when I look in data explorer on my azure portal they do not appear.

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Users online (1,428)