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

  • Suggested answer
    MahGah Profile Picture
    15,445 on at
    RE: Connection Business central onprem with Power BI services with API Query

    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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

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

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2,655

#2
Mansi Soni Profile Picture

Mansi Soni 1,574

#3
YUN ZHU Profile Picture

YUN ZHU 1,453 Super User 2025 Season 1

Featured topics

Product updates

Dynamics 365 release plans