Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

Connect to a spesific Business Central tenant from Microsoft flow

Posted on by 32,748 Super User 2024 Season 1

Hi,

I am trying to set up a flow in Microsoft Flow where i will connect to Business Central. The O365 account i am using is having access to several Business Central tenants in different Azure AD's.

Microsoft Flow seems only to allow me to connect to the Business Central tenants that is a part of my "home" Azure AD.

Is there any way i can spesify the Azure AD that Microsoft Flow will use to search for my Business Central tenants ?

  • Suggested answer
    JAngle Profile Picture
    JAngle 33,159 on at
    RE: Connect to a spesific Business Central tenant from Microsoft flow

    To alter tenant look outside of the BC connector. You can use the HTTP trigger and then the BC API end points. In some cases this is a better choice. As part of your scenario with the BC API you must declare the tenant ID. Providing you can authenticate the BC environment you are good to go. API guide: docs.microsoft.com/.../

    Naturally this drops the possibility of triggers. You would need to look at webhooks instead.

    You may question why bypass the connector. Well your scenario is unique firstly. Secondly the BC flow connector is restrictive to work with singular record instances. The HTTP breaks out of this and enables you to return many records which is more realistic. Filtering is not currently available on the BC flow connector. It’s in the works though. Check out a pattern where the HTTP connector is used instead: joshanglesea.wordpress.com/.../

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans