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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register 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
jayasurya_prud
Helper II
Helper II

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!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

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