microsoft / coe-starter-kit

Other
737 stars 216 forks source link

[CoE Starter Kit - BUG] DebugBYODL > ConfigureEnvironment #8673

Closed NGseb closed 1 month ago

NGseb commented 1 month ago

Does this bug already exist in our backlog?

Describe the issue

After configuring properly the data lake, all dataflows refreshes manually correctly. However they don't start automatically (except the BYODL makers that has been configured to start automatically) I tryed the workaround in https://github.com/microsoft/coe-starter-kit/issues/6042 but it was not successfull for my case and it does not seems suitable. The update is not working and it fails with the following reason : image

image

{ "error": { "code": "0x8004f087", "message": "Error while creating the SolutionComponent record. Type 381 - ObjectId: 92e837d2-XXXX-XXXX-XXXX-XXXXXX76791. Exception details Microsoft.Crm.BusinessEntities.CrmDuplicateRecordException: Cannot insert duplicate key.\r\n at Microsoft.Crm.Platform.Server.DataEngine.EntityCrudManager.ThrowDuplicateRecordException(IBusinessEntity entity, ExecutionContext context, SqlException e)\r\n at Microsoft.Crm.Platform.Server.DataEngine.EntityCrudManager.Create(IBusinessEntity entity, ExecutionContext context)\r\n at Microsoft.Crm.BusinessEntities.BusinessProcessObject.DoCreate(IBusinessEntity entity, ExecutionContext context)\r\n at Microsoft.Crm.BusinessEntities.BusinessProcessObject.<>c__DisplayClass255_0.<Create>b__0()\r\n at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute[TResult](ILogger logger, EventId eventId, ActivityType activityType, Func1 func, IEnumerable1 additionalCustomProperties)\r\n at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute[TResult](ILogger logger, XrmTelemetryActivityType activityType, Func1 func)\r\n at Microsoft.Crm.ObjectModel.SolutionComponentService.Create(IBusinessEntity entity, ExecutionContext context).", "@Microsoft.PowerApps.CDS.ErrorDetails.0": "creating", "@Microsoft.PowerApps.CDS.ErrorDetails.1": "381", "@Microsoft.PowerApps.CDS.ErrorDetails.2": "92e837d2-XXXX-XXXX-XXXX-XXXXXX76791", "@Microsoft.PowerApps.CDS.ErrorDetails.3": "Microsoft.Crm.BusinessEntities.CrmDuplicateRecordException: Cannot insert duplicate key.\r\n at Microsoft.Crm.Platform.Server.DataEngine.EntityCrudManager.ThrowDuplicateRecordException(IBusinessEntity entity, ExecutionContext context, SqlException e)\r\n at Microsoft.Crm.Platform.Server.DataEngine.EntityCrudManager.Create(IBusinessEntity entity, ExecutionContext context)\r\n at Microsoft.Crm.BusinessEntities.BusinessProcessObject.DoCreate(IBusinessEntity entity, ExecutionContext context)\r\n at Microsoft.Crm.BusinessEntities.BusinessProcessObject.<>cDisplayClass255_0.b0()\r\n at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute[TResult](ILogger logger, EventId eventId, ActivityType activityType, Func1 func, IEnumerable1 additionalCustomProperties)\r\n at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute[TResult](ILogger logger, XrmTelemetryActivityType activityType, Func`1 func)\r\n at Microsoft.Crm.ObjectModel.SolutionComponentService.Create(IBusinessEntity entity, ExecutionContext context)", "@Microsoft.PowerApps.CDS.HelpLink": "http://go.microsoft.com/fwlink/?LinkID=398563&error=Microsoft.Crm.CrmException%3a8004f087&client=platform", "@Microsoft.PowerApps.CDS.InnerError.Message": "Error while creating the SolutionComponent record. Type 381 - ObjectId: 92e837d2-32b3-486f-81d2-6c9a9b776791. Exception details Microsoft.Crm.BusinessEntities.CrmDuplicateRecordException: Cannot insert duplicate key.\r\n at Microsoft.Crm.Platform.Server.DataEngine.EntityCrudManager.ThrowDuplicateRecordException(IBusinessEntity entity, ExecutionContext context, SqlException e)\r\n at Microsoft.Crm.Platform.Server.DataEngine.EntityCrudManager.Create(IBusinessEntity entity, ExecutionContext context)\r\n at Microsoft.Crm.BusinessEntities.BusinessProcessObject.DoCreate(IBusinessEntity entity, ExecutionContext context)\r\n at Microsoft.Crm.BusinessEntities.BusinessProcessObject.<>cDisplayClass255_0.b0()\r\n at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute[TResult](ILogger logger, EventId eventId, ActivityType activityType, Func1 func, IEnumerable1 additionalCustomProperties)\r\n at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute[TResult](ILogger logger, XrmTelemetryActivityType activityType, Func1 func)\r\n at Microsoft.Crm.ObjectModel.SolutionComponentService.Create(IBusinessEntity entity, ExecutionContext context)." } }

Expected Behavior

No response

What solution are you experiencing the issue with?

Core

What solution version are you using?

4.33

What app or flow are you having the issue with?

DebugBYODL>ConfigureEnvironment

What method are you using to get inventory and telemetry?

Data Export

Steps To Reproduce

No response

Anything else?

No response

AB#3848

Jenefer-Monroe commented 1 month ago

Hello we are working on a big revamp of the Data Export feature area that will no longer require these dataflows and so we are not able to spend time debugging these oddities. Sorry for the pain.

Jenefer-Monroe commented 1 month ago

closing out as no further action for starter kit team