I have been trying to synchronize data between PowerApps and Project Online custom fields with an OData connection in the Microsoft PowerApps portal. This should be very possible with a DataFlow connector and the CDS. In the CDS I went through the steps to get the entity and custom attributes ready and upon publishing my connector which uses OData to retrieve Project data from Project Online I get this error.
There was an error while creating this entity. Details: Failed to create entity with logical name crad4_projectsonline and object type code -1. Exception: Microsoft.Crm.CrmSecurityException: SecLib::CheckPrivilege failed. User: e15eb5af-4136-ea11-a812-000d3a33f5f4, PrivilegeName: prvCreateEntity, PrivilegeId: 341e3ebf-74b8-4335-84f3-7f617bb7d081, Required Depth: Basic, BusinessUnitId: b35341b8-a526-e911-a999-000d3a33bd33, MetadataCache Privileges Count: 3055, User Privileges Count: 703 at Microsoft.Crm.BusinessEntities.SecurityLibrary.ThrowPrivilegeDeniedException(IUser user, RolePrivilege rolePrivilege, ExecutionContext context) at Microsoft.Crm.BusinessEntities.SecurityLibrary.GetMaxPrivilegeDepthForUserAcrossBusinessUnitsInternal(Guid user, Guid privilege, ExecutionContext context, Guid& businessUnitId) at Microsoft.Crm.BusinessEntities.SecurityLibrary.CheckPrivilegeGlobalDepth(Guid user, Guid privilege, ExecutionContext context) at Microsoft.Crm.Metadata.EntityService.<>c__DisplayClass33_0.<CreateInternalHelper>b__1() at Microsoft.Crm.SqlTelemetryHelper.LogSqlTimes(Action action, String operationName) at Microsoft.Crm.Metadata.EntityService.CreateInternalHelper(EntityCreateInfo entityInfo, MetadataHelper metadataHelper, ExecutionContext context). [Entity: Projects]
Can someone help me with what permission I should ask of my IT Admins and\or IT Security teams?
Solved! Go to Solution.
Hey DDucolonSBUX,
You'll need the System Customizer and Environment Maker roles in the CDS environment the data flow is pushing data to.
Hey DDucolonSBUX,
You'll need the System Customizer and Environment Maker roles in the CDS environment the data flow is pushing data to.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
15 | |
11 | |
8 | |
4 | |
3 |
User | Count |
---|---|
23 | |
15 | |
14 | |
9 | |
9 |