Hi there,
I am trying to create a single table from several tables in a spreadsheet using dataflows in powerapps. If I use my own 365 account, the table is created fine. But I want to use an account we have setup for 365 administration tasks. It throws the following error:
There was an error while creating this table. Details: Failed to create entity with logical name cr959_cheers and object type code -1. Exception: Microsoft.Crm.CrmSecurityException: SecLib::CheckPrivilege failed. User: XXXX, PrivilegeName: prvCreateEntity, PrivilegeId: XXXX, Required Depth: Basic, BusinessUnitId: XXXX, MetadataCache Privileges Count: 3524, User Privileges Count: 908 at Microsoft.Crm.BusinessEntities.SecurityLibrary.ThrowPrivilegeDeniedException(IUser user, RolePrivilege rolePrivilege, ExecutionContext context) at Microsoft.Crm.BusinessEntities.SecurityLibrary.<>c__DisplayClass86_0.<GetMaxPrivilegeDepthForUserAcrossBusinessUnits>b__0() at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute[TResult](ILogger logger, EventId eventId, ActivityType activityType, Func`1 func, IEnumerable`1 additionalCustomProperties) at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute[TResult](ILogger logger, XrmTelemetryActivityType activityType, Func`1 func) at Microsoft.Crm.BusinessEntities.SecurityLibrary.CheckPrivilegeGlobalDepth(Guid user, Guid privilege, ExecutionContext context) at Microsoft.Crm.Metadata.EntityService.<>c__DisplayClass38_0.<CreateInternalHelper>b__1() at Microsoft.Crm.SqlTelemetryHelper.LogSqlTimes(Action action, String operationName) at Microsoft.Crm.Metadata.EntityService.CreateInternalHelper(EntityCreateInfo entityInfo, MetadataHelper metadataHelper, Boolean shouldCreateOnlyFromReserve, ExecutionContext context). [Entity: Query]
The user account has an office365 E3, PowerBI Pro and Dynamics 365 Team Member license and has the following roles assigned in Dynamics:
Environment Maker
Sales, Enterprise app access
System Administrator
System Customizer
Can anyone see what access or license might be missing from that account?
Thanks,
Kees