Skip to main content

Posts

Showing posts from January, 2023

Adding D365 F&O Extension in Visual Studio for development

 Hi Devs! This is a very common scenario when we comes across reinstallation of VS and Now the D365 extension has been vanished so for that below are list of steps needs to be done to enable extension for development. Prerequisites: Visual Studio should be installed before performing below steps.   Step # 1: Login to LCS (Microsoft Dynamics lifecycle services). In the main page after login there is a option of Shared asset library.   Step # 2: In the list of sub menus , Select Software deployment package and search for latest Service update Download it. Step # 3 : Once you have downloaded it. Unzip the folder and search  for  Microsoft.Dynamics.Framework.Tools.Installer in ServiceUpdate\DevToolsService\Scripts Example: Step # 4 : Follow the wizard and install .vsix file for 2019/2017 or any version to enable D365 extension for F&O. Note: You should have VS installed before  performing  above  steps.

Package Deployment in D365 F&O using CMD

  In this blog, I will show how we can deploy package in Dynamics 365 Operations. Prerequisites: LCS login VM Instance The process can be divided in below steps, Step # 1:  Download package and Unzip the package(Don't forget to unblock it before extracting, Right click and check unblock). Step # 2: Rename the VM name from the file in  DefaultTopologyData.xml (VM name could be found on My PC properties). Step # 3: We need to execute below series of command.  Note :  1) The folder in which the package is placed, it should be non user folder and there should be no space within title of the folder (All folders that are in file path) Example : C/User/Download (Will result in error, User folder error) C/Program files/Package (Will result in error, space within path). Series of CMD commands: You should rename the RunbookFile  1) Check the available list of Runbook C:\DP2>AXUpdateInstaller.exe list 2)  C:\DP2>AXUpdateInstaller.exe generate -runbookid="AFPRunBookId-runbook"