CmdID

CmdID / az / az purview / az purview default-account

az purview default-account set

Sets the default account for the scope. Azure CLI extensions reference

1 example 6 options Its page in the Azure CLI extensions reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from the Azure CLI, each command read by CmdID

DefaultAccounts_Set

az purview default-account set --account-name "myDefaultAccount" --resource-group "rg-1" --scope "12345678-1234-1234-12345678abc" --scope-tenant-id "12345678-1234-1234-12345678abc" --scope-type "Tenant" --subscription-id "12345678-1234-1234-12345678aaa"Identify
--account-nameThe name of the account that is set as the default.
--resource-groupName of resource group.
--scopeThe scope object ID.
--scope-tenant-idThe scope tenant in which the default account is set.
--scope-typeThe scope where the default account is set.
--subscription-idThe subscription ID of the account that is set as the default.

Options

6 in the Azure CLI extensions reference
--account-name, --name, -nThe name of the account that is set as the default.
--resource-group, -gName of resource group.
--scope-tenant-idThe scope tenant in which the default account is set.
--scope-typeThe scope where the default account is set.
--scopeThe scope object ID.
--subscription-idThe subscription ID of the account that is set as the default.