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 ;
- Login in to the azure portal
- Browse to https://windows.azure.com/download/publishprofile.asp in IE.
- Save the settings to C:\
Now running Get-AzurePublishSettingsFile completes without error.