Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Contact created without required fields

Posted on by 195

Hi guys,

The contact is created without Required fields as in the image below.

2061.Untitled.png

Things i have checked.

  • JavaScript
  • Workflows
  • Plugins

What else should i check? Kindly Advice. Urgent

*This post is locked for comments

  • Suggested answer
    Mahadeo Matre Profile Picture
    Mahadeo Matre 17,021 on at
    RE: Contact created without required fields

    another possibility is by outlook email synchronization. it might be you are creating contaCTS WHEN TRACKING EMAILS IN OUTLOOK

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Contact created without required fields

    Experincing the same issue.

    Got emails in the CRM that are attaching contacts created by the system[Created at the same time as the email](Normally due to the queue owners email settings being set to create contact). Check to see if you have any activties assosiated to these contacts. Let me know if this helps.

    We have reviewed all users details, "Create Records" = "None", via "User Setting Utility" in XrmToolBox and these contacts are still being created(Normally just got name, surname and email address, none of our manditory marketing fields have been completed).

  • Verified answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: Contact created without required fields

    You should check following-

    1. Workflow/Custom workflow activity.

    2. Plugin.

    3. Any custom API.

    4. Created through CRM OOB  API.

    5.Data migration tool.

    6. Imported data.

    7.Console Application/ Batch job.

    8.Action.

    9. JavaScript create.

  • Verified answer
    Mahadeo Matre Profile Picture
    Mahadeo Matre 17,021 on at
    RE: Contact created without required fields

    Hi,

    if you are importing contact information using CRM import or any custom code(using API) or using third party tools like scribe, SSIS packages, then contact will be create without required fields.

    Required field will trigger only when you are using CRM UI to create contact..

    if you don't want to create contacts without required fields then need to write plugin on pre-create, which will check for values in required fields and throw error. Plugin will execute on data import and CRM UI operation.

  • Verified answer
    Shidin Haridas Profile Picture
    Shidin Haridas 3,497 on at
    RE: Contact created without required fields

    Hi Aldous, 

    Mandatory fields are only implemented on the UI. This is not a bug. Dynamics 365 expects us to write server-level code to implement mandatory fields.

    In a nutshell, any database call can create the record without having to fill the 'business required' fields such as:

    1. Plugins

    2. Processes (Actions, Workflows)

    3. External web-services or basically any service that is connected to your Dynamics instance. 

    4. JavaScript (if the script is using data calls to create records)

    The main key point here is find out WHO/WHAT is creating this record. Suggest enabling auditing and check the 'createdby' user field to see what service account/user account this record was created with.

    If my answer helps you, please mark it as verified to help the next person landing on this post.

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,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans