azure-cli: Failed to update application: '**', because patch resource group failure [with latest az cli version 2.37.0]

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Related command Installed version

Dependencies: msal 1.18.0b1 azure-mgmt-resource 21.1.0b1 azure-cli 2.37.0

To Reproduce az tag create
–resource-id /subscriptions//resourceGroups//providers/Microsoft.Databricks/workspaces/***
–tags version=*****

Expected behavior it should update the tag for the mentioned resource, In this case it should update the tag version of databricks.

Environment summary Running command on Ubuntu Server

Additional context ERROR: (ProviderError) {“error”:{“code”:“ApplicationUpdateFail”,“message”:“Failed to update application: ‘**’, because patch resource group failure.”,“details”:[{“code”:“NoRegisteredProviderFound”,“message”:"No registered resource provider found for location ‘eastus2’ and API version ‘2019-08-31’ for type ‘userAssignedIdentities’. The supported api-versions are '2015-08-31-PREVIEW, 2018-11-30, 2021-09-30-PREVIEW, 2022

Our Resources are already registered and were working fine with previous az cli version 2.36.0

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 2
  • Comments: 21 (2 by maintainers)

Most upvoted comments

“message”:"No registered resource provider found for location ‘uksouth’ and API version ‘2019-08-31’ for type ‘userAssignedIdentities’.

I got similar error while modifying databric workspace (re-deploying) via TerraformDetails=[{"code":"NoRegisteredProviderFound","message":"No registered resource provider found for location 'uksouth' and API version '2019-08-31' for type 'userAssignedIdentities'. The supported api-versions are '2015-08-31-PREVIEW, 2018-11-30, 2021-09-30-PREVIEW, 2022-01-31-PREVIEW'. The supported locations are 'southafricanorth, southafricawest, uaenorth, australiacentral, australiaeast, australiasoutheast, canadacentral, canadaeast, brazilsouth, centralindia, westindia, jioindiawest, southindia, japanwest, japaneast, eastasia, southeastasia, koreacentral, koreasouth, northeurope, westeurope, ukwest, uksouth, swedencentral, switzerlandnorth, germanywestcentral, centralus, northcentralus, eastus, eastus2, southcentralus, westus, westus2, westus3, westcentralus, francecentral, norwayeast'."}] Microsoft.Databricks and Microsoft.ManagedIdentity both registed prior to deployment , i tried updating terraform version and az cli to latest , 2.36.0 still no joy , Any suggestion are most welcome Thank you

Deployment has now been completed in all regions. I have tested the scenario in uksouth and it seems to work.