Quantcast
Channel: TechNet Blogs
Viewing all articles
Browse latest Browse all 34890

Windows Azure PowerShell Error: Import-AzurePublishSettingsFile : No certificate was found in the certificate store with thumbprint

$
0
0

I have multiple Azure Subscriptions configured with my Microsoft Account (formerly Live ID) Some time back couple of subscriptions were disabled due to excessive usage, which is fine. However, at this time when I tried to manage the same using PowerShell I was getting the following error every time I tried to Import the Publish Settings file using Import-AzurePublishSettingsFile command.

I ran the following command

PS C:\> Import-AzurePublishSettingsFile -PublishSettingsFile 'C:\Final\<SUBSCRIPTION_NAME>.publishsettings'

image

I did not understand what was the problem around the same as every time I use the same method & it works. But never I faced any issue. I checked on to the management portal just to verify if it has created proper certificates. Here is the output.

image

I then decided to search online to see what was the problem. I found a link that explains the same behavior.

http://social.technet.microsoft.com/Forums/en-US/windowsazuremanagement/thread/93750a76-9f87-4b00-ad4d-4908cf55c12d

Interestingly the answer suggested by Neil was appropriate. The subscription data was stored earlier in the following folder C:\Users\aviraj\AppData\Roaming\Windows Azure Powershell

image

And that was the problem as the data included my disabled subscription details as well, which are not available in my newly downloaded Publish Settings File.

 

SOLUTION

Just delete all the files in the folder C:\Users\<USER>\AppData\Roaming\Windows Azure Powershell

And try to re-run the same command Import-PublishSettingsFile & voila problem is solved Smile

image

Enjoy!!


Viewing all articles
Browse latest Browse all 34890

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>