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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform integration forum
Under review by Community Managers

Under review

Thank you for your post! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Power Automate access to Dataverse entities with no key defined

Posted on by 8

I'm trying to build a Power Automate cloud flow that triggers when a purchase requisition in D365 Finance is approved.  Following the admin reference for virtual entities has got the Dataverse table visible, and the trigger seems reasonably intuitive with a requisition status Closed, but when attempting to test the flow, the trigger actions reports the error below

Exception parsing mserp_requisitionstatus eq 'Closed' submitted for attribute filterexpression of callback registration. Target entity: mserp_purchaserequisitionheaderv2entity. Exception: System.InvalidOperationException: The entity 'PurchaseRequisitionHeaderV2Entity' does not have a key defined

The design view of the entity shows that it does have a key:
D365F data entity with keyD365F data entity with key

 

However, this doesn't show up in the Dataverse table:

Dataverse table with no keyDataverse table with no key

 

 

 

 

 

I've read about guids being desirable keys for data entities, but it seems strange that it would be necessary to extend a standard entity with a key like this to get it to show in Dataverse (to be useful, I'm thinking it would need persisting in the database, which would be a big enough change to feel very unlikely).  Anyone please able to suggest some step I may have missed in the virtual entity addition to Dataverse that means keys haven't been created?

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Power Platform integration

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans