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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Data-Access-Intent for GET /purchaseOrders

(0) ShareShare
ReportReport
Posted on by 10

Hi there,

We are encountering an issue where some of the v2 API endpoints for Business Central report "BadRequest_IncompatibleDataAccessIntent" with a message "Cannot modify a record. Current connection intent is Read-Only" when we send "Data-Access-Intent: ReadOnly" as a header with our request.

These are only GET requests (llistings) so are not modifying any content/records so would be interested to know why this is the case?

docs.microsoft.com/.../dynamics_purchaseorder_get

We can remove this header from our request but need certainty this is not going to modify any of the record contents in our primary environment...

As an example, the header works on /salesOrders and /purchaseReceipts but does not /purchaseOrders, or /purchaseInvoices

Any assistance would be appreciated.

Thanks,

Lachlan

I have the same question (0)
  • Suggested answer
    Marco Mels Profile Picture
    on at

    Hello,

    That is weird indeed. Feel free to raise it to Microsoft if you have a repro in standard.

    Thank you.

  • lachlancast Profile Picture
    10 on at

    Thanks Marco - didn't bother, just didn't send through the Data Access Intent header and it worked as expected....

  • Suggested answer
    DAnny3211 Profile Picture
    11,397 on at

    hi

    look this

    learn.microsoft.com/.../dynamics_purchaseorderline_get

    DAniele

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,226

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 2,047 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,257 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans