
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 ?
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/.../