Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Contact created without required fields

(0) ShareShare
ReportReport
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
    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
    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
    50,091 Moderator 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
    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
    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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 54

#3
Victor Onyebuchi Profile Picture

Victor Onyebuchi 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans