Try Microsoft Edge
A fast and secure browser that's designed for Windows 10
To enqueue messages for recurring integrations in Dynamics 365 for operations, the sample app published in github is helpful. To make this file enqueue work seamlessly, few setups in azure portal and Dynamics 365 for operations need to be done before running the sample application.
Here is a step by step guide on the setup changes to be done.
Azure portal Setup
Dynamics 365 for operations Setup
Github code changes
Download the “RecurringIntegrationsApp” from github https://github.com/Microsoft/Dynamics-AX-Integration and extract the files from zip
To get this to work on your local env, please make sure you make the following setup
Go to <Path where Zip is extracted>\Dynamics-AX-Integration-master\DIXFSamples
In the visual studio solution explorer, Go to Helpers and open AuthenticationHelper.CS > AuthorizationHeader method, if you see that code is not using Client App secret, please make below code change (comment out existing code for acquiring the token and add new code). This code should be updated in github code soon.
If you see that client App secret is already being used, please skip below code changes
string aadClientAppSecret = “Client Secret from Azure App registration”;
var credential = new ClientCredential(“Application Id from Azure App registration”, aadClientAppSecret);
AuthenticationResult authenticationResult = authenticationContext.AcquireTokenAsync(“Dynamics 365 for operations URL”, credential).Result;
Build the code and make sure there are no compiler errors
Place the file to be enqueued to “C:\Temp\Input” folder
Run the github code to open “Ax7 recurring data jobs processor”
Go to settings page, you can see that all values are defaulted
Go to execution tab and Click start