Export (0) Print
Expand All

Manage your Microsoft Dynamics AX 2012 R3 deployment on Azure [AX 2012]

Updated: September 3, 2014

Applies To: Microsoft Dynamics AX 2012 R3

Complete the following procedure to log on to a virtual machine in you AX 2012 R3 environment.

  1. Log on to Lifecycle Services.

  2. Open your project.

  3. Click Cloud-hosted environments.

  4. Select the environment that includes the virtual machine that you want to log on to.

  5. Scroll to the right side of the page.

  6. In the Deployment Status section, click the link for the virtual machine that you want to log on to.

  7. At the bottom of the page, click Open to open the .rdp file for the virtual machine.

  8. When prompted for credentials, enter an appropriate user name and password. See the Cloud-hosted environments page for a list of administrative accounts for this environment.

If you want to change the size of a virtual machine, complete the following steps:

  1. Log on to the Azure management portal.

  2. In the navigation pane on the left, click Virtual Machines. The Virtual machines page is displayed.

  3. Identify the virtual machine that you want to change the size of by viewing the information in the Location column.

  4. Click the name of the virtual machine. The <Machine name> page is displayed.

  5. Click Configure.

  6. From the Virtual machine size list, select a size for the virtual machine.

  7. Click Save at the bottom of the page.

You can print documents to a local printer when using a virtual machine. The following procedure explains how to connect the virtual machine to your local printer.

  1. Log on to Lifecycle Services.

  2. Open your project.

  3. Click Cloud-hosted environments. The Cloud-hosted environments page is displayed.

  4. Select an environment.

  5. Scroll to the right side of the page to view details about the environment.

  6. Click the link for the virtual machine that you want to log on to.

  7. At the bottom of the page, click Save > Save as to save the .rdp file. Then, browse to the location where you want to save the .rdp file.

  8. Go to the location where you saved the .rdp file. Then, right-click the .rdp file and choose Edit.

  9. The Remote Desktop Connection window is displayed. Do the following:

    1. Click the Local Resources tab.

    2. Select the Printers check box.

    3. Click Connect.

  10. When prompted for credentials, enter the appropriate user name and password (found on the Cloud-hosted environments page).

    When you choose to print, documents will be sent to your local printer.

Note Note

The functionality described in this section does not apply to:

  • Standard demo environments

  • Environments that were deployed before August 2014

You can add (or remove) virtual machines to AX 2012 R3 environments that you’ve deployed on Azure. To add virtual machines, complete the following procedure.

  1. Log on to Lifecycle Services.

  2. Open your project.

  3. Click Cloud-hosted environments. The Cloud-hosted environments page is displayed.

  4. Select the environment to which you want to add virtual machines.

  5. Click the Edit (pencil) icon near the top of the page.

  6. Indicate how many virtual machines you want to add to the environment. Then specify the size of those virtual machines.

  7. Click Software License Terms to review the licensing terms and conditions. Then select the check box to indicate that you agree to the terms.

  8. Click Next.

  9. Click Deploy to confirm that you’re ready to deploy the additional virtual machines.

    The deployment may take a few hours to complete. When the deployment is done, the Deployment Status column on the Cloud-hosted environments page will display Deployed. (You may need to refresh your browser to see this.)

    If the deployment fails, you may see an error message right away. If the error occurs later in the deployment process, error details will be displayed in the details pane on the right-side of the page.

If you want to shut down an AX 2012 R3 environment that you’ve deployed on Azure, complete the following procedure. When you shut down an environment, the environment still exists; however, the virtual machines in the environment are not running. You won’t be charged for the virtual machines when they’re not running.

  1. Log on to Lifecycle Services.

  2. Select your project.

  3. Click Cloud-hosted environments.

  4. Select the environment that you want to shut down.

  5. Click the Pause (||) icon near the top of the page.

  6. Click Yes to confirm that you want to shut down the environment.

    When the environment has been shut down, the Deployment Status column will display Stopped. (You may need to refresh your browser to see this.)

    NoteNote

    If you stop an environment from the Cloud-hosted environments page—and then restart the virtual machines in that environment by using the Azure management portal—the details about that environment won’t be available on the Cloud-hosted environments page. For example, you won’t see links to the virtual machines in the environment, or user names and passwords for accounts used in the environment. To resolve this issue, restart the environment by completing the procedure in the following section.

If you want to restart an AX 2012 R3 environment that has been shut down, complete the following procedure.

  1. Log on to Lifecycle Services.

  2. Select your project.

  3. Click Cloud-hosted environments.

  4. Select the environment that you want to restart. (This environment will currently have a status of Stopped in the Deployment Status column.)

  5. Click the Start (triangle) icon near the top of the page.

  6. Click Yes to confirm that you want to restart the environment.

    When the environment has been restarted, the Deployment Status column will display Deployed. (You may need to refresh your browser to see this.)

When you deploy an AX 2012 R3 environment on Azure, a cloud service, virtual network, and an affinity group are created for you in the Azure management portal. To delete the AX 2012 R3 environment, delete these items from the Azure management portal. Then, delete the environment from Lifecycle Services.

NoteNote

If you are deleting the last remaining environment in the Lifecycle Services project, follow the instructions in Identify the storage account that is associated with the project.

  1. Log on to the Azure management portal.

  2. In the navigation pane on the left, click Cloud Services. The Cloud services page is displayed.

  3. Identify the cloud service that is associated with the AX 2012 R3 environment that you deployed by viewing the information in the Location column.

  4. Select the row for the cloud service by clicking in the Service Status field of that row.

    NoteNote

    Be sure that you don’t click in the Name field of that row. If you do, a different page is displayed.

  5. Click Delete at the bottom of the page.

  6. Select the Delete the cloud service and its deployments option.

  1. Log on to the Azure management portal.

  2. In the navigation pane on the left, click Networks. The Networks page is displayed.

  3. Identify the virtual network that is associated with the AX 2012 R3 environment that you deployed by viewing the information in the Location column.

  4. Select the row for the virtual network by clicking in the Status field of that row.

    NoteNote

    Be sure that you don’t click in the Name field of that row. If you do, a different page is displayed.

  5. Click Delete at the bottom of the page.

  1. Log on to the Azure management portal.

  2. In the navigation pane on the left, click Settings. The Settings page is displayed.

  3. Click Affinity Groups.

  4. Identify the affinity group that is associated with the AX 2012 R3 environment that you deployed. Then, select that row.

  5. Click Delete at the bottom of the page.

  1. Log on to Lifecycle Services.

  2. Open your project.

  3. Click Cloud-hosted environments.

  4. Select the AX 2012 R3 environment that you want to delete.

  5. Click the Delete (X) icon near the top of the page.

  6. Click Yes to confirm that you want to delete the environment.

To delete a Lifecycle Services project, including all of the Azure artifacts that were created when you deployed AX 2012 R3 environments from the project, complete the following procedures.

Complete the following procedure to identify the Azure storage account that is associated with the Lifecycle Services project that you want to delete. You won’t delete the storage account in this procedure, but you will identify the GUID of the storage account. This GUID will help you identify other, related Azure artifacts that need to be deleted.

  1. Log on to the Azure management portal.

  2. In the navigation pane on the left, click Virtual Machines. The Virtual machines page is displayed.

  3. Use the information in the Name and Location columns to identify a virtual machine that is associated with an AX 2012 R3 environment in the project.

    There may be multiple virtual machines associated with the project; however, you just need to select one.

    NoteNote

    To make sure that you’ve identified an appropriate virtual machine, compare the name that you see on this page with the name of the virtual machine that is listed on the Cloud-hosted environments page in Lifecycle Services.

  4. Click the arrow next to the name of the virtual machine.

  5. Click Dashboard at the top of the page.

  6. Scroll down to the Disks section of the page.

  7. View the information in the VHD column. A URL may look similar to this:

    https://dyn<GUID>.blob.core.windows.net/dynamicsdeployments...

    Take note of the GUID. This GUID will help you identify other related artifacts.

Delete the AX 2012 R3 environments that exist in the project. For instructions, see How do I delete an environment?

Complete the following procedure to delete image files. These image files were used to create the virtual machines for the AX 2012 R3 environments in the Lifecycle Services project.

NoteNote

If AX 2012 R3 demo environments were the only type of environments deployed from this project, there may be no image files to delete.

  1. Log on to the Azure management portal.

  2. In the navigation pane on the left, click Virtual Machines. The Virtual machines page is displayed.

  3. Click Images at the top of the page.

  4. Sort the list of images by clicking on the Name column.

  5. For every image file whose name starts with the GUID of the storage account you identified earlier, complete the following steps:

    1. Select the row of the image file by clicking in the Status field of that row.

      NoteNote

      Be sure that you don’t click in the Name field of that row. If you do, a different page is displayed.

    2. Click Delete at the bottom of the page.

    3. Select the Delete the associated VHD option.

There are several artifacts that get saved to the storage account associated with each Lifecycle Services project. The largest files are copies of the VHD files that were used to create the virtual machines for the AX 2012 R3 environments in the Lifecycle Services project. (These are copies of the VHD files that you deleted in the previous procedure.)

You can’t delete a storage account if it contains any VHD files. Complete the following procedure to delete VHD files from the storage account.

  1. Log on to the Azure management portal.

  2. In the navigation pane on the left, click Storage. The Storage page is displayed.

  3. Identify the storage account that is associated with your project by viewing the information in the Name column.

  4. Click the arrow next to the name of the storage account.

  5. Click Containers at the top of the page.

  6. Click the arrow next to the deploymentcatalogs container. A list of the files in the container is displayed.

  7. For each .vhd file in the list, complete the following steps:

    1. Select the row of the .vhd file.

    2. Click Delete at the bottom of the page.

    NoteNote

    You don’t need to delete the PowerShell files in the list. They will be automatically deleted when you delete the storage account in the next procedure.

Complete the following procedure to delete the storage account that is associated with your Lifecycle Services project.

  1. Log on to the Azure management portal.

  2. In the navigation pane on the left, click Storage. The Storage page is displayed.

  3. Identify the storage account that is associated with your project by viewing the information in the Name column.

  4. Select the row for the storage account by clicking in the Status field of the row.

  5. Click Delete at the bottom of the page.

Complete the following procedure to delete the management certificate that is associated with the Lifecycle Services project.

  1. Locate the management certificate that you downloaded when you initially connected the project to your Azure subscription. By default, the management certificate is saved to the Downloads folder on your computer and is named LifecycleServicesDeployment.cer.

    If you can’t locate the management certificate on your computer, you can download it again by following these steps:

    1. Log on to Lifecycle Services.

    2. Open your project.

    3. Click Cloud-hosted environments.

    4. Click Microsoft Azure settings. The Microsoft Azure setup panel is displayed on the side of the screen.

    5. Click Next.

    6. Click Download to download the management certificate.

  2. Double-click the management certificate (.cer) file, and then click Open. The Certificate window is displayed.

  3. On the General tab, note the name in the Issued to field. The certificate is issued to:

    DynamicsDeployment_<GUID>

  4. Log on to the Azure management portal.

  5. In the navigation pane on the left, click Settings. The Settings page is displayed.

  6. Click Management Certificates at the top of the page. A list of certificates is displayed.

  7. Identify the management certificate that you want to delete by viewing the information in the Name column. The name on this page will match the name you identified in step 3.

  8. Select the row for that management certificate and then click Delete at the bottom of the page.

Complete the following procedure to delete the Lifecycle Services project.

  1. Log on to Lifecycle Services.

  2. Click All projects. The Project list page is displayed.

    NoteNote

    If you only have one project, that project opens. Click the Back icon in Lifecycle Services to display the Project list page.

  3. Select the row for the project that you want to delete.

  4. Click Remove at the bottom of the page.


Announcements: To see known issues and recent fixes, use Issue search in Microsoft Dynamics Lifecycle Services (LCS).
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft