Hi all,
We have a custom entity to track our recruitment activities, and since only recently we're experiencing issues with the notes pane. When posting a note, it does not show the user which posted it. Instead, it shows 'undefined'. This is quite an impactful issue, since we cannot see who made notes to a specific object. Example screenshots below.
In the Hub interface it shows the following:
![]()
If I open the exact screen in the old interface, I see the following:
![]()
I masked the username of a colleague of mine, but it is the username that posted the note and should be visible in the Hub interface. When I try to click the user icon in the Hub interface (showing the 'undefined' user), I get the following error message:
Record Is Unavailable
The requested record was not found or you do not have sufficient permissions to view it.
Technical Details
Error Code: 2147746327
Session Id: 0f74bbe1-ddf3-495c-a0ea-0d0ab0678fb2
Activity Id: f8ca11e0-c6db-45b3-8c68-45767a1964a3
Timestamp: Mon Feb 18 2019 12:54:40 GMT+0100 (Central European Standard Time)
systemuser With Id = 9d5f2641-8b36-4e77-970f-f4b732de30d4 Does Not Exist
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()
I am a Systems Administrator, so rights shouldn't be an issue. Besides, this has worked fine before. The only thing I can remember changing around the time this error occurred is assigning some of our users a Microsoft Flow Free license in Office 365, so that they would show up as 'Enabled Users' in the Users menu. But I cannot image that being in any way related to this, since they are not the only people that I added this way in the past. Also, the user that posted this note has been active for months without any issues.
Can any of you help me using this description and perhaps the error message? Many thanks in advance!
-Tommy