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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Connecting flow to bus...
Power Automate
Unanswered

Connecting flow to business central (on-premises)

(1) ShareShare
ReportReport
Posted on by 12

Good evening!

 

I'm trying to connect power automate (flow) with business central (on-premises). However I get an error saying "error testing the connection". I use the same URL as for Power BI, which works fine. 

 

image.png

 

Does anyone has an idea? Is there a difference in connecting power bi and flow with BC on prem? 

 

David

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,985 Most Valuable Professional on at

    Hi @David54 

     

    If your current gateway either in personal mode, which applies to Power BI only.

     

    Types of gateways

    There are two different types of gateways, each for a different scenario:

     

    • On-premises data gateway allows multiple users to connect to multiple on-premises data sources. You can use an on-premises data gateway with all supported services, with a single gateway installation. This gateway is well-suited to complex scenarios with multiple people accessing multiple data sources.

    • On-premises data gateway (personal mode) allows one user to connect to sources, and can’t be shared with others. An on-premises data gateway (personal mode) can be used only with Power BI. This gateway is well-suited to scenarios where you’re the only person who creates reports, and you don't need to share any data sources with others.

     

    https://docs.microsoft.com/en-us/power-automate/gateway-reference

     

    https://docs.microsoft.com/en-us/data-integration/gateway/service-gateway-install

     

    Looks like you have a personal gateway specifically for Power BI. 

     

    Thanks

  • David54 Profile Picture
    12 on at

    thanks, @abm 

     

    We are using the OData functionality that comes along with business central. The OData link is provided by business central for web services. Other users can connect too with their own username and web service key using the same url in PowerBi. 

     

    Since I'm not getting an authentication error, I guess the web service url, I have to enter must be different from that in Power BI..? 

     

    David

  • filipovicdino Profile Picture
    88 on at

    @David54, have you managed to solve a problem? I have same problem with Power Automate and Business Central connection. I get error 502 bad gateway when I try to access OData services https://servername:port/instance/OData

     

    Cheers,

    Dino

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 474

#2
11manish Profile Picture

11manish 268

#3
David_MA Profile Picture

David_MA 243 Super User 2026 Season 1

Last 30 days Overall leaderboard