“Undeclared Property Error” in assigning lookup field when using web API Dynamics 365

I was trying to use the Xrm.WebApi.createRecord d365 API to create a record but was getting the error :

“An error occurred while validating input parameters: Microsoft.OData.ODataException: An undeclared property ‘YOUR FIELD’ which only has property annotations in the payload but no property value was found in the payload. In OData, only declared navigation properties and declared named streams can be represented as properties without values.”

This error seems to be a common error and the solution could be found everywhere online but in my case, the solutions like this still could not resolve the issue. After much debugging and trying several things, the solution below worked for me:

Continue reading ““Undeclared Property Error” in assigning lookup field when using web API Dynamics 365”

Passing objects to Power Automate from Canvas App

In this article, we will see how objects/variables can be passed from a canvass App to a Power Automate. The pre-requisite needed to be able to follow in this post are:

  • Access to Canvas App
  • Access to Power Automate
  • Lastly, a dynamics 365 instance

Here, I have created a canvas with two button – Call PowerAtomate and Create Collection

Continue reading “Passing objects to Power Automate from Canvas App”

Passing variable/JSON from Power Automate to Canvas App

In this post, we will look at passing variable(s) from power automate to a Canvas App. Prerequisite for this post will be:

  • Access to Power Automate
  • Access to Create a canvas App
  • A single dynamics 365/power platform license.

We would create manually create and spit out a Json out via our power automate, call the power automate in the canvas App and make use of the output in canvas App.

Continue reading “Passing variable/JSON from Power Automate to Canvas App”