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

Announcements

No record found.

News and Announcements icon
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,581 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,033 Super User 2026 Season 1

#2
Dhiren Nagar Profile Picture

Dhiren Nagar 1,105 Super User 2026 Season 1

#3
YUN ZHU Profile Picture

YUN ZHU 1,035 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans