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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Discrepancy in RemoteExecutionContext JSON Structure in Azure Function Webhook

(0) ShareShare
ReportReport
Posted on by 5

Hello,

I’m currently working with Dynamics 365 webhooks and Azure Functions. I’ve set up a webhook in Dynamics 365 that triggers an Azure Function via an HTTP trigger. The webhook sends a JSON representation of the RemoteExecutionContext object in the request body to the Azure Function.

According to every answer I found, the JSON structure of the request body object should directly map to the RemoteExecutionContext class in .NET. However, I’m noticing some discrepancies in the JSON structure I’m receiving in the Azure Function.

For example, the InputParameters property is coming in the format {/key/:/Target/,/value/:/Entity/EntityReference/}, whereas I was expecting it to be {/Target/: /Entity/EntityReference/}.

I’ve managed to work around this issue by creating a custom class that matches the incoming JSON structure and deserializing the JSON into this custom class. However, I’m curious as to why there’s a discrepancy between the JSON structure and the RemoteExecutionContext class in the first place.

Has anyone else encountered this issue? Any insights into why this might be happening would be greatly appreciated.

Thank you!

P.S. The error I was receiving when trying to parse or deserialize the body to the RemoteExecutionContext class was related to /OwningExtension.keyattributes/ key in the object which I assume means it successfully passed the lines before it which include the key/value part I mentioned above

I have the same question (0)

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 83 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 49 Most Valuable Professional

#3
#ManoVerse Profile Picture

#ManoVerse 40

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans