Quantcast
Channel: Azure Management Portal forum
Viewing all articles
Browse latest Browse all 4189

Value cannot be null. Parameter name: subscriptionId. Although it's not empty

$
0
0

Hello,

I have an issue when i call a powershell script from asp.net website. Although the script runs successfully when i open azure powershell CLI.

The error is:

Import-AzurePublishSettingsFile "MyPublishSettingsFilePath"
CategoryInfo          : CloseError: (:) [Import-AzurePublishSettingsFile], CryptographicException
 FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.Profile.ImportAzurePublishSettingsCommand
 
System.ArgumentNullException: Value cannot be null.
Parameter name: subscriptionId


BTW, I run Get-AzureSubscription command on azure powershell CLI and i could see that there're a SubscriptionName and SubscriptionID.

Any ideas? 

Thanks in advance,

Marwa Ahmad



Viewing all articles
Browse latest Browse all 4189

Trending Articles



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