author | ms.service | ms.topic | ms.date | ms.author |
---|---|---|---|---|
Blackmist |
machine-learning |
include |
03/26/2020 |
larryfr |
Tip
After logging in, you see a list of subscriptions associated with your Azure account. The subscription information with isDefault: true
is the currently activated subscription for Azure CLI commands. This subscription must be the same one that contains your Azure Machine Learning workspace. You can find the subscription ID from the Azure portal by visiting the overview page for your workspace. You can also use the SDK to get the subscription ID from the workspace object. For example, Workspace.from_config().subscription_id
.
To select another subscription, use the az account set -s <subscription name or ID>
command and specify the subscription name or ID to switch to. For more information about subscription selection, see Use multiple Azure Subscriptions.