Stephane Lapointe

Stephane Lapointe

I am the proud father of two little gems. A beer & wine enthusiasm. For everything else, I work and play with Azure at day, and I am an Azure MVP & Advisor at night.

Montreal, Canada
99 posts
Twitter
PowerShell

Bug: "Your Azure credentials have not been set up or have expired, please run Add-AzureAccount to set up your Azure credentials."

I wanted to automate dev/test environments lately in Azure and I faced the following issue... Azure PowerShell cmdlets introduced in version 0.8.15 AzureProfile support: AzureProfile: New cmdlets to manage in-memory profiles * New-AzureProfile: Create a new in-memory Profile * Select-AzureProfile: Select the profile

PowerShell

PowerShell Azure cmdlets: A parameter cannot be found that matches parameter name 'SubscriptionDataFile'

I recently encoutered an error with some of my PowerShell scripts, in some of them, I was using the -SubscriptionDataFile parameter with the following commands: Get-AzureSubscription -SubscriptionName MySubscriptionName -SubscriptionDataFile C:\temp\subfile.xml Remove-AzureSubscription -SubscriptionName MySubscriptionName -SubscriptionDataFile C:\temp\subfile.xml Select-AzureSubscription -SubscriptionName MySubscriptionName

You've successfully subscribed to Code is a highway!