Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

You do not have {0} permission to access {1} records

(0) ShareShare
ReportReport
Posted on by 1,020

I don't know where to look.  This pops on the saving of an opportunity product.

I'm wondering if there is significance to the fact that there is no error message and the variables in the message are not filled in.  The error log entry begins at the stack trace -- again, no error message:

   at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.CreateInternal(Entity entity, InvocationContext invocationContext, CallerOriginToken callerOriginToken, WebServiceType serviceType, Boolean checkAdminMode, Dictionary`2 optionalParameters)
   at Microsoft.Crm.Extensibility.OData.CrmODataExecutionContext.CreateOrganizationResponse(Entity entity)
   at Microsoft.Crm.Extensibility.OData.CrmODataServiceDataProvider.CreateEdmEntity(CrmODataExecutionContext context, String edmEntityName, EdmEntityObject entityObject, Boolean isUpsert)
   at Microsoft.Crm.Extensibility.OData.EntityController.PostEntitySetImplementation(String& entitySetName, EdmEntityObject entityObject)
   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 ---

...

ps- it is clearly a privilege issue as I don't get the error as sys admin

  • Colin Richardson Profile Picture
    10 on at
    RE: You do not have {0} permission to access {1} records

    You sir are a dead set legend - many thanks!

  • Suggested answer
    Daniel Bergsten Profile Picture
    110 on at
    RE: You do not have {0} permission to access {1} records

    Here´s how to find the actual error message that shows exactly what privilige is missing.

    Open browser debug mode (F12). Reproduce the error message. Go to debug mode Network and look for errors (in red). Here you will find the error message.

    pastedimage1579507674756v1.png

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: You do not have {0} permission to access {1} records

    I had this issue before and it is truly painful looking for a solution. The Trace is mostly not very helpful. But I had good luck checking the relationships to other entities on the entity I got the error from and checking the access to these entities for the user role via the "Access Checker" in the "XrmToolbox".

    I would always recommend to check the Plug-Ins in the XrmToolbox since it has many helpful features.

  • Martin Donnelly Profile Picture
    1,020 on at
    RE: You do not have {0} permission to access {1} records

    I tried the forceclassic=1 argument and got the "classic".  Problem is the classic doesn't support the price-list-free opportunity feature released in wave 2.  So, no joy.

    I also found someone else reported the issue via github and the Microsoft dude responded, Oh yeah, we should make sure there's an error message.  Then he closed the ticket.

    So, if anybody from Microsoft is paying attention, it appears nobody but sys admins can add details to sales entities in your new system.

    Fix it!

  • Martin Donnelly Profile Picture
    1,020 on at
    RE: You do not have {0} permission to access {1} records

    According to this community.dynamics.com/.../insufficient-permissions---show-details-provides-no-help I can get a better error message by going back to web app.  Alas, I only have the universal.

  • Martin Donnelly Profile Picture
    1,020 on at
    RE: You do not have {0} permission to access {1} records

    the rest:

      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()

    Activity Id: cf75dac6-c1ad-492b-bd7d-8d35cdb75611

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,865 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,723 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans