Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
MariaEriksson
New Member

DataSource error Business central

When trying to access data from SalesOrder in Business Central I get this error message, anyone knows what it means? I'm using the standard APIs v2.0. 

DataSource.Error: Dynamics365BusinessCentral: Request failed: The remote server returned an error: (400) Bad Request. (Cannot modify a record. Current connection intent is Read-Only. CorrelationId: ______)

Details:
DataSourceKind=Dynamics365BusinessCentral
DataSourcePath=Dynamics365BusinessCentral

Url=https://api.businesscentral.dynamics.com/v2.0/___________/api/v2.0/salesOrders?company=_______

 

I can access other tables from the databas such as customers etc.

8 REPLIES 8

This helped me to overcome the same issue . Thanks!

cobracongr
New Member

MS changed someting in Feb 2022. Check out this article. Basically at the screen you get the error, select the "Transform Data" button, choose the advanced editor and then replace the last null paramenter in the list with this value:

[UseReadOnlyReplica = false]

 Worked for me.

Thank you, this was the solution for my problem!

callenbkd
Helper I
Helper I

It's not the credentials, especially if you can access other tables. 

callenbkd
Helper I
Helper I

A client of mine has the same problem. I tried on my system and also had that issue. 

MariaEriksson
New Member

I have tried that too, but it doesn't work.

MariaEriksson
New Member

I have tried that already. I have this issue at two different customers. I have tried to clear permission and I have also tried with different Microsoft account.

amitchandak
Super User
Super User

@MariaEriksson , seems like Problem with URL of credentials

 

If already saved in power bi-> in datasource setting clear permission and try again

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.