Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I'm getting the following error trying to access and load line data (PO_lines) of a specific entity(PO). I can access and load the data of the itself just fine. It's the lines of that entity (PO) that's getting the error:
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: 1e325c7e-1770-4f02-b616-0266fb317077.)
Details:
DataSourceKind=Dynamics365BusinessCentral
DataSourcePath=Dynamics365BusinessCentral
I saw in another forum to use the following line on the Advanced Editor in the Power Query Editor but it didn't work. It still returns the same error.
Dynamics365BusinessCentral.ApiContentsWithOptions(null, null, null, [UseReadOnlyReplica = false])
I can also access other tables just fine.
How can I solve this?
Hi @oreoChipsCookie - as per snapshot the connection to the Dynamics 365 Business Central data source is being made with read-only intent that preventing you to edit or modify records.
can you check the api endpoint you're using is correct and that your account has the necessary permissions to access and modify the data in the po lines table. check this table is exposed to web services not restricted with read only content.
Reference Docu:
OData Web Services - Business Central | Microsoft Learn
Create users according to licenses - Business Central | Microsoft Learn
API (v2.0) for Dynamics 365 Business Central - Business Central | Microsoft Learn
Hope it helps
Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!
Proud to be a Super User! | |
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
62 | |
61 | |
55 | |
38 | |
27 |
User | Count |
---|---|
85 | |
60 | |
45 | |
41 | |
39 |