How to: Download and Import Publish Settings and Subscription Information

Before you start using the Windows Azure cmdlets to automate deployments, you must configure connectivity between the provisioning computer and Windows Azure. You can do this manually by configuring the management certificate and subscription details with the Set-AzureSubscription and Select-AzureSubscription cmdlets or automatically by downloading the PublishSettings file from Windows Azure and importing it. This procedure describes how to do this automatically. For information about how to do this manually, see Configure connectivity between Windows Azure and your workstation.

To download and import publish settings and subscription information

  1. Run Windows PowerShell as an administrator as follows:

    1. Choose Start, in the Search box, type Windows Powershell.

    2. Right-click the Windows PowerShell link, and then choose Run as administrator.

  2. At the Windows PowerShell command prompt, type the following command, and then press Enter.

    Get-AzurePublishSettingsFile
    

    A web browser opens at https://windows.azure.com/download/publishprofile.aspx for signing in to Windows Azure.

  3. Sign in to the Windows Azure Management Portal, and then follow the instructions to download your Windows Azure publishing settings. Save the file as a .publishsettings type file to your computer.

    Important

    Note of the file name and location because you will use it when you deploy Microsoft Dynamics NAV.

  4. In the Windows Azure PowerShell window, at the command prompt, type the following command, and then press Enter.

    Import-AzurePublishSettingsFile <mysettings>.publishsettings
    

    Replace <mysettings> with the file name of the publishsettings file that you downloaded in the previous step.

See Also

Tasks

How to: Install the Windows Azure Cmdlets Module

Concepts

Preparing for Deploying Microsoft Dynamics NAV on Windows Azure
Deploying and Managing Microsoft Dynamics NAV on Windows Azure