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

Community site session details

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

Type "EntityReference" is not supported for workflow-enabled unbound custom API / Type "Entity" is not supported for workflow-enabled custom API

(0) ShareShare
ReportReport
Posted on by 18,054

If you are creating a Custom API and if it is an unbound API to perform any common or global action, and if you selected “Yes” for (Enabled For Workflow), you will get the following errors when you try adding input (Custom API Request Parameter) or output (Custom API Response Property) parameters of type Entity Reference or Entity.

Exception Message: Type “EntityReference” is not supported for workflow-enabled unbound custom API

Exception Message: Type “Entity” is not supported for workflow-enabled custom API

When I got these errors, googled the error message and did not find any link that described the reason for the error but I finally found the doc page that details the limitations of Custom API enable for Workflow. Please see the screenshot from the doc page below

pastedimage1634130167591v1.png

https://docs.microsoft.com/en-us/powerapps/developer/data-platform/customapi-table-columns#enabled-for-workflow

As you can see from the screenshot, you can only use Entity Reference parameter in a bound Custom API when its Enabled for Workflow. And Entity, EntityCollection and String arrayparameters cannot be used in a Custom API enabled for Workflow, whether it is bound or unbound.

https://kokulan.blog/2021/10/13/type-entityreference-is-not-supported-for-workflow-enabled-unbound-custom-api-type-entity-is-not-supported-for-workflow-enabled-custom-api/

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 127

#1
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 127

#3
Tom_Gioielli Profile Picture

Tom_Gioielli 125 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans