---
title: "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}"
method: PATCH
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}"
tags: ["Accounts"]
---

# PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}

`PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}`

Updates the Data Lake Analytics account object specified by the accountName with the contents of the account object.

## Path parameters

- `subscriptionId` string, required
- `resourceGroupName` string, required
- `accountName` string, required

## Query parameters

- `api-version` string, required

## Request body

- UpdateDataLakeAnalyticsAccountParameters — The parameters that can be used to update an existing Data Lake Analytics account.
  - `tags` object — The resource tags.
  - `properties` UpdateDataLakeAnalyticsAccountProperties — The properties to update that are associated with an underlying Data Lake Analytics account.
    - `dataLakeStoreAccounts` UpdateDataLakeStoreWithAccountParameters[] — The list of Data Lake Store accounts associated with this account.
      - `name` string, required — The unique name of the Data Lake Store account to update.
      - `properties` UpdateDataLakeStoreProperties — The Data Lake Store account properties to use when updating a Data Lake Store account.
        - `suffix` string — The optional suffix for the Data Lake Store account.
    - `storageAccounts` UpdateStorageAccountWithAccountParameters[] — The list of Azure Blob storage accounts associated with this account.
      - `name` string, required — The unique name of the Azure Storage account to update.
      - `properties` UpdateStorageAccountProperties — The Azure Storage account properties to use when updating an Azure Storage account.
        - `accessKey` string — The updated access key associated with this Azure Storage account that will be used to connect to it.
        - `suffix` string — The optional suffix for the storage account.
    - `computePolicies` UpdateComputePolicyWithAccountParameters[] — The list of compute policies associated with this account.
      - `name` string, required — The unique name of the compute policy to update.
      - `properties` UpdateComputePolicyProperties — The compute policy properties to use when updating a compute policy.
        - `objectId` string, uuid — The AAD object identifier for the entity to create a policy for.
        - `objectType` 'User' | 'Group' | 'ServicePrincipal' — The type of AAD object the object identifier refers to.
        - `maxDegreeOfParallelismPerJob` integer — The maximum degree of parallelism per job this user can use to submit jobs. This property, the min priority per job property, or both must be passed.
        - `minPriorityPerJob` integer — The minimum priority per job this user can use to submit jobs. This property, the max degree of parallelism per job property, or both must be passed.
    - `firewallRules` UpdateFirewallRuleWithAccountParameters[] — The list of firewall rules associated with this account.
      - `name` string, required — The unique name of the firewall rule to update.
      - `properties` UpdateFirewallRuleProperties — The firewall rule properties to use when updating a firewall rule.
        - `startIpAddress` string — The start IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.
        - `endIpAddress` string — The end IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.
    - `firewallState` 'Enabled' | 'Disabled' — The current state of the IP address firewall for this account. Disabling the firewall does not remove existing rules, they will just be ignored until the firewall is re-enabled.
    - `firewallAllowAzureIps` 'Enabled' | 'Disabled' — The current state of allowing or disallowing IPs originating within Azure through the firewall. If the firewall is disabled, this is not enforced.
    - `newTier` 'Consumption' | 'Commitment_100AUHours' | 'Commitment_500AUHours' | 'Commitment_1000AUHours' | 'Commitment_5000AUHours' | 'Commitment_10000AUHours' | 'Commitment_50000AUHours' | 'Commitment_100000AUHours' | 'Commitment_500000AUHours' — The commitment tier to use for next month.
    - `maxJobCount` integer — The maximum supported jobs running under the account at the same time.
    - `maxDegreeOfParallelism` integer — The maximum supported degree of parallelism for this account.
    - `maxDegreeOfParallelismPerJob` integer — The maximum supported degree of parallelism per job for this account.
    - `minPriorityPerJob` integer — The minimum supported priority per job for this account.
    - `queryStoreRetention` integer — The number of days that job metadata is retained.

## Response `200`

Successfully updated the specified account.

- DataLakeAnalyticsAccount — The resource model definition.
  - `id` string — The resource identifier.
  - `name` string — The resource name.
  - `type` string — The resource type.
  - `location` string — The resource location.
  - `tags` object — The resource tags.

## Other responses

- `201` — Successfully initiated an update of the specified account.
- `202` — Successfully initiated an update of the specified account.
- `default` — Default response

## Changes

- **2026-07-13** (2015-10-01-preview) `4b71b7edf163` — 1 info
  - api operation id `Account_Update` removed and replaced with `Accounts_Update`
- **2021-01-11** (2015-10-01-preview) `0b10c4b30d62` — 1 info
  - endpoint added
- **2017-12-28** (2015-10-01-preview) `7cb2648523a6` — 1 breaking
  - api removed without deprecation

[Change history](https://skmtc.dev/azure/apis/datalake-analytics-microsoft-datalakeanalytics/changes/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.DataLakeAnalytics/accounts/:accountName/patch.md)

---

[API](https://skmtc.dev/azure/apis/datalake-analytics-microsoft-datalakeanalytics.md) · [All operations](https://skmtc.dev/azure/apis/datalake-analytics-microsoft-datalakeanalytics/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/datalake-analytics-microsoft-datalakeanalytics/revisions/a8dccea43c3b/schema)
