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