Command Reference > management > removeDefaultAccount
Removes the default account from the scope.
pv management removeDefaultAccount --scopeTenantId=<val> --scopeType=<val> --scope=<val>
--scopeTenantId
(string)
The tenant ID.
--scopeType
(string)
The scope for the default account (Subscription OR Tenant).
--scope
(string)
The Id of the scope object, for example if the scope is "Subscription" then it is the ID of that subscription.
None
Default Accounts > Remove
POST https://management.azure.com/providers/Microsoft.Purview/removeDefaultAccount
pv management removeDefaultAccount --scopeTenantId "72f988bf-86f1-41af-91ab-2d7cd011db47" --scopeType "Subscription" --scope "2c334b6c-e556-40ac-a4c0-c0d1d2e08ca0"