Dynamics AX 7 Recurring File (folder) integration

776 views Asked by At

I am trying to import file from a 3rd party application. I followed the link to create a recurring data job to import the file: Recurring integrations

For client application i downloaded a GitHub project: Dynamics AX Integration samples and demos

I am receiving an error:

Failure processing file: CustGroupExp-Customer groups.XML.Exception : AADSTS65001: The user or administrator has not consented to use the application with ID 'b109ce07-67b6-434f-9aee-b5294292e306'. Send an interactive authorization request for this user and resource.

Can anybody tell me what might be the problem.

Thanks in advance.

1

There are 1 answers

0
rjv On

To expand on Pradeep's comment regarding the application ID...

You will have to go to the classic (old) azure portal here and authorize your application. On the left hand side, scroll down and choose the Active Directory option, select the AD tenant, then go to Applications at the top of the tenant landing page. On the Applications page click "Add+" at the bottom of the screen.

You will be shown a selection on what type of application to add, you likely want to choose "Add an application my organization is developing". Name it, select the correct type, and click next. The next screen asks for a redirect uri, this is not an optional field but if you don't have a specific URI in mind just put in some valid html (for example I use: https://no.redirect)

Once the application has been setup, select your newly created application and go to Configure. Remember to add Dynamics AX to the permissions at the bottom of this page (if req'd). Also note that on this screen is your newly created application ID (Client ID) that is now authorized for use in this tenant.

enter image description here

enter image description here