Get-AzurePublishSettingsFile : Could not find publish settings. Please run Import-AzurePublishSettingsFile

Posted: June 11, 2013  |  Categories: Azure Uncategorized

I was trying to Install a new Active Directory forest in Windows Azure and got this error at step 1 part 6. when I tried to run Get-AzurePublishSettingsFile from the Windows Azure Powershell.

PS C:\> Get-AzurePublishSettingsFile

Get-AzurePublishSettingsFile : Could not find publish settings. Please run Import-AzurePublishSettingsFile.

At line:1 char:1

+ Get-AzurePublishSettingsFile

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : CloseError: (:) [Get-AzurePublishSettingsFile], FileNotFoundException

    + FullyQualifiedErrorId : Microsoft.WindowsAzure.Management.Subscription.GetAzurePublishSettingsFileCommand

The solution was to ;

  1. Login in to the azure portal
  2. Browse to https://windows.azure.com/download/publishprofile.asp in IE.
  3. Save the settings to C:\

Now running Get-AzurePublishSettingsFile completes without error.

turbo360

Back to Top