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
Run Windows PowerShell as an administrator as follows:
Choose Start, in the Search box, type Windows Powershell.
Right-click the Windows PowerShell link, and then choose Run as administrator.
At the Windows PowerShell command prompt, type the following command, and then press Enter.
A web browser opens at https://windows.azure.com/download/publishprofile.aspx for signing in to Windows Azure.
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.
Note of the file name and location because you will use it when you deploy Microsoft Dynamics NAV.
In the Windows Azure PowerShell window, at the command prompt, type the following command, and then press Enter.
<mysettings>with the file name of the publishsettings file that you downloaded in the previous step.