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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / CosmosDB Connector - C...
Power Automate
Unanswered

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

(0) ShareShare
ReportReport
Posted on by

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/m-p/71779).

 

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)

 

 

Categories:
I have the same question (0)
  • Mari Profile Picture
    on at

    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

  • Community Power Platform Member Profile Picture
    on at

    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.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard