I want to create an Azure function that is triggered by an Event Hub message. I also want to use a Document from DocumentDb, taking the DocumentId from the content of the trigger message (the event hub message). I don't see how this is possible and I doubt if it is, but I wanted to give this a try. In the input, I selected the DocumentDB and in the DocumentId input box (defaulted to {documentId}, I entered {myEventHubMessage.DocumentId}, where myEventHubMessage is the name of my trigger and DocumentId the json property in the content of the message.
Any idea if this is possible and how I could workaround this (without hardcoding DocDb connection strings in my function)