Package deployment with Dynamics 365 Operations

Recently i got chance to experience the D365 Package deployment, and here is the guide i have followed.

https://docs.microsoft.com/en-us/dynamics365/unified-operations/dev-itpro/deployment/install-deployable-package

I was going to install Update 11 for Microsoft Dynamics 365 Finance and Operations:

I ended up completing the following steps:

  1. Browse to https://lcs.dynamics.com/
  2. Click on the Shared asset library button
  3. Select Software deploy-able package
  4. Download Dynamics 365 Unified Operations Platform Update 11 and copy downloaded archive to specific folder manually created on VM. For instance, C:\Update11
  5. Right-click on the downloaded zip-file, select Properties and click on the Unblock
  6. Extract archive file to C:\Update11\AXPlatformUpdate folder
  7. Open Command prompt application as Administrator, change current folder to C:\ C:\Update11\AXPlatformUpdate by the following command:

   cd C:\Update11\AXPlatformUpdate

  1. Run the following command:

AXUpdateInstaller.exe generate -runbookid=”DevBox” -topologyfile=”DefaultTopologyData.xml” -servicemodelfile=”DefaultServiceModelData.xml” -runbookfile=”DevBox-runbook.xml”

  1. Run the following command:

AXUpdateInstaller.exe import -runbookfile=”DevBox-runbook.xml”

  1. Run the following command:

AXUpdateInstaller.exe execute -runbookid=”DevBox”

  1. Wait until it’s completed. In a nutshell, there are 16 steps that must be completed.

After completion you can check About form and you will notice that platform version has been changed.

Microsoft Dynamics 365 Finance and Operations About Updated

Advertisements

Payable Bot Dynamics ax 365

Satya Nadella

We have seen an age of mobile phone apps, and guess what is coming next? Chatbot’s. To acknowledge their soaring growth and to leverage on this business opportunity, at this year’s Build conference, Microsoft has released a full framework to build bots. It is called the Bot Framework

*****************************************************************************

Hi Guys,

We Bot team (Amir & Zain) has completed first ever Chat Bot integration POC at Mazik Global. We have publish the bot to skype channel and now Payable operations can be performed from any where using Skype.

Here is the user manual if anyone would like to see details on its.

Payable Bot – D365 manual

On Technical details; how we have completed this. We would divide this to 3 parts, you would need some basic C# Async programming knowledge, You will need to design connector using c# that will talk to AX on simple read/write need of the Bot, third you need to publish the bot and connector to Azure, there you need some configurations and settings.

On configuring the Bot project and machine, please ready this blog

https://msdax.wordpress.com/2018/03/27/chat-bots-microsoft-bot-framework/

Here are lots of sample projects on Chat Bot, that helps me a lot in making this simple Chat bot.

GITHUB Sample projects on ChatBot

On writing the connector and publishing the App to Azure i have already covered detail blogs previously. that will help you in making the connector and publishing it to Azure.

https://msdax.wordpress.com/2018/03/20/consuming-dynamics-ax-365fo-data-entities-using-web-api-part-1/

https://msdax.wordpress.com/2018/03/22/consuming-dynamics-ax-365fo-data-entities-using-web-api-part-2/

https://msdax.wordpress.com/2018/03/31/consuming-dynamics-ax-365fo-data-entities-using-web-api-part-3/

Thanks for reading this interesting topic, I have keep it shot and simple, If you have any further questions or you would like to get any further Technical or Functional details, you can leave a comment and i will try to respond ASAP.

Thanks again

Amir : Happy Daxing.

 

Deploying SSRS Reports to Dynamics ax 365

I was going thru the deployment document where I found the way to redeploy all the reports which also includes your custom reports.  You normally execute this at the end, after the package is successfully deployed,

Deploying all/specific reports Using PowerShell

All reports can be deployed using following commands . To run command open PowerShell as administrator

K:\AosService\PackagesLocalDirectory\Plugins\AxReportVmRoleStartupTask\DeployAllReportsToSSRS.ps1 -PackageInstallLocation “K:\AosService\PackagesLocalDirectory”

Specific reports can be deployed by making small changes to above script. This script below can deploy all the AssetDep* reports and TaxVatRegister report.

K:\AosService\PackagesLocalDirectory\Plugins\AxReportVmRoleStartupTask\DeployAllReportsToSSRS.ps1 -Module ApplicationSuite -ReportName AssetDep*,TaxVatRegister.Report -PackageInstallLocation “K:\AosService\PackagesLocalDirectory”

Thanks

Amir : Happy Daxing

Consuming Dynamics AX 365FO Data entities using Web API (Part 3)

Hi Guys,

This is with the 3rd and final part of same demo, In this post we will see what is the code we need to write on wep api project to get the data from Dynamics ax 365. In this post we will be reading the purchase order data from Dynamics ax 365. In case if you have not read the previous two parts then follow these links

https://msdax.wordpress.com/2018/03/20/consuming-dynamics-ax-365fo-data-entities-using-web-api-part-1/

https://msdax.wordpress.com/2018/03/22/consuming-dynamics-ax-365fo-data-entities-using-web-api-part-2/

To start with, we need to add few dll references on Web api project. Please make sure Microsoft.OData.Client dll should be of same version what we have referenced in AuthenticationUtility and ODataUnity project(These projects are previously discussed in last blogs).

using Manage Nuget Package option we can install package for Microsoft.OData.Client

Now with the simple coding part, we need to reference following dll.

I have created this initConfiguration method to authenticate my call using Azure, GetAuthenticationHeader method is given on OAuthHelper class, we will pass true for web api projects.

Then i have created this fillOrder method to fill the list based on the query i have read from Dynamics ax 365 for purchase orders.

This is the main web api method for reading the purchase orders, i am reading top 50 for now.

After all this simple coding and all the configuration effort, when i click run on the project, i got this cool browser with my results of orders.

This is the result after all the effort,

%d bloggers like this: