Test User getting this error, when attempting to open a record. Another user created the record (Territory = Maryland)... Test User 6 is in the Parker Region. The Parker Region is the Parent Territory of Maryland. Here is the code I am looking at...can anyone help interpret? This has put a stop to our testing and is a blocker....thanks!
- Error Code: 2147779334
- Session Id: 6d223399-19f9-444d-81ca-ce4bcf616bab
- Activity Id: ce3283b9-8502-4ff6-abc7-ca8372722f59
- Timestamp: Thu Feb 06 2020 11:28:47 GMT-0500 (Eastern Standard Time)
{"CallerPrincipal":{"PrincipalId":"4a5684b0-c133-ea11-a814-000d3a579c79","Type":8,"IsUserPrincipal":true,"IsTeamPrincipal":false,"TypeName":"user"},"OwnerPrincipal":{"PrincipalId":"b1923206-f32b-ea11-a810-000d3a579c6c","Type":8,"IsUserPrincipal":true,"IsTeamPrincipal":false,"TypeName":"user"},"CallerInfo":{"IsSystemUser":false,"IsSupportUser":false,"IsAdministrator":false,"IsCustomizer":false,"IsDisabled":false,"IsIntegrationUser":false,"Privileges":null,"Teams":null,"Roles":null},"ObjectId":"583361eb-be43-ea11-a812-000d3a579b82","ObjectTypeCode":10215,"ObjectBusinessUnitId":"ed8ef6fe-711e-ea11-a812-000d3a4df2da","OrganizationId":"a8d40671-2ce0-413b-a1d0-7e7b43c7ee6f","EntityName":"lennar_landplandelivery","EntityOwnershipTypeMask":1,"EntityPrivileges":[{"Id":"d6349cbf-2b80-4b74-830d-8a1a59fa66d7","ObjectTypeCode":10215,"Name":"prvCreatelennar_landplandelivery","AccessRight":32,"PrivilegeType":0,"CanBeBasic":true,"CanBeLocal":true,"CanBeDeep":true,"CanBeGlobal":true,"CanBeEntityReference":true,"CanBeParentEntityReference":true},{"Id":"6a4554d5-eb53-49b1-87c4-18416d96ec28","ObjectTypeCode":10215,"Name":"prvReadlennar_landplandelivery","AccessRight":1,"PrivilegeType":1,"CanBeBasic":true,"CanBeLocal":true,"CanBeDeep":true,"CanBeGlobal":true,"CanBeEntityReference":true,"CanBeParentEntityReference":true},{"Id":"11a21d5f-4d64-46eb-934b-cec964536d34","ObjectTypeCode":10215,"Name":"prvWritelennar_landplandelivery","AccessRight":2,"PrivilegeType":2,"CanBeBasic":true,"CanBeLocal":true,"CanBeDeep":true,"CanBeGlobal":true,"CanBeEntityReference":true,"CanBeParentEntityReference":true},{"Id":"3ae81349-5217-4bfa-9643-3d10e584b317","ObjectTypeCode":10215,"Name":"prvDeletelennar_landplandelivery","AccessRight":65536,"PrivilegeType":3,"CanBeBasic":true,"CanBeLocal":true,"CanBeDeep":true,"CanBeGlobal":true,"CanBeEntityReference":true,"CanBeParentEntityReference":true},{"Id":"de8048dd-038b-4de7-b49f-f75ac417b1eb","ObjectTypeCode":10215,"Name":"prvAssignlennar_landplandelivery","AccessRight":524288,"PrivilegeType":4,"CanBeBasic":true,"CanBeLocal":true,"CanBeDeep":true,"CanBeGlobal":true,"CanBeEntityReference":true,"CanBeParentEntityReference":true},{"Id":"9dac636f-fa2b-4b0f-ad07-42a654a40e82","ObjectTypeCode":10215,"Name":"prvSharelennar_landplandelivery","AccessRight":262144,"PrivilegeType":5,"CanBeBasic":true,"CanBeLocal":true,"CanBeDeep":true,"CanBeGlobal":true,"CanBeEntityReference":true,"CanBeParentEntityReference":true},{"Id":"f0724209-85eb-4b53-a864-f8f49e8a3827","ObjectTypeCode":10215,"Name":"prvAppendlennar_landplandelivery","AccessRight":4,"PrivilegeType":6,"CanBeBasic":true,"CanBeLocal":true,"CanBeDeep":true,"CanBeGlobal":true,"CanBeEntityReference":true,"CanBeParentEntityReference":true},{"Id":"2b6439fa-e3e4-4f10-b249-12d140d2b416","ObjectTypeCode":10215,"Name":"prvAppendTolennar_landplandelivery","AccessRight":16,"PrivilegeType":7,"CanBeBasic":true,"CanBeLocal":true,"CanBeDeep":true,"CanBeGlobal":true,"CanBeEntityReference":true,"CanBeParentEntityReference":true}],"RightsToCheck":"ReadAccess","RoleAccessRights":"None","PoaAccessRights":"None","HsmAccessRights":"None","Messages":["PrincipalHasOwnerPrincipalWithAtLeastBasicPrivilegeDepth = False","EntityUserGroupRights = None","MinimumPrivilegeDepthRequired = Global","GrantedRights = None","SecLib::AccessCheckEx2 failed. Owner Data: User principal b1923206-f32b-ea11-a810-000d3a579c6c is not found in UserDataCache; Principal Data: roleCount=1, privilegeCount=894, accessMode=0"],"IsHsmEnabled":false,"IsOwnerDirectReport":false,"IsDirectReportInOwningTeam":false,"IsReadAccessFromIndirectReport":false}
at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.Execute(OrganizationRequest request, InvocationContext invocationContext, CallerOriginToken callerOriginToken, WebServiceType serviceType, Boolean checkAdminMode, ExecutionContext executionContext, Dictionary`2 optionalParameters) at Microsoft.Crm.Extensibility.OData.CrmODataExecutionContext.Execute(OrganizationRequest request) at Microsoft.Crm.Extensibility.OData.CrmODataServiceDataProvider.RetrieveEntityWithRelatedRecords(CrmODataExecutionContext context, EntityReference primaryEntityReference, String[] columns, RelationshipQueryCollection relatedEntitiesQuery) at Microsoft.Crm.Extensibility.OData.CrmODataServiceDataProvider.RetrieveEdmEntity(CrmODataExecutionContext context, String edmEntityName, String entityKeyValue, ODataQueryOptions queryOptions) at Microsoft.Crm.Extensibility.OData.EntityController.GetEntityImplementation(String& entityName, String key) 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 lambda_method(Closure , Object , Object[] ) at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.<GetExecutor>b__9(Object instance, Object[] methodParameters) at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__0.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Dispatcher.HttpControllerDispatcher.<SendAsync>d__1.MoveNext()