gog
gog

Reputation: 12988

Cosmosdb query is not working on Logic Apps

I have a cosmos db database with a simulations collection and If i make this query on the portal i got some results:

query1

But in my logic app I got [] documents, the same query and the same collection:

enter image description here

But returns nothing. Why this behaviour?

Upvotes: 3

Views: 1828

Answers (2)

Jesse Vonk
Jesse Vonk

Reputation: 1

Is your Cosmos DB located in the same region as the Logic App? I'm experiencing the same problem and I think this might cause it.

Upvotes: 0

Sajeetharan
Sajeetharan

Reputation: 222582

It should work as expected, just created your scenario and it works fine on my side. Make sure your connection databaseId is correct.

enter image description here

Upvotes: 1

Related Questions