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

Connection Business central onprem with Power BI services with API Query

(0) ShareShare
ReportReport
Posted on by

Hi, I m developing reports data coming from Business Central, using AL language and creating API Query object. I m able get data using a URL with webkey, however after publishing datasource to Power BI services adding credential (the same what is working OK on desktop version) I got a error

Failed to update data source credentials: OData: Request failed (404): The remote server returned an error: (404) Not Found. (Cannot process the request because the default company cannot be found. You can specify a default company in the service configuration file, or specify one for each tenant, or you can add a query string in the form of "company=[name]". You can see the available companies by accessing the default OData web service, Company.

Any idea how to configure the connection string to be able update data from Business Central 

Igor

I have the same question (0)
  • Suggested answer
    MahGah Profile Picture
    15,529 on at

    Hi

    I am sure you already checked this. But can you go to Power Bi Workspace then for the dataset you use for this report go to settings and then Parameters and see if you can see the company name there? it should match the company name in BC that you designed the report for. 

    pastedimage1641575830694v1.png

    pastedimage1641575863038v2.png

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,064

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,568 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,063 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans