When attempting to use the Project entity (msdyn_project) associated with Project Service Automation (PSA) in Dynamics 365, PowerApps returns the error "An Error Occured on the Server". This occurs when creating an app from scratch as well as the "Start From Data" option. Other entities are available including the Time Entry entity associated with PSA.
Could you please share a bit more about the data structure of your Project entity (CDS entity)?
I suppose that your app connected to a restricted CDS entity tied to a Dynamics 365 product (Dynamics 365 for Project Service Automation), is it true?
Currently, within PowerApps, if you want to connect to a restricted CDS entity tied to Dynamics 365 products from an app, your account must have a license for the corresponding Dynamics 365 product.
Please check if your account have a license for Dynamics 365 for Project Service Automation.
More details about the restricted entities requiring Dynamics 365 licenses, please check the following article:
I'm relatively new to the CDS, so I welcome any corrections to misunderstandings on my part.
The project entity I am refering to is the out of the box msdyn_project entity within Customer Engagement. The entity does have a few custom attributes added on to it.
I don't think it's an issue associated with restricted entities for several reasons:
1) My organization does have the Customer Engagement Plan.
2) In the link to the documentation provided, msdyn_project is not listed as a restricted entity.
3) I am able to connect successfully to msdyn_projecttask, which is listed as a restricted entity.
I am trying to create something similar in PowerApps to the out of the box time entry form from the Unified Interface for PSA. The project entity would just be a lookup to the time entry entity.
Also, I've confirmed that this behavior occurs both in my production environment and sandbox environment.
Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.
Continue your learning in our online communities.
Features releasing from October 2019 through March 2020
Coming to a city near you
Fill out a quick form to claim your user group badge now!
Connect, share, and learn with your peers year-round