Skip to main content

Notifications

Community site session details

Community site session details

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

Lead to Opportunity on Qualify - Error - "Attribute 'msdyn_contractorganizationalunitid' cannot be NULL"

(0) ShareShare
ReportReport
Posted on by 10

Hi All

I am a bit stuck here. I'm unable to qualify leads when the Lead Type is "Work based". It fails with the following error message:

"Business Process Error"

"Attribute 'msdyn_contractorganizationalunitid' cannot be NULL".

pastedimage1575898966354v1.png

I tried the solution provided by Dominic Carvalho in this thread https://cCannot qualify Lead to Opportunity on a Sandbox D365 online instance.

I even deactivated the "Project Service - Contracting Unit is Required" business rule on the Opportunity record. Still fails.

This started I think when I changed the Project service > Settings > Parameters > Default Organizational Unit

I assume I'm missing a setting or configuration somewhere, but I haven't found the minimum required settings for this to work.

Your help would be much appreciated.

Thanks

  • Suggested answer
    Fabio Branco Profile Picture
    on at
    RE: Lead to Opportunity on Qualify - Error - "Attribute 'msdyn_contractorganizationalunitid' cannot be NULL"

    Hi,

    Please make sure the Contracting Unit field is populated when the user creates in opportunities in the Application 

    Anota_E700E300_o-2019_2D00_12_2D00_11-161638.jpg

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

🌸 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…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 225 Super User 2025 Season 1

#2
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 106 Most Valuable Professional

#3
Eugen Podkorytov Profile Picture

Eugen Podkorytov 87

Overall leaderboard

Product updates

Dynamics 365 release plans