• Virtual Machine(VM) setup to access Dynamics 365 for Operation instance.

    As the Microsoft connect site is retired, this blog post has been updated to download the resources directly from Life cycle services portal for creating VHD(Virtual hard disk) to setup a VM.

    In this blog, I would like to share my experience of configuring Virtual machine(VM) to access Dynamics 365 for Operation instance.

    I read through lot of Microsoft articles and other blogs to achieve this…!! I hope after reading this blog you all should be able setup Dynamics 365 for operation VM instance.

    Setup Virtual Hard Disk package of Dynamics 365 for Operations

    Below are some of the pre-requisites to be considered,

    Below are the steps to download ‘Dynamics 365 for Operations’ package,

    1. Login to Microsoft Dynamics Lifecycle Services (LCS)
    2. On the right side of the portal, click on ‘Shared asset library’ tile but please note that partner license is required to access the resources in Shared asset library.01-VM Downloal v2.0
    3. In the asset library, click on ‘Downloadable VHD’
    4. All the VHD’s are directly available for download02-VM Downloal v2.0
    5. Each file needs to be downloaded individually by clicking on ‘Name’ hyperlink
    6. Double click on the exe file(Usually part 1)
    7. Accept the Microsoft Software License Terms for a Virtual Hard Disk image
    8. Select the destination folder where the Virtual Hard Disk will be placed and click on Extract03-VM Downloal v2.0.png to be used

    Note: Once the extraction process is complete, the Virtual Hard Disk created in the destination folder.

    Setup Virtual machine using Microsoft Hyper-V Manager

    It is recommended from Microsoft to give 16 gigabytes (GB) of memory and two virtual processors to VM, however with my experience 12 GB memory is fine. But don’t use dynamic memory allocation.

    If you don’t have Microsoft Hyper-V Manager, please follow the instruction below to install

    Installation of Hyper-V in Windows Server 2012 or Windows server 2012 R2 by using PowerShell

    1. Click the Windows Start button and type PowerShell. Right-click PowerShell and click Run as Administrator.
    2. Run the following command where computer_namerepresents a remote computer on which you want to install Hyper-V. To install Hyper-V directly from a console session, do not include -ComputerName  in the command.

    Install-WindowsFeature –Name Hyper-V -ComputerName -IncludeManagementTools -Restart

    • Click here for more information to enable Hyper-V role in Windows Server 2012 or Windows server 2012 R2

    Install the Hyper-V role on Windows 8 or Windows 8.1, Windows 10.0

    1. Click the Windows Start button and type PowerShell. Right-click PowerShell and Run as Administrator.
    2. Run the following command.
    3. When the installation is finished, reboot the computer.

    enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V –All

    • Click here for more information to enable Hyper-V role in Windows Server 2012 or Windows server 2012 R2
    • Once we have the Hyper V-Manager ready, create Virtual switch for the network connection inside the VM

    Create Virtual Switch:

    1. Open Hyper-V Manager.
    2. From the navigation pane of Hyper-V Manager, select the computer running Hyper-V.
    3. From the Actions pane, click on Virtual Switch Manager
    4. Select the External virtual switch, click on ‘Create Virtual Switch’10_LCS_Cloud_Tool_Locally_Environment_Virtual_Switch
    1. Upon clicking the ‘Create Virtual Switch’, Enter name: VIR_SWITCH (For this article)
    2. Select the External network Realtek PCIe GBE Family Controller
    3. Mark ‘Allow management operation system to share this network adapter’
    4. Click on Apply and Ok11_LCS_Cloud_Tool_Locally_Environment_Virtual_Switch_2

    Note: This is important step to access Dynamics 365 for Operations instance.

    Create Virtual Machine:

    1. Open Hyper-V Manager.
    2. From the navigation pane of Hyper-V Manager, select the computer running Hyper-V.
    3. From the Actions pane, click New > Virtual Machine.
    4. Click Next in the New Virtual Machine wizard.
    5. On the Specify Name and Location page, type an appropriate name ‘D365TrainingMC’ (Example for this article), Click on Next12_LCS_Cloud_Tool_Locally_Environment_VM_Wizard_Name
    6. On the Specify Generation page, Choose Generation 1, Click on Next
    7. On the Assign Memory page, specify memory between 12,288 – 16,384 MB
    8. On the Configure Networking page, connect the virtual machine to the switch ‘VIR_SWITCH’ you created when you installed Hyper-V.
    9. On the Connect Virtual Hard Disk, choose Use an existing virtual hard disk and select the VHD location13_LCS_Cloud_Tool_Locally_Environment_VM_Wizard_VHD
    10. On the Summary page, verify your selections and then click Finish.14_LCS_Cloud_Tool_Locally_Environment_VM_Wizard_Summary

    Connecting to Virtual machine using Microsoft Hyper-V Manager

    Before even connecting to virtual machine, make sure virtualization support is turned on in the BIOS settings of your computer or laptop. This setup varies from different computer\laptop brands.

    Just do google search to enable virtualization support in your computer, for example if you are using HP laptop use keywords ‘Enable virtualization in HP laptop’

    Once the virtualization support is turned on in the BIOS settings successfully,

    1. Open Hyper-V manager
    2. Select ‘D365TrainingMC’ VM just created, Right click and Start
    3. Once VM is started and click on connect15_LCS_Cloud_Tool_Locally_Environment_VM_Connect
    4. Go to Action, Click the Ctrl+Alt+Delete button on the toolbar16_LCS_Cloud_Tool_Locally_Environment_VM_Login
    5. Sign in to the VM by using the following credentials:
      • User name: Administrator
      • Password: pass@word1

    16.1_LCS_Cloud_Tool_Locally_Environment_VM_Login

    Access Dynamics 365 instance using base URL of the local application

    Provision the administrator user.

    Before accessing you must authenticate your credentials as administrator for the instance, please follow the steps below,

    1. From the desktop, run the admin user provisioning tool as an administrator (right-click the icon, and then click Run as administrator).
    2. Enter your email address (Make sure it is Office365 ID or Azure AD credentials), and then click Submit.17_LCS_Cloud_Tool_Locally_Environment_VM_Provision_User

    Access the instance using the URL of the local application

    The user authenticated in the above step can access the instance on the computer by navigating to the base URL: https://usnconeboxax1aos.cloud.onebox.dynamics.com.

    1. Open internet explorer
    2. Click on the link above
    3. Enter your credentials authenticated in the step above18_LCS_Cloud_Tool_Locally_Environment_VM_User_credentials
    4. Now it’s all set to access ‘Dynamics 365 for Operation’ instance19_LCS_Cloud_Tool_Locally_Environment_VM_D365_Ready

    References:

    SI NO TOPICS SOURCES
    1 Access Microsoft Dynamics 365 for Operations instances https://ax.help.dynamics.com/en/wiki/access-microsoft-dynamics-ax-7-instances-2/
    2 Installation of Hyper-V and creating virtual machine https://technet.microsoft.com/enus/library/hh846766(v=ws.11).aspx

    Best Regards,

    Namith Hosmane

    Disclaimer:
    This is a personal blog. Any views or opinions represented in this blog are personal and belong solely to the blog owner and do not represent those of people, institutions or organizations that the owner may or may not be associated with in professional or personal capacity, unless explicitly stated. All content provided on this blog is for informational purposes only. This blog makes no representations as to the accuracy or completeness of any information on this site.

  • Life Cycle Services for Business Process Modeling

    In this blog, I would like to discuss how effectively BPM tool in LCS can be used to make the functional consultant job easier and be more productive, efficient and transparent during pre and post implementation engagements with the Customers.

    We have read and learnt about ‘Life Cycle Services’ in various blogs and sessions by Microsoft themselves, let me give brief overview of LCS and talk more about the Business Process Modeler tool in LCS.

    Overview:

    Life cycle services is a cloud based platform to consume, implement and operate AX. LCS provide features which can be used by Project managers, Consultants, Developers, Analysts, Architects, IT Administrator during Pre-sales, upgrades, implementation and post implementations.

    01_lcs_bpm_overview

    Click here to know more about the Life Cycle Services for ‘Microsoft Dynamics 365 for Operations ’.

    Let me talk to more about Business Process Modeler(BPM) tool which can be used by Functional consultants in Life Cycle Services,

    Business Process modeler:02_lcs_bpm_features

    Business Process Libraries:

    Below are the options in Business Process library where we can view and copy, modify business process and export the information.

    Options Description
    Global Libraries Global libraries are those standard business processes from Microsoft as per the American Productivity and Quality Center.

    These business process can viewed and copied to My libraries, further can be modified as per the business needs.

    Corporate Libraries Corporate libraries are those business process which are shared with the Project team members in the organization to view and modify.
    My libraries My libraries is place where the standard business process can be copied from Global libraries to modify and even create new business process node using the task recorder in AX.

    Use Global libraries and My libraries to setup business process model

    Below screenshot shows the Business process Library screen in LCS:

    03_lcs_bpm_library

    To copy standard business process, right click on the process from Global libraries and we can see the copy option in the app bar

    04_lcs_bpm_copy_library

    Once business process is copied it will be available in My Libraries section

    05_lcs_bpm_my_library

    To modify this process as per the business needs, click on the Discrete Manufacturing process in My libraries and select the core business process to be modified

    Add new activity in the flowchart and AX tracks these activities in the business process as Gap.

    In this example I added the new activity of ‘Sending email’ after the test and execution of Product configuration model activity

    06_lcs_bpm_my_library_edit

    Gap analysis and Synchronization with VSTS

    We can then generate the Gap analysis list of the model to analyze the Gap in the process. Right click on the flowchart and Gap icon will available on the app bar

    07_lcs_bpm_gap_listAfter click on the Gap list icon, Gap analysis window will be opened to list all the gaps in the core business process and these gaps can be exported to comma-separated file and then can be imported to Visual Studio Team Foundation Server to create work items.

    For more information to Set up Visual Studio Team Services.

    08_lcs_bpm_gap_list_2

    Flowcharts in Business process modeler

    Business Process Modeler also supports to create and upload flowcharts in LCS,

    Connected flowcharts

    Connected flowcharts can be created and uploaded using the task recorder or can be copied from another library as shown above.

    To create connected flow charts based on the task recorder and upload to business process modeler please follow the steps below,

    • On the Business process modeler screen , go to My libraries section
    • Click on Upload option to import the task recorder into BPM

    09_lcs_bpm_fc

    Update all the necessary information and click on the upload option to select the task recorder file from the folder options.

    10_lcs_bpm_fc_connected

    Unconnected flowcharts

    Unconnected flowcharts are those business process which are captured outside AX in the form of Visio and can be imported to business process modeler. Unconnected flowcharts can be very helpful for describing high-level business processes

    To upload Visio files to BPM,

    Click on the Discrete Manufacturing process in My libraries and select the ‘Develop and implement manufacturing’ of the library node to upload an unconnected flowchart.

    On the Visio tab, click on the upload option

    11_lcs_bpm_fc_unconnectedPublish Business process model

    Once the business process is finalized and approved, model can be published. This will make the library available to all users that are part of your organization, this means any user with Organization account will have access to view the model.

    12_lcs_bpm_fc_unconnected2Once the library is published, it will be available in Corporate libraries section for approval

    13_lcs_bpm_publish

    References:

    SI NO TOPICS SOURCES
    1 Microsoft Dynamics Lifecycle Services User Guide https://ax.help.dynamics.com/en/wiki/lifecycle-services-for-microsoft-dynamics-user-guide-lcs/
    2 Business process modeler experience in LCS https://blogs.msdn.microsoft.com/lcs/2017/02/01/business-process-modeler-bpm-experience-in-lcs/
    3 Business process libraries in Business process modeler https://ax.help.dynamics.com/en/wiki/business-process-libraries-in-business-process-modeler/
    4 Business process modeler (Lifecycle Services, LCS) https://ax.help.dynamics.com/en/wiki/business-process-modeler-lifecycle-services-lcs/
    5 Flowcharts in Business process modeler https://ax.help.dynamics.com/en/wiki/flowcharts-in-business-process-modeler/

    Best Regards,

    Namith Hosmane

    Disclaimer:
    This is a personal blog. Any views or opinions represented in this blog are personal and belong solely to the blog owner and do not represent those of people, institutions or organizations that the owner may or may not be associated with in professional or personal capacity, unless explicitly stated. All content provided on this blog is for informational purposes only. This blog makes no representations as to the accuracy or completeness of any information on this site.