Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

Microsoft Dynamics CRM Qualify Lead

Posted on by 2
 
Hi, 

I have a user who can't qualify a lead. I'm getting a business process error message. When looking at the details, this is what I see:
 
  1. {error: {code: /0x80040220/,…}}
    1. error: {code: /0x80040220/,…}
      1. @Microsoft.PowerApps.CDS.ErrorDetails.0: /prvReadmsdyn_projectparameter/
      2. @Microsoft.PowerApps.CDS.ErrorDetails.1: /msdyn_projectparameter/
      3. @Microsoft.PowerApps.CDS.ErrorDetails.StepErrorDetails: /[{///id///:///VALIDATING_LEAD///,///status///:4},{///id///:///VALIDATING_BPF///,///status///:4},{///id///:///CREATE_ACCOUNT///,///status///:4},{///id///:///CREATE_CONTACT///,///status///:4},{///id///:///CREATE_OPPORTUNITY///,///status///:3},{///id///:///UPDATE_LEAD_STATUSCODE///,///status///:0},{///id///:///UPDATE_ACCOUNT///,///status///:0},{///id///:///COPY_LEAD_CONNECTIONS///,///status///:0},{///id///:///COPY_COMPETITORS///,///status///:0}]/
      4. @Microsoft.PowerApps.CDS.HelpLink: /http://go.microsoft.com/fwlink/?LinkID=398563&error=Microsoft.Crm.CrmException%3a80040220&client=platform/
      5. @Microsoft.PowerApps.CDS.InnerError.Message: /Principal user (Id=3077a517-fc87-eb11-a812-000d3af3618e, type=8, roleCount=7, privilegeCount=1178, accessMode='0 Read-Write', AADObjectId='671189e0-9e35-4aa2-be55-d40aa969a834', MetadataCachePrivilegesCount=10142, businessUnitId=fad13e30-d3ac-eb11-8236-000d3ae912fb), is missing prvReadmsdyn_projectparameter privilege (Id=efd7d26b-822b-4f4f-b858-5cef713bc341) on OTC=10105 for entity 'msdyn_projectparameter' (LocalizedName='Project Parameter'). context.Caller=3077a517-fc87-eb11-a812-000d3af3618e. Consider adding missed privilege to one of the principal (user/team) roles./
      6. @Microsoft.PowerApps.CDS.TraceText: [0d83dee1-59f3-e611-80c4-02155dc812c3: Microsoft.Dynamics.MarketingSales.Plugins.QualifyLead.QualifyLeadPlugin: QualifyLead of lead]
        Entered Microsoft.Dynamics.MarketingSales.Plugins.QualifyLead.QualifyLeadPlugin.Execute(), Correlation Id: 97f69fec-d3a1-451a-8f3f-a845753e3438, Initiating User: 3077a517-fc87-eb11-a812-000d3af3618e
        Exception: System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]: Principal user (Id=3077a517-fc87-eb11-a812-000d3af3618e, type=8, roleCount=7, privilegeCount=1178, accessMode='0 Read-Write', AADObjectId='671189e0-9e35-4aa2-be55-d40aa969a834', MetadataCachePrivilegesCount=10142, businessUnitId=fad13e30-d3ac-eb11-8236-000d3ae912fb), is missing prvReadmsdyn_projectparameter privilege (Id=efd7d26b-822b-4f4f-b858-5cef713bc341) on OTC=10105 for entity 'msdyn_projectparameter' (LocalizedName='Project Parameter'). context.Caller=3077a517-fc87-eb11-a812-000d3af3618e. Consider adding missed privilege to one of the principal (user/team) roles. (Fault Detail is equal to Exception details:
        ErrorCode: 0x80040220
        Message: Principal user (Id=3077a517-fc87-eb11-a812-000d3af3618e, type=8, roleCount=7, privilegeCount=1178, accessMode='0 Read-Write', AADObjectId='671189e0-9e35-4aa2-be55-d40aa969a834', MetadataCachePrivilegesCount=10142, businessUnitId=fad13e30-d3ac-eb11-8236-000d3ae912fb), is missing prvReadmsdyn_projectparameter privilege (Id=efd7d26b-822b-4f4f-b858-5cef713bc341) on OTC=10105 for entity 'msdyn_projectparameter' (LocalizedName='Project Parameter'). context.Caller=3077a517-fc87-eb11-a812-000d3af3618e. Consider adding missed privilege to one of the principal (user/team) roles.
        TimeStamp: 2024-01-23T18:21:49.7899276Z
        --
        Exception details:
        ErrorCode: 0x80040220
        Message: Principal user (Id=3077a517-fc87-eb11-a812-000d3af3618e, type=8, roleCount=7, privilegeCount=1178, accessMode='0 Read-Write', AADObjectId='671189e0-9e35-4aa2-be55-d40aa969a834', MetadataCachePrivilegesCount=10142, businessUnitId=fad13e30-d3ac-eb11-8236-000d3ae912fb), is missing prvReadmsdyn_p...)., Correlation Id: 97f69fec-d3a1-451a-8f3f-a845753e3438, Initiating User: 3077a517-fc87-eb11-a812-000d3af3618e
        Exiting Microsoft.Dynamics.MarketingSales.Plugins.QualifyLead.QualifyLeadPlugin.Execute(), Correlation Id: 97f69fec-d3a1-451a-8f3f-a845753e3438, Initiating User: 3077a517-fc87-eb11-a812-000d3af3618e

        [Microsoft.Dynamics.ProjectService.Plugins: Microsoft.Dynamics.ProjectService.Plugins.PreOperationOpportunityCreate]
        [73c90eb3-db06-454b-8da7-6e1de534a96c: Project Service - Pre-operation Create of opportunity]
        />/[Microsoft.Dynamics.MarketingSales.Plugins: Microsoft.Dynamics.MarketingSales.Plugins.QualifyLead.QualifyLeadPlugin]//r/[0d83dee1-59f3-e611-80c4-02155dc812c3: Microsoft.Dynamics.MarketingSales.Plugins.QualifyLead.QualifyLeadPlugin: QualifyLead of lead]//r/Entered Microsoft.Dynamics.MarketingSales.Plugins.QualifyLead.QualifyLeadPlugin.Execute(), Correlation Id: 97f69fec-d3a1-451a-8f3f-a845753e3438, Initiating User: 3077a517-fc87-eb11-a812-000d3af3618e//r/Exception: System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]: Principal user (Id=3077a517-fc87-eb11-a812-000d3af3618e, type=8, roleCount=7, privilegeCount=1178, accessMode='0 Read-Write', AADObjectId='671189e0-9e35-4aa2-be55-d40aa969a834', MetadataCachePrivilegesCount=10142, businessUnitId=fad13e30-d3ac-eb11-8236-000d3ae912fb), is missing prvReadmsdyn_projectparameter privilege (Id=efd7d26b-822b-4f4f-b858-5cef713bc341) on OTC=10105 for entity 'msdyn_projectparameter' (LocalizedName='Project Parameter'). context.Caller=3077a517-fc87-eb11-a812-000d3af3618e. Consider adding missed privilege to one of the principal (user/team) roles. (Fault Detail is equal to Exception details: //r/ErrorCode: 0x80040220//r/Message: Principal user (Id=3077a517-fc87-eb11-a812-000d3af3618e, type=8, roleCount=7, privilegeCount=1178, accessMode='0 Read-Write', AADObjectId='671189e0-9e35-4aa2-be55-d40aa969a834', MetadataCachePrivilegesCount=10142, businessUnitId=fad13e30-d3ac-eb11-8236-000d3ae912fb), is missing prvReadmsdyn_projectparameter privilege (Id=efd7d26b-822b-4f4f-b858-5cef713bc341) on OTC=10105 for entity 'msdyn_projectparameter' (LocalizedName='Project Parameter'). context.Caller=3077a517-fc87-eb11-a812-000d3af3618e. Consider adding missed privilege to one of the principal (user/team) roles.//r/TimeStamp: 2024-01-23T18:21:49.7899276Z//r/--//r/Exception details: //r/ErrorCode: 0x80040220//r/Message: Principal user (Id=3077a517-fc87-eb11-a812-000d3af3618e, type=8, roleCount=7, privilegeCount=1178, accessMode='0 Read-Write', AADObjectId='671189e0-9e35-4aa2-be55-d40aa969a834', MetadataCachePrivilegesCount=10142, businessUnitId=fad13e30-d3ac-eb11-8236-000d3ae912fb), is missing prvReadmsdyn_p...)., Correlation Id: 97f69fec-d3a1-451a-8f3f-a845753e3438, Initiating User: 3077a517-fc87-eb11-a812-000d3af3618e//r/Exiting Microsoft.Dynamics.MarketingSales.Plugins.QualifyLead.QualifyLeadPlugin.Execute(), Correlation Id: 97f69fec-d3a1-451a-8f3f-a845753e3438, Initiating User: 3077a517-fc87-eb11-a812-000d3af3618e//r///r//[Microsoft.Dynamics.ProjectService.Plugins: Microsoft.Dynamics.ProjectService.Plugins.PreOperationOpportunityCreate]//r//[73c90eb3-db06-454b-8da7-6e1de534a96c: Project Service - Pre-operation Create of opportunity]//r///
      7. code: /0x80040220/
      8. message: /Principal user (Id=3077a517-fc87-eb11-a812-000d3af3618e, type=8, roleCount=7, privilegeCount=1178, accessMode='0 Read-Write', AADObjectId='671189e0-9e35-4aa2-be55-d40aa969a834', MetadataCachePrivilegesCount=10142, businessUnitId=fad13e30-d3ac-eb11-8236-000d3ae912fb), is missing prvReadmsdyn_projectparameter privilege (Id=efd7d26b-822b-4f4f-b858-5cef713bc341) on OTC=10105 for entity 'msdyn_projectparameter' (LocalizedName='Project Parameter'). context.Caller=3077a517-fc87-eb11-a812-000d3af3618e. Consider adding missed privilege to one of the principal (user/team) roles./
 
I've tried everything and can't  pinpoint the problem.

Can someone assist me please
  • Suggested answer
    Leah Ju Profile Picture
    Leah Ju Microsoft Employee on at
    Microsoft Dynamics CRM Qualify Lead
    Hi Partner,
    The display name of 'msdyn_projectparameter 'table is 'Project parameter'.
    Go to Settings > Security role, find one role that assigned to this user.
    Open this role, you will find this table under 'Custom Entities' tab.
  • KarimMomo Profile Picture
    KarimMomo 2 on at
    Microsoft Dynamics CRM Qualify Lead
    @dian74

    How do I find this table: msdyn_projectparameter table ?

    If I go to Settings > Security Role, I'm not sure I can see the specific role. 
  • Suggested answer
    dian74 Profile Picture
    dian74 2,475 Most Valuable Professional on at
    Microsoft Dynamics CRM Qualify Lead
    If you can through the error, you'll notice that it shows 'is missing...... privilege' I.E under 5 it shows 'is missing prvReadmsdyn_projectparameter privilege'. This means there are certain permissions missing for the user to perform the action. In this case the user is missing the privilege to read from the msdyn_projectparameter table. You would need to add these permissions to their existing security role or create a new role and add them there. More information on this here: https://learn.microsoft.com/en-us/troubleshoot/dynamics-365/sales/troubleshoot-lead-qualification-issues-for-system-admin
     
    PLEASE MARK AS VERIFIED IF HELPFUL

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans