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

Announcements

News and Announcements icon
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
    Microsoft Employee 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,423 Super User 2026 Season 1 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 686 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 447 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 328 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans