Hello,
First connect without specifying a subscription then list all subscriptions:
Connect-AzAccount
Get-AzSubscription | Select-Object SubscriptionName, SubscriptionId
Once you've identified the correct subscription ID or name from the list, you can switch to that subscription using the Set-AzContext
command
Set-AzContext -SubscriptionId "12121212-1212-1212-1212-1212121212"
if you know part of the subscription you can also use the following:
Get-AzSubscription | Where-Object { $_.SubscriptionName -like "*YourSubscriptionName*" } | Select-Object SubscriptionName, SubscriptionId
I hope i help,
Vasilis