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

Announcements

News and Announcements icon
Community site session details

Community site session details

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

Microsoft Dynamics CRM Qualify Lead

(0) ShareShare
ReportReport
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
I have the same question (0)
  • Suggested answer
    dian74 Profile Picture
    2,481 Most Valuable Professional on at
    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
  • KarimMomo Profile Picture
    2 on at
    @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
    Leah Ju Profile Picture
    Microsoft Employee on at
    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.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Hamza H Profile Picture

Hamza H 142 Super User 2026 Season 1

#2
Nagaraju_Matta Profile Picture

Nagaraju_Matta 128

#3
ManoVerse Profile Picture

ManoVerse 127 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans