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

Community site session details

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

CRM do not support direct update of Entity Reference properties, Use Navigation properties instead. Error in creating quote based on opportunity.

(0) ShareShare
ReportReport
Posted on by 5

I'm getting an error creating a quote based on an opportunity. I've shared the headers and request body I'm sending in Postman.

Request url: {organization_url}/api/data/v9.2/quotes

HTTP request method: POST

Headers:

'Content-Type': 'application/json; charset=utf-8',
'OData-MaxVersion': '4.0',
'OData-Version': '4.0',
Accept: 'application/json',
Authorization: 'Bearer' + {accesstoken}

Request Body (in Postman):

{
    "name""OPP-0007514",
    "totalamount"123,
    "_owningbusinessunit_value":"304*****-39a4-e***-a89b-00******ac12",
    "opportunityid@odata.bind""/opportunities(a34*****-9abe-4***-9139-58*****7a747)"
}
Removing "_owningbusinessunit_value" key from the body gives an error: "The owner was not provided", So I've added that in the body.
4846.Screenshot-_2800_6_2900_.png
I have the same question (0)
  • Yousuf59 Profile Picture
    5 on at
    RE: CRM do not support direct update of Entity Reference properties, Use Navigation properties instead. Error in creating quote based on opportunity.

    I'm getting 405 error.

    code: '0x8004023b', message: 'Invalid ownerIdType = 7'

  • Yousuf59 Profile Picture
    5 on at
    RE: CRM do not support direct update of Entity Reference properties, Use Navigation properties instead. Error in creating quote based on opportunity.

    I'm getting the same error with '_ownerid_value'.

  • Suggested answer
    EnterCommunityScreenName Profile Picture
    15 on at
    RE: CRM do not support direct update of Entity Reference properties, Use Navigation properties instead. Error in creating quote based on opportunity.

    try

    "_ownerid_value@data.bind": "/businessunits(304*****-39a4-e***-a89b-00******ac12)",

  • Bipin D365 Profile Picture
    28,981 Moderator on at
    RE: CRM do not support direct update of Entity Reference properties, Use Navigation properties instead. Error in creating quote based on opportunity.

    Hi,

    You should map _ownerid_value instead of _owingbusibessunit_value

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

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Hamza H Profile Picture

Hamza H 1,163

#2
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 728 Most Valuable Professional

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 351 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans