Admin | Sync Template v2 (Power Apps User Shared With) Error
See original GitHub issueDescribe the bug I am getting error for invalid type for entity id value at Insert Power Platform User action.
Component (please tell us which flow or app you are experiencing issues with):
- Solution - Core
- Version - 1.54
- Flow - Admin | Sync Template v2 (Power Apps User Shared With)
To Reproduce Steps to reproduce the behavior:
- Go to
- Click on ‘…’
- Scroll down to ‘…’
- See error
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Additional context
{
“error”: {
“code”: “0x80040203”,
“message”: “Invalid type for entity id value”,
“innererror”: {
“message”: “Invalid type for entity id value”,
“type”: “System.ServiceModel.FaultException1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]", "stacktrace": " at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.CreateInternal(Entity entity, InvocationContext invocationContext, CallerOriginToken callerOriginToken, WebServiceType serviceType, Boolean checkAdminMode, Dictionary
2 optionalParameters)\r\n at Microsoft.Crm.Extensibility.OData.CrmODataExecutionContext.CreateOrganizationResponse(Entity entity)\r\n at Microsoft.Crm.Extensibility.OData.CrmODataServiceDataProvider.CreateEdmEntity(CrmODataExecutionContext context, String edmEntityName, EdmEntityObject entityObject, Boolean isUpsert)\r\n at Microsoft.Crm.Extensibility.OData.EntityController.PostEntitySetImplementation(String& entitySetName, EdmEntityObject entityObject)\r\n at Microsoft.Crm.Extensibility.OData.CrmODataUtilities.<>c__DisplayClass10_02.<InvokeActionAndLogMetric>b__0()\r\n at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute[TResult](ILogger logger, EventId eventId, ActivityType activityType, Func
1 func, IEnumerable1 additionalCustomProperties)\r\n at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute[TResult](ILogger logger, XrmTelemetryActivityType activityType, Func
1 func)\r\n at lambda_method(Closure , Object , Object[] )\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.<GetExecutor>b__9(Object instance, Object[] methodParameters)\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)\r\n— End of stack trace from previous location where exception was thrown —\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__0.MoveNext()\r\n— End of stack trace from previous location where exception was thrown —\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()\r\n— End of stack trace from previous location where exception was thrown —\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Dispatcher.HttpControllerDispatcher.<SendAsync>d__1.MoveNext()”
},
“@Microsoft.PowerApps.CDS.ErrorDetails.ValidationPath”: “/0”,
“@Microsoft.PowerApps.CDS.ErrorDetails.ApiExceptionSourceKey”: “Api/PrePipeline”,
“@Microsoft.PowerApps.CDS.ErrorDetails.ApiStepKey”: “00000000-0000-0000-0000-000000000000”,
“@Microsoft.PowerApps.CDS.ErrorDetails.ApiDepthKey”: “0”,
“@Microsoft.PowerApps.CDS.ErrorDetails.ApiActivityIdKey”: “509ffc31-8ffd-4681-b623-8bade033c170”,
“@Microsoft.PowerApps.CDS.ErrorDetails.ApiPluginSolutionNameKey”: “System”,
“@Microsoft.PowerApps.CDS.ErrorDetails.ApiStepSolutionNameKey”: “System”,
“@Microsoft.PowerApps.CDS.ErrorDetails.ApiExceptionCategory”: “ClientError”,
“@Microsoft.PowerApps.CDS.ErrorDetails.ApiExceptionMesageName”: “InvalidArgument”,
“@Microsoft.PowerApps.CDS.ErrorDetails.ApiExceptionHttpStatusCode”: “400”,
“@Microsoft.PowerApps.CDS.HelpLink”: “http://go.microsoft.com/fwlink/?LinkID=398563&error=Microsoft.Crm.CrmException%3A80040203&client=platform”,
“@Microsoft.PowerApps.CDS.InnerError.Message”: “Invalid type for entity id value”
}
}
Issue Analytics
- State:
- Created 3 years ago
- Comments:11
Top GitHub Comments
Thank you so much for your all help and thank you for the CoE Kit. Issue has been resolved.
Did you try the flow that was released yesterday to the GitHub repository? It had an additional change from a colleague.
Here is just that flow from the download:
AdminSyncTemplatev2(PowerAppsUserSharedWith)_20200817233107.zip