Explanation/Reference:
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 automatically by downloading the PublishSettings file from Windows Azure and importing it.
To download and import publish settings and subscription information
At the Windows PowerShell command prompt, type the following command, and then press Enter.Get-

AzurePublishSettingsFile
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.
In the Windows Azure PowerShell window, at the command prompt, type the following command, and

then press Enter.Import-AzurePublishSettingsFile <mysettings>.publishsettings Reference: https://msdn.microsoft.com/en-us/library/dn385850%28v=nav.70%29.aspx