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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

Qualify Lead Request not working

(0) ShareShare
ReportReport
Posted on by 20

We have code which we are executing from custom workflow. We are qualifying Lead to Contact, this is working perfectly fine for 80% of transaction but 20% of transaction is not working correctly.
Lead is getting qualified bu contact is not getting created. 

If there is code issue it should failed for all, if security role issue it should fail for all. 

var req = new QualifyLeadRequest
{
CreateContact = true,
SourceCampaignId = lead.GetAttributeValue<EntityReference>("campaignid"),
Status = new OptionSetValue((int)DGS.RMM.XRM.lead_statuscode.Qualified),
LeadId = new EntityReference(DGS.RMM.XRM.Lead.EntityLogicalName, entityid)
};

resp = (QualifyLeadResponse)service.Execute(req);

Any comments to find cause will be much helpful.

I have the same question (0)
  • erhan.keskin Profile Picture
    2,253 on at

    Hi,

    Is there any error message thrown?

    Is any duplicate detection rule is enabled? you can ignore it by adding this: QualifyLeadRequest -> Parameters.Add("SuppressDuplicateDetection", true);

    Can you enable trace log and check?

    Regards,

  • Suggested answer
    Thangamani Profile Picture
    507 on at

    Hi,

    Pls check if there is any plugin is triggering on creation of contact/workflow.Is there any actvity feed plugin is enabled on Qualify lead.

    Regards,

    Thangamani

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 69 Most Valuable Professional

#2
ManoVerse Profile Picture

ManoVerse 60 Super User 2026 Season 1

#3
11manish Profile Picture

11manish 43

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans