cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DDucolonSBUX
Advocate I
Advocate I

Setting proper permissions to use CDS with custom attributes

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?

1 ACCEPTED SOLUTION

Accepted Solutions
ChrisPiasecki
Dual Super User
Dual Super User

Hey DDucolonSBUX,

 

You'll need the System Customizer and Environment Maker roles in the CDS environment the data flow is pushing data to. 

View solution in original post

1 REPLY 1
ChrisPiasecki
Dual Super User
Dual Super User

Hey DDucolonSBUX,

 

You'll need the System Customizer and Environment Maker roles in the CDS environment the data flow is pushing data to. 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Users online (3,429)