In this blog we will discuss how we can export data entity records into our own Azure SQL database.
Create Database or you can use your existing Database.
Create security login and refresh Security folder.
Select your db in which you want to export data entity records and assign your login account db_owner role.
Now go to data management and click configure data source.
Create Database and set type as Azure SQL DB.
Now click Configure Entity to database and create connection string.
You have to change the DB credentials if you don't do this you will get an error message as shown in image.
After you have login with your Database credentials. Click publish on UI.
Select one of the entities and publish it to the database.
Now go to your Database and refresh it. You will see the staging table of the entity that you have published from Data management.
Now at last all we need to do is to export the entity records to your database and set your target to your local Database. You can also verify your records by matching your entity count and Database records count as show in image.
Reference msdn link: Export Dynamics AX”7” Entities to your own Azure SQL Database