Solved: Azure Logic Apps to D365 F&O flow results in different data type in D365 compared to Logic Apps

Jun Ting Ho 141 Reputation points

My team is trying to use Azure Logic Apps to List Items Present in a Table in Dynamics 365 Finance & Operations using filterQuery. However, for some of the filter queries, we encounter errors where the data type in D365 is different from the one in Logic Apps, resulting in incompatible types. The fields throwing errors have data types in D365 "enum" and "bool" respectively. Is there a simple way to resolve this error?


Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,991 questions
0 comments No comments
{count} votes

Accepted answer
  1. Leo Erlandsson 1,656 Reputation points


    Some people are reporting success on filtering on Microsoft.Dynamics.DataEntities.NoYes columns.

    Could you please provide what your query looks like?

    I've seen some reporting that e.g. Column eq 1 works.
    And some reporting that e.g.
    Column eq Microsoft.Dynamics.DataEntities.NoYes’Yes’


    Please see:


    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. MayankBargali-MSFT 70,006 Reputation points

    Hi @Jun Ting Ho

    As per the error message looks like your filter query has a filter on the column of Microsoft.Dynamics.DataEntities.NoYes type and another column of string type.
    You cannot filter on the NoYes type as per the error message. As per the connector action, List items present in table the ODATA filter query restricts the entries returned (e.g. stringColumn eq 'string' OR numberColumn lt 123).