Showing results for 
Search instead for 
Did you mean: 
Not applicable

Connecting to AX data entity through OAuth

I'm using an AX version that doesn't have any connector in Microsoft Flow (AX for Operations) so I thought that accesing the data through the default data entities would be a workaround. These entities require OAuth authorisation before they can be reached.

I made a flow with a Http action with OAuth authenticacion but unfortunately this is not working out.

Currently I'm using the following parameters :


Authority : default blank value

Tenant :

Audience :

Client ID : client_id

Secret : secret


Each time I get the following error message : 

"Http request failed as there is an error getting AD OAuth token: 'AADinstance: The application named was not found in the tenant named This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You might have sent your authentication request to the wrong tenant."


Where am I messing up?



Community Support Team
Community Support Team

Re: Connecting to AX data entity through OAuth

Hi DavidClaeys,


From the error message, it seems that you might have sent your authentication request to the wrong tenant.
Please confirm with administrator of the tenant and try again with this issue.


If you are still getting this issue, please feel free reply.


Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources


Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.


Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.


Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Microsoft Learn

Learn how to build the business apps that you need.


Power Platform World Tour

Find out where you can attend!


Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Users Online
Currently online: 63 members 3,551 guests
Recent signins:
Please welcome our newest community members: