Object is to read data from Dynamics ax 365FO data entities using Web Api project.

This is first part of the blog series on consuming Data entities using Web api, in this blog i will be covering the configuration part of the projects

Step 1: Download Dynamics ax integration sample project from GITHUB


Extract the project, you will see different samples.

Step 2: We will copy two projects AuthenticationUtility and ODataUtility and move to the new web api project we are going to create.


New project structure will look like this.


We also need to add the reference of dll of two projects  AuthenticationUtility and ODataUtility to our new projects.

There is a class ClientConfiguration in AuthenticationUtility project that is required a configuration change and requires to set following attribute from your Azure subscription.

UriString, UserName, Password, ActiveDirectoryResource, ActiveDirectoryTenant, ActiveDirectoryClientAppId, ActiveDirectoryClientAppSecret

In the next blogs i will be covering

  1. How to setup web api project app on Azure and what are we needed to setup the app in Azure.
  2. I will be covering code side also on which i will demonstrate how we can consume OData entity.

Amir (Happy Daxing)