web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

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

Users cannot create new opportunity products

(1) ShareShare
ReportReport
Posted on by 20

Hello,

I will preface this with letting everyone know that I have no professional training or knowledge, I have been customizing our out of the box Dynamics 365 and self-teaching over the last 6 months. I have now invited some of my coworkers to start using the CRM with the current customization I have made. I am running in to an issue with creation of new opportunity products that I am hoping I can get some assistance with. 

The users can create and save opportunities with out an issue. They can access an existing opportunity product and make changes to the record and save successfully. When the users go to the opportunity product view and attempt to create a new opportunity product, we run in to a permissions issue. I did download the error log, I am pasting the details below: 

Error code: 0x80040220Session Id: d0c4f855-f1ac-4676-a295-a17cb258182dActivity Id: dd3bfd22-93eb-4134-ad35-63977ebff1c6Time: Wed Apr 29 2020 07:25:34 GMT-0700 (Pacific Daylight Time)
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 ---
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: 861b6ee0-3c1e-41e7-b833-c149fcb50c7c
I am hoping I have provided sufficient information. Since they are able to save new opportunities with out an issue as well as save changes made to opportunity products, I am stumped as to the specific permission that I need to adjust. Any assistance would be fantastic!  Thank you!
I have the same question (0)
  • Suggested answer
    chris xu Profile Picture
    on at
    RE: Users cannot create new opportunity products

    Hi

    Glad to assist you.

    Regarding the issue, please check and try below:

    1- check that whether the user has the create permission against Opportunity Product entity

    2 - Share more specific error message details - seems there is not error message in the shared logs

    3 - Raising the support ticket to Microsoft CRM support team for assistance

    Thanks,

    Chris

  • corinnep Profile Picture
    20 on at
    RE: Users cannot create new opportunity products

    Hello Chris,

    Thank you for your response! I will answer the questions below:

    1- I did attempt to check the opportunity product entity security settings, but I am not able to find the opportunity product within the Core Records of the role security settings, in fact I have not been able to find it in any of the tabs within role security. As I was doing some research online, I had read from another user that the opportunity product entity does not allow for specific security settings, but instead follows the settings of the parent. Below, I have copy and pasted the current security settings for the opportunity and opportunity relationship, the two opportunity related entities I have found within the role security. 

    Annotation-2020_2D00_04_2D00_30-064022.png

    2- In regard to the error message details, I have recreated this error numerous times and everything included in the original post is all the information I get each time. I am downloading the complete log file and including the initial message. Is there any way for me to collect more information, maybe something I am missing? 

    3- I might have to resort to the Microsoft CRM support team, I find so much helpful information throughout these forums so I thought I would at least try.

    Thank you again for your response!

    Corinne

  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at
    RE: Users cannot create new opportunity products

    Corinne,

    I remember that I was fixing similar issue for my customer and if I'm not wrong user didn't have privileges to Create/Read/Append entity "Product" - check that first. If it is not a case you will have to go the hard way:

    Here is what you can do what privileges your user is short on:

    1. Start creation of the opportunity product - fill all of required fields but don't click "Save" yet.

    2. Hit F12 to run Browser Developer Tools.

    3. Find Network tab there.

    4. Leave browser tools open and go back to product form.

    5. Now click "Save" and get an error.

    6. Go back to "Browser Developer Tools", Network tab - look for a "red" line - it can end with "batch" - click on that line, and on the right side - navigate to "Response" - put response here if it will not be clear.

  • corinnep Profile Picture
    20 on at
    RE: Users cannot create new opportunity products

    Hello Andrew,

    Thank you for the response! I did try to adjust the "Product" entity, unfortunately, that did not change the error. I used the Browser Developer Tool and below are my findings: 

    {"error":{"code":"0x80040220","message":"Principal user (Id=3f764169-8d88-ea11-a812-000d3a5a7365, type=8, roleCount=1, privilegeCount=481, accessMode=0), is missing prvReadDynamicProperty privilege (Id=7e23ccca-565f-47ac-be97-7a659d520fb0) on OTC=1048 for entity 'dynamicproperty'. context.Caller=3f764169-8d88-ea11-a812-000d3a5a7365. Or identityUser.SystemUserId=b5322fb5-a26c-4ab3-9880-7f88e6732ded, identityUser.Privileges.Count=1797, identityUser.Roles.Count=0 is missing prvReadDynamicProperty privilege (Id=7e23ccca-565f-47ac-be97-7a659d520fb0) on OTC=1048 for entity 'dynamicproperty'.","innererror":{"message":"Principal user (Id=3f764169-8d88-ea11-a812-000d3a5a7365, type=8, roleCount=1, privilegeCount=481, accessMode=0), is missing prvReadDynamicProperty privilege (Id=7e23ccca-565f-47ac-be97-7a659d520fb0) on OTC=1048 for entity 'dynamicproperty'. context.Caller=3f764169-8d88-ea11-a812-000d3a5a7365. Or identityUser.SystemUserId=b5322fb5-a26c-4ab3-9880-7f88e6732ded, identityUser.Privileges.Count=1797, identityUser.Roles.Count=0 is missing prvReadDynamicProperty privilege (Id=7e23ccca-565f-47ac-be97-7a659d520fb0) on OTC=1048 for entity 'dynamicproperty'.","type":"System.ServiceModel.FaultException`1[[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.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute[TResult](ILogger logger, EventId eventId, ActivityType activityType, Func`1 func, IEnumerable`1 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()"}}}

     I do see the "is missing prvReadDynamicProperty privilege" line in the response log, but when I updated all property values to organization, I still received the same error. Below are the property values I am referring to: 

    1856.Annotation-2020_2D00_04_2D00_30-064022.png

    Look forward to your response!

    Corinne

  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at
    RE: Users cannot create new opportunity products

    Can you please confirm that users with ids 3f764169-8d88-ea11-a812-000d3a5a7365 and b5322fb5-a26c-4ab3-9880-7f88e6732ded have that security role that has this "Dynamic Property" privileges?

  • Linn Zaw Win Profile Picture
    3,407 on at
    RE: Users cannot create new opportunity products

    If you happen to reach to this forum thread because you are getting one of the following errors while creating Quote Line (quotedetail), it is because you are missing Read privileges for Property, Property Association and Property Option Set Item entities under Sales tab of the security role.

    You do not have prvReadDynamicProperty permission to access dynamicproperty records.
    You do not have prvReadDynamicPropertyAssociation permission to access dynamicpropertyassociation records.
    You do not have prvReadDynamicPropertyOptionSetItem permission to access dynamicpropertyoptionsetitem records.

    8400.Role.png

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 258

#2
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 178

#3
Tom_Gioielli Profile Picture

Tom_Gioielli 142 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans