Command Reference > account > updateAccount
Updates an account.
pv account updateAccount --friendlyName=<val>
--friendlyName
(string)
The friendly name of the account.
None
Account Data Plane > Accounts > Update Account Properties
PATCH https://{accountName}.purview.azure.com/account/
Update the friendly name of the account.
pv account updateAccount --friendlyName "Purview Sandbox"
Sample response.
{
"id": "/subscriptions/YOUR_SUBSCRIPTION_ID/resourceGroups/esg/providers/Microsoft.Purview/accounts/esg-26fa7f24-pv",
"identity": {
"principalId": "YOUR_PRINCIPAL_ID",
"tenantId": "YOUR_TENANT_ID",
"type": "SystemAssigned"
},
"location": "westeurope",
"name": "esg-26fa7f24-pv",
"properties": {
"cloudConnectors": {
"awsExternalId": "YOUR_AWS_EXTERNAL_ID"
},
"createdAt": "2022-02-23T09:46:46.2381767Z",
"createdBy": "[email protected]",
"createdByObjectId": "AZURE_AD_OBJECT_ID",
"endpoints": {
"catalog": "https://esg-26fa7f24-pv.purview.azure.com/catalog",
"guardian": "https://esg-26fa7f24-pv.purview.azure.com/guardian",
"scan": "https://esg-26fa7f24-pv.purview.azure.com/scan"
},
"friendlyName": "My Azure Purview Account",
"managedResourceGroupName": "managed-rg-esg-26fa7f24-pv",
"managedResources": {
"eventHubNamespace": "/subscriptions/YOUR_SUBSCRIPTION_ID/resourceGroups/managed-rg-esg-26fa7f24-pv/providers/Microsoft.EventHub/namespaces/YOUR_EVENT_HUB",
"resourceGroup": "/subscriptions/YOUR_SUBSCRIPTION_ID/resourceGroups/managed-rg-esg-26fa7f24-pv",
"storageAccount": "/subscriptions/YOUR_SUBSCRIPTION_ID/resourceGroups/managed-rg-esg-26fa7f24-pv/providers/Microsoft.Storage/storageAccounts/YOUR_STORAGE_ACCOUNT"
},
"privateEndpointConnections": [],
"provisioningState": "Succeeded",
"publicNetworkAccess": "Enabled"
},
"sku": {
"capacity": 1,
"name": "Standard"
},
"systemData": {
"createdAt": "2022-02-23T09:46:46.2381767Z",
"createdBy": "[email protected]",
"createdByType": "User",
"lastModifiedAt": "2022-02-23T09:46:46.2381767Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByType": "User"
},
"tags": {},
"type": "Microsoft.Purview/accounts"
}