cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
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 : tenant.onmicrosoft.com

Audience : axinstance.cloudax.dynamics.com

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 axinstance.cloudax.dynamics.com was not found in the tenant named tenant.onmicrosoft.com. 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?

 

 

1 REPLY 1
Highlighted
Community Support
Community Support

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

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

Top Solution Authors
Users online (11,431)