cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
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

Announcements
firstImage

Power Platform Online Conference

Speakers, submit your sessions now! Call for speakers ends Feb. 10!

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!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (4,806)