Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

CDS 'Perform a bound action' step parsing Entity Reference parameter as an Entity, exceeding max number of properties allowed

I have a custom bound action in D365 that has two arguments:

  • Input named "Relationship" of type EntityReference (account entity)
  • Output named "Email" of type EntityReference (email entity)


I am trying to build a flow that calls this bound action, but when I try adding the step to the flow and selecting my action, it gives me an error : 

The custom API swagger is not valid: 'Invalid Operation. Operation post <custom action URL> properties exceeds max allowed number of properties 1024. Total properties: 1686.'.


If I try changing the action's input argument to a different entity with fewer fields, the error message goes away, and instead all the fields for the entity are displayed as inputs on the bound action step. For an EntityReference argument, I'd expect it to ask for just an ID.


The behavior works the same whether the argument is an Entity or EntityReference type.


Am I missing something? It seems like there is some kind of bug, whereby EntityReference arguments are being interpreted as Entity arguments.

Dual Super User II
Dual Super User II


I have gone into this issue before because it counts every property in the entity reference as a Property, so i ended up modifying my action Input / Output to use string instead of GUIDs

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here

Helpful resources

Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (63,935)