-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Open
Labels
Auto-ResolveAuto resolve by botAuto resolve by botFunctionsaz functionappaz functionappPossible-SolutionService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.Similar-IssuebugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.
Description
Describe the bug
The az functionapp commands force the use of the 2024-11-01 API version. This version is not available in the AzureUSGovernment cloud which causes the command to fail.
Related command
az functionapp show -g resourcegroupname -n functionname
Errors
azure.core.exceptions.HttpResponseError: (NoRegisteredProviderFound) No registered resource provider found for location 'usgovvirginia' and API version '2024-11-01' for type 'sites'. The supported api-versions are '2024-04-01, 2023-12-01, 2023-01-01, 2022-09-01, 2022-03-01, 2021-03-01, 2021-02-01, 2021-01-15, 2021-01-01, 2020-12-01, 2020-10-01, 2020-09-01, 2020-06-01, 2019-08-01, 2018-11-01, 2018-02-01, 2016-08-01, 2016-03-01, 2015-08-01, 2015-07-01, 2015-06-01, 2015-05-01, 2015-04-01, 2015-02-01, 2014-11-01, 2014-06-01, 2014-04-01, 2014-04-01-preview'. The supported locations are 'usdodeast, usgovvirginia, usdodcentral, usgovarizona, usgovtexas'.
Code: NoRegisteredProviderFound
Message: No registered resource provider found for location 'usgovvirginia' and API version '2024-11-01' for type 'sites'. The supported api-versions are '2024-04-01, 2023-12-01, 2023-01-01, 2022-09-01, 2022-03-01, 2021-03-01, 2021-02-01, 2021-01-15, 2021-01-01, 2020-12-01, 2020-10-01, 2020-09-01, 2020-06-01, 2019-08-01, 2018-11-01, 2018-02-01, 2016-08-01, 2016-03-01, 2015-08-01, 2015-07-01, 2015-06-01, 2015-05-01, 2015-04-01, 2015-02-01, 2014-11-01, 2014-06-01, 2014-04-01, 2014-04-01-preview'. The supported locations are 'usdodeast, usgovvirginia, usdodcentral, usgovarizona, usgovtexas'.
cli.azure.cli.core.azclierror: (NoRegisteredProviderFound) No registered resource provider found for location 'usgovvirginia' and API version '2024-11-01' for type 'sites'. The supported api-versions are '2024-04-01, 2023-12-01, 2023-01-01, 2022-09-01, 2022-03-01, 2021-03-01, 2021-02-01, 2021-01-15, 2021-01-01, 2020-12-01, 2020-10-01, 2020-09-01, 2020-06-01, 2019-08-01, 2018-11-01, 2018-02-01, 2016-08-01, 2016-03-01, 2015-08-01, 2015-07-01, 2015-06-01, 2015-05-01, 2015-04-01, 2015-02-01, 2014-11-01, 2014-06-01, 2014-04-01, 2014-04-01-preview'. The supported locations are 'usdodeast, usgovvirginia, usdodcentral, usgovarizona, usgovtexas'.
Code: NoRegisteredProviderFound
Message: No registered resource provider found for location 'usgovvirginia' and API version '2024-11-01' for type 'sites'. The supported api-versions are '2024-04-01, 2023-12-01, 2023-01-01, 2022-09-01, 2022-03-01, 2021-03-01, 2021-02-01, 2021-01-15, 2021-01-01, 2020-12-01, 2020-10-01, 2020-09-01, 2020-06-01, 2019-08-01, 2018-11-01, 2018-02-01, 2016-08-01, 2016-03-01, 2015-08-01, 2015-07-01, 2015-06-01, 2015-05-01, 2015-04-01, 2015-02-01, 2014-11-01, 2014-06-01, 2014-04-01, 2014-04-01-preview'. The supported locations are 'usdodeast, usgovvirginia, usdodcentral, usgovarizona, usgovtexas'.
az_command_data_logger: (NoRegisteredProviderFound) No registered resource provider found for location 'usgovvirginia' and API version '2024-11-01' for type 'sites'. The supported api-versions are '2024-04-01, 2023-12-01, 2023-01-01, 2022-09-01, 2022-03-01, 2021-03-01, 2021-02-01, 2021-01-15, 2021-01-01, 2020-12-01, 2020-10-01, 2020-09-01, 2020-06-01, 2019-08-01, 2018-11-01, 2018-02-01, 2016-08-01, 2016-03-01, 2015-08-01, 2015-07-01, 2015-06-01, 2015-05-01, 2015-04-01, 2015-02-01, 2014-11-01, 2014-06-01, 2014-04-01, 2014-04-01-preview'. The supported locations are 'usdodeast, usgovvirginia, usdodcentral, usgovarizona, usgovtexas'.
Code: NoRegisteredProviderFound
Message: No registered resource provider found for location 'usgovvirginia' and API version '2024-11-01' for type 'sites'. The supported api-versions are '2024-04-01, 2023-12-01, 2023-01-01, 2022-09-01, 2022-03-01, 2021-03-01, 2021-02-01, 2021-01-15, 2021-01-01, 2020-12-01, 2020-10-01, 2020-09-01, 2020-06-01, 2019-08-01, 2018-11-01, 2018-02-01, 2016-08-01, 2016-03-01, 2015-08-01, 2015-07-01, 2015-06-01, 2015-05-01, 2015-04-01, 2015-02-01, 2014-11-01, 2014-06-01, 2014-04-01, 2014-04-01-preview'. The supported locations are 'usdodeast, usgovvirginia, usdodcentral, usgovarizona, usgovtexas'.
Issue script & Debug output
az functionapp show -g resourcegroupname -n functionname --debug
az functionapp show -g <redacted resource group name> -n <redacted function app name> --debug
cli.knack.cli: Command arguments: ['functionapp', 'show', '-g', '<redacted resource group name>', '-n', '<redacted function app name>', '--debug']
cli.knack.cli: __init__ debug log:
Enable color in terminal.
cli.knack.cli: Event: Cli.PreExecute []
cli.knack.cli: Event: CommandParser.OnGlobalArgumentsCreate [<function CLILogging.on_global_arguments at 0x00000276B76BF2E0>, <function OutputProducer.on_global_arguments at 0x00000276B7A5C180>, <function CLIQuery.on_global_arguments at 0x00000276B7A85580>]
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableCreate []
cli.azure.cli.core: Modules found from index for 'functionapp': ['azure.cli.command_modules.appservice', 'azure.cli.command_modules.serviceconnector']
cli.azure.cli.core: Loading command modules:
cli.azure.cli.core: Name Load Time Groups Commands
cli.azure.cli.core: appservice 0.832 80 278
cli.azure.cli.core: serviceconnector 0.022 20 331
cli.azure.cli.core: Total (2) 0.854 100 609
cli.azure.cli.core: Loaded 98 groups, 609 commands.
cli.azure.cli.core: Found a match in the command table.
cli.azure.cli.core: Raw command : functionapp show
cli.azure.cli.core: Command table: functionapp show
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableTruncate [<function AzCliLogging.init_command_file_logging at 0x00000276B9E171A0>]
cli.azure.cli.core.azlogging: metadata file logging enabled - writing logs to 'C:\Users\<redacted user name>\.configazcli\commands\2025-08-13.13-30-17.functionapp_show.22752.log'.
az_command_data_logger: command args: functionapp show -g {} -n {} --debug
cli.knack.cli: Event: CommandInvoker.OnPreArgumentLoad [<function register_global_subscription_argument.<locals>.add_subscription_parameter at 0x00000276B9E3FA60>]
cli.knack.cli: Event: CommandInvoker.OnPostArgumentLoad []
cli.knack.cli: Event: CommandInvoker.OnPostCommandTableCreate [<function register_ids_argument.<locals>.add_ids_arguments at 0x00000276B9E762A0>, <function register_cache_arguments.<locals>.add_cache_arguments at 0x00000276B9E763E0>, <function register_upcoming_breaking_change_info.<locals>.update_breaking_change_info at 0x00000276B9E76480>]
cli.knack.cli: Event: CommandInvoker.OnCommandTableLoaded []
cli.knack.cli: Event: CommandInvoker.OnPreParseArgs []
cli.knack.cli: Event: CommandInvoker.OnPostParseArgs [<function OutputProducer.handle_output_argument at 0x00000276B7A5C220>, <function CLIQuery.handle_query_parameter at 0x00000276B7A85620>, <function register_ids_argument.<locals>.parse_ids_arguments at 0x00000276B9E76340>]
cli.azure.cli.core.util: Found subscription ID <redacted subscription id> in the URL https://management.usgovcloudapi.net//subscriptions/<redacted subscription id>/resourceGroups/<redacted resource group name>/providers/Microsoft.Web/sites/<redacted function app name>?api-version=2023-12-01
cli.azure.cli.core.util: Retrieving token for resource https://management.core.usgovcloudapi.net/, subscription <redacted subscription id>
cli.azure.cli.core.auth.persistence: build_persistence: location='C:\\Users\\<redacted user name>\\.configazcli\\service_principal_entries.bin', encrypt=True
cli.azure.cli.core.auth.persistence: build_persistence: location='C:\\Users\\<redacted user name>\\.configazcli\\msal_token_cache.bin', encrypt=True
cli.azure.cli.core.auth.binary_cache: load: C:\Users\<redacted user name>\.configazcli\msal_http_cache.bin
urllib3.util.retry: Converted retries value: 1 -> Retry(total=1, connect=None, read=None, redirect=None, status=None)
msal.authority: Initializing with Entra authority: https://login.microsoftonline.us/<redacted tenant id>
msal.authority: openid_config("https://login.microsoftonline.us/<redacted tenant id>/v2.0/.well-known/openid-configuration") = {'token_endpoint': 'https://login.microsoftonline.us/<redacted tenant id>/oauth2/v2.0/token', 'token_endpoint_auth_methods_supported': ['client_secret_post', 'private_key_jwt', 'client_secret_basic'], 'jwks_uri': 'https://login.microsoftonline.us/<redacted tenant id>/discovery/v2.0/keys', 'response_modes_supported': ['query', 'fragment', 'form_post'], 'subject_types_supported': ['pairwise'], 'id_token_signing_alg_values_supported': ['RS256'], 'response_types_supported': ['code', 'id_token', 'code id_token', 'id_token token'], 'scopes_supported': ['openid', 'profile', 'email', 'offline_access'], 'issuer': 'https://login.microsoftonline.us/<redacted tenant id>/v2.0', 'request_uri_parameter_supported': False, 'userinfo_endpoint': 'https://dod-graph.microsoft.us/oidc/userinfo', 'authorization_endpoint': 'https://login.microsoftonline.us/<redacted tenant id>/oauth2/v2.0/authorize', 'device_authorization_endpoint': 'https://login.microsoftonline.us/<redacted tenant id>/oauth2/v2.0/devicecode', 'http_logout_supported': True, 'frontchannel_logout_supported': True, 'end_session_endpoint': 'https://login.microsoftonline.us/<redacted tenant id>/oauth2/v2.0/logout', 'claims_supported': ['sub', 'iss', 'cloud_instance_name', 'cloud_instance_host_name', 'cloud_graph_host_name', 'msgraph_host', 'aud', 'exp', 'iat', 'auth_time', 'acr', 'nonce', 'preferred_username', 'name', 'tid', 'ver', 'at_hash', 'c_hash', 'email'], 'kerberos_endpoint': 'https://login.microsoftonline.us/<redacted tenant id>/kerberos', 'tenant_region_scope': 'USGov', 'tenant_region_sub_scope': 'DOD', 'cloud_instance_name': 'microsoftonline.us', 'cloud_graph_host_name': 'graph.microsoftazure.us', 'msgraph_host': 'dod-graph.microsoft.us', 'rbac_url': 'https://pasff.usgovcloudapi.net'}
msal.application: Broker enabled? None
msal.application: Region to be used: None
cli.azure.cli.core.auth.msal_credentials: ServicePrincipalCredential.acquire_token: scopes=['https://management.core.usgovcloudapi.net//.default'], kwargs={}
msal.application: Cache hit an AT
msal.telemetry: Generate or reuse correlation_id: e22e2c04-8747-4745-bfa9-9a51780865a7
cli.azure.cli.core.util: Request URL: 'https://management.usgovcloudapi.net//subscriptions/<redacted subscription id>/resourceGroups/<redacted resource group name>/providers/Microsoft.Web/sites/<redacted function app name>?api-version=2023-12-01'
cli.azure.cli.core.util: Request method: 'GET'
cli.azure.cli.core.util: Request headers:
cli.azure.cli.core.util: 'User-Agent': 'python/3.12.10 (Windows-2025Server-10.0.26100-SP0) AZURECLI/2.76.0 (MSI)'
cli.azure.cli.core.util: 'Accept-Encoding': 'gzip, deflate'
cli.azure.cli.core.util: 'Accept': '*/*'
cli.azure.cli.core.util: 'Connection': 'keep-alive'
cli.azure.cli.core.util: 'x-ms-client-request-id': '2ec84fb1-0dd4-48d9-b95c-f665a5e35ad6'
cli.azure.cli.core.util: 'CommandName': 'functionapp show'
cli.azure.cli.core.util: 'ParameterSetName': '-g -n --debug'
cli.azure.cli.core.util: 'Authorization': 'Bearer eyJ0eXAiOiJKV...'
cli.azure.cli.core.util: Request body:
cli.azure.cli.core.util: None
urllib3.connectionpool: Starting new HTTPS connection (1): management.usgovcloudapi.net:443
urllib3.connectionpool: https://management.usgovcloudapi.net:443 "GET /subscriptions/<redacted subscription id>/resourceGroups/<redacted resource group name>/providers/Microsoft.Web/sites/<redacted function app name>?api-version=2023-12-01 HTTP/1.1" 200 10454
cli.azure.cli.core.util: Response status: 200
cli.azure.cli.core.util: Response headers:
cli.azure.cli.core.util: 'Cache-Control': 'no-cache'
cli.azure.cli.core.util: 'Pragma': 'no-cache'
cli.azure.cli.core.util: 'Content-Length': '10454'
cli.azure.cli.core.util: 'Content-Type': 'application/json'
cli.azure.cli.core.util: 'Expires': '-1'
cli.azure.cli.core.util: 'ETag': '"1DC0C565807CFE0"'
cli.azure.cli.core.util: 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
cli.azure.cli.core.util: 'x-ms-request-id': '9629fe35-b137-4cd4-88f3-22cd65d17bad'
cli.azure.cli.core.util: 'Server': 'Microsoft-IIS/10.0'
cli.azure.cli.core.util: 'X-AspNet-Version': '4.0.30319'
cli.azure.cli.core.util: 'X-Powered-By': 'ASP.NET'
cli.azure.cli.core.util: 'x-ms-ratelimit-remaining-subscription-reads': '249'
cli.azure.cli.core.util: 'x-ms-ratelimit-remaining-subscription-global-reads': '3749'
cli.azure.cli.core.util: 'x-ms-correlation-request-id': 'ed1e7473-2f5e-44a7-b776-287d8a122ce4'
cli.azure.cli.core.util: 'x-ms-routing-request-id': 'USDODEAST:20250813T133018Z:ed1e7473-2f5e-44a7-b776-287d8a122ce4'
cli.azure.cli.core.util: 'X-Content-Type-Options': 'nosniff'
cli.azure.cli.core.util: 'Date': 'Wed, 13 Aug 2025 13:30:17 GMT'
cli.azure.cli.core.util: Response content:
cli.azure.cli.core.util: {"id":"/subscriptions/<redacted subscription id>/resourceGroups/<redacted resource group name>/providers/Microsoft.Web/sites/<redacted function app name>","name":"<redacted function app name>","type":"Microsoft.Web/sites","kind":"functionapp","location":"USGov Virginia","tags":{<redacted>},"properties":{"name":"<redacted function app name>","state":"Running","hostNames":["<redacted function app name>.azurewebsites.us"],"webSpace":"<redacted resource group name>-USGovVirginiawebspace","selfLink":"https://<redacted self name>.api.azurewebsites.usgovcloudapi.net:454/subscriptions/<redacted subscription id>/webspaces/<redacted resource group name>-USGovVirginiawebspace/sites/<redacted function app name>","repositorySiteName":"<redacted function app name>","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"siteScopedCertificatesEnabled":false,"afdEnabled":false,"enabledHostNames":["<redacted function app name>.azurewebsites.us","<redacted function app name>.scm.azurewebsites.us"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""},{"name":"WindowsFxVersion","value":null}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"<redacted function app name>.azurewebsites.us","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"virtualIPv6":null,"thumbprint":null,"certificateResourceId":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"<redacted function app name>.scm.azurewebsites.us","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"virtualIPv6":null,"thumbprint":null,"certificateResourceId":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Repository"}],"computeMode":null,"serverFarm":null,"serverFarmId":"/subscriptions/<redacted subscription id>/resourceGroups/<redacted resource group name>/providers/Microsoft.Web/serverfarms/<redacted app service plan name>","reserved":false,"isXenon":false,"hyperV":false,"sandboxType":null,"lastModifiedTimeUtc":"2025-08-13T13:29:49.79","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","dnsConfiguration":{},"vnetRouteAllEnabled":true,"containerAllocationSubnet":null,"useContainerLocalhostBindings":null,"vnetImagePullEnabled":false,"vnetContentShareEnabled":false,"outboundVnetRouting":null,"siteConfig":{"numberOfWorkers":1,"defaultDocuments":null,"netFrameworkVersion":null,"phpVersion":null,"pythonVersion":null,"nodeVersion":null,"powerShellVersion":null,"linuxFxVersion":"","windowsFxVersion":null,"sandboxType":null,"windowsConfiguredStacks":null,"requestTracingEnabled":null,"remoteDebuggingEnabled":null,"remoteDebuggingVersion":null,"httpLoggingEnabled":null,"azureMonitorLogCategories":null,"acrUseManagedIdentityCreds":false,"acrUserManagedIdentityID":null,"logsDirectorySizeLimit":null,"detailedErrorLoggingEnabled":null,"publishingUsername":null,"publishingPassword":null,"appSettings":null,"metadata":null,"connectionStrings":null,"machineKey":null,"handlerMappings":null,"documentRoot":null,"scmType":null,"use32BitWorkerProcess":null,"webSocketsEnabled":null,"alwaysOn":true,"javaVersion":null,"javaContainer":null,"javaContainerVersion":null,"appCommandLine":null,"managedPipelineMode":null,"virtualApplications":null,"winAuthAdminState":null,"winAuthTenantState":null,"customAppPoolIdentityAdminState":null,"customAppPoolIdentityTenantState":null,"runtimeADUser":null,"runtimeADUserPassword":null,"loadBalancing":null,"routingRules":null,"experiments":null,"limits":null,"autoHealEnabled":null,"autoHealRules":null,"tracingOptions":null,"vnetName":null,"vnetRouteAllEnabled":null,"vnetPrivatePortsCount":null,"publicNetworkAccess":null,"cors":null,"push":null,"apiDefinition":null,"apiManagementConfig":null,"autoSwapSlotName":null,"localMySqlEnabled":null,"managedServiceIdentityId":null,"xManagedServiceIdentityId":null,"keyVaultReferenceIdentity":null,"ipSecurityRestrictions":null,"ipSecurityRestrictionsDefaultAction":null,"scmIpSecurityRestrictions":null,"scmIpSecurityRestrictionsDefaultAction":null,"scmIpSecurityRestrictionsUseMain":null,"http20Enabled":true,"minTlsVersion":null,"minTlsCipherSuite":null,"scmMinTlsCipherSuite":null,"supportedTlsCipherSuites":null,"scmSupportedTlsCipherSuites":null,"scmMinTlsVersion":null,"ftpsState":null,"preWarmedInstanceCount":null,"functionAppScaleLimit":0,"elasticWebAppScaleLimit":null,"healthCheckPath":null,"fileChangeAuditEnabled":null,"functionsRuntimeScaleMonitoringEnabled":null,"websiteTimeZone":null,"minimumElasticInstanceCount":1,"azureStorageAccounts":null,"http20ProxyFlag":null,"sitePort":null,"antivirusScanEnabled":null,"storageType":null,"sitePrivateLinkHostEnabled":null,"clusteringEnabled":false},"functionAppConfig":null,"daprConfig":null,"deploymentId":"<redacted function app name>","slotName":null,"trafficManagerHostNames":null,"sku":"PremiumV3","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":false,"clientAffinityProxyEnabled":false,"useQueryStringAffinity":false,"blockPathTraversal":false,"clientCertEnabled":false,"clientCertMode":"Required","clientCertExclusionPaths":null,"clientCertExclusionEndPoints":null,"hostNamesDisabled":false,"ipMode":"IPv4","vnetBackupRestoreEnabled":false,"domainVerificationIdentifiers":null,"customDomainVerificationId":"E8AC7B520AE85ED1B3F5A75326A24D0180A39761F43B09498CE0DABCFA9B4397","kind":"functionapp","managedEnvironmentId":null,"workloadProfileName":null,"resourceConfig":null,"inboundIpAddress":"<redacted inbound IP address>","possibleInboundIpAddresses":"<redacted inbound IP address>","inboundIpv6Address":"<redacted inbound IPv6 address>","possibleInboundIpv6Addresses":"<redacted inbound IPv6 address>","ftpUsername":"<redacted function app name>\\$<redacted function app name>","ftpsHostName":"ftps://<redacted self name>.ftp.azurewebsites.usgovcloudapi.net/site/wwwroot","outboundIpAddresses":"<redacted>","possibleOutboundIpAddresses":"<redacted>","outboundIpv6Addresses":"<redacted>","possibleOutboundIpv6Addresses":"<redacted>","containerSize":1536,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"<redacted self name>","cloningInfo":null,"hostingEnvironmentId":null,"tags":{<redacted>},"resourceGroup":"<redacted resource group name>","defaultHostName":"<redacted function app name>.azurewebsites.us","slotSwapStatus":null,"httpsOnly":true,"endToEndEncryptionEnabled":false,"functionsRuntimeAdminIsolationEnabled":false,"redundancyMode":"None","inProgressOperationId":null,"geoDistributions":null,"privateEndpointConnections":[{"id":"/subscriptions/<redacted subscription id>/resourceGroups/<redacted resource group name>/providers/Microsoft.Web/sites/<redacted function app name>/privateEndpointConnections/<redacted private endpoint name>","name":"<redacted private endpoint name>","type":"Microsoft.Web/sites/privateEndpointConnections","location":"USGov Virginia","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/<redacted subscription id>/resourceGroups/<redacted resource group name>/providers/Microsoft.Network/privateEndpoints/<redacted private endpoint name>"},"groupIds":null,"privateLinkServiceConnectionState":{"status":"Approved","description":"","actionsRequired":"None"},"ipAddresses":["10.3.65.77"]}}],"publicNetworkAccess":"Enabled","buildVersion":null,"targetBuildVersion":null,"migrationState":null,"eligibleLogCategories":"FunctionAppLogs,AppServiceAuthenticationLogs","inFlightFeatures":[],"storageAccountRequired":false,"virtualNetworkSubnetId":"/subscriptions/<redacted subscription id>/resourceGroups/<redacted resource group name>/providers/Microsoft.Network/virtualNetworks/<redacted vnet name>/subnets/<redacted subnet name>","keyVaultReferenceIdentity":"SystemAssigned","autoGeneratedDomainNameLabelScope":null,"privateLinkIdentifiers":"704646489","sshEnabled":null},"identity":{"type":"SystemAssigned","tenantId":"<redacted tenant id>","principalId":"<redacted principal id>"}}
cli.azure.cli.core.commands.client_factory: Getting management service client client_type=WebSiteManagementClient
urllib3.util.retry: Converted retries value: 1 -> Retry(total=1, connect=None, read=None, redirect=None, status=None)
msal.authority: Initializing with Entra authority: https://login.microsoftonline.us/<redacted tenant id>
msal.authority: openid_config("https://login.microsoftonline.us/<redacted tenant id>/v2.0/.well-known/openid-configuration") = {'token_endpoint': 'https://login.microsoftonline.us/<redacted tenant id>/oauth2/v2.0/token', 'token_endpoint_auth_methods_supported': ['client_secret_post', 'private_key_jwt', 'client_secret_basic'], 'jwks_uri': 'https://login.microsoftonline.us/<redacted tenant id>/discovery/v2.0/keys', 'response_modes_supported': ['query', 'fragment', 'form_post'], 'subject_types_supported': ['pairwise'], 'id_token_signing_alg_values_supported': ['RS256'], 'response_types_supported': ['code', 'id_token', 'code id_token', 'id_token token'], 'scopes_supported': ['openid', 'profile', 'email', 'offline_access'], 'issuer': 'https://login.microsoftonline.us/<redacted tenant id>/v2.0', 'request_uri_parameter_supported': False, 'userinfo_endpoint': 'https://dod-graph.microsoft.us/oidc/userinfo', 'authorization_endpoint': 'https://login.microsoftonline.us/<redacted tenant id>/oauth2/v2.0/authorize', 'device_authorization_endpoint': 'https://login.microsoftonline.us/<redacted tenant id>/oauth2/v2.0/devicecode', 'http_logout_supported': True, 'frontchannel_logout_supported': True, 'end_session_endpoint': 'https://login.microsoftonline.us/<redacted tenant id>/oauth2/v2.0/logout', 'claims_supported': ['sub', 'iss', 'cloud_instance_name', 'cloud_instance_host_name', 'cloud_graph_host_name', 'msgraph_host', 'aud', 'exp', 'iat', 'auth_time', 'acr', 'nonce', 'preferred_username', 'name', 'tid', 'ver', 'at_hash', 'c_hash', 'email'], 'kerberos_endpoint': 'https://login.microsoftonline.us/<redacted tenant id>/kerberos', 'tenant_region_scope': 'USGov', 'tenant_region_sub_scope': 'DOD', 'cloud_instance_name': 'microsoftonline.us', 'cloud_graph_host_name': 'graph.microsoftazure.us', 'msgraph_host': 'dod-graph.microsoft.us', 'rbac_url': 'https://pasff.usgovcloudapi.net'}
msal.application: Broker enabled? None
msal.application: Region to be used: None
cli.azure.cli.core.auth.credential_adaptor: CredentialAdaptor.get_token_info: scopes=('https://management.core.usgovcloudapi.net//.default',), options={}
cli.azure.cli.core.auth.msal_credentials: ServicePrincipalCredential.acquire_token: scopes=['https://management.core.usgovcloudapi.net//.default'], kwargs={}
msal.application: Cache hit an AT
msal.telemetry: Generate or reuse correlation_id: 7bac6e08-78f8-4b0f-9c92-65728382d803
cli.azure.cli.core.sdk.policies: Request URL: 'https://management.usgovcloudapi.net/subscriptions/<redacted subscription id>/resourceGroups/<redacted resource group name>/providers/Microsoft.Web/sites/<redacted function app name>?api-version=2024-11-01'
cli.azure.cli.core.sdk.policies: Request method: 'GET'
cli.azure.cli.core.sdk.policies: Request headers:
cli.azure.cli.core.sdk.policies: 'Accept': 'application/json'
cli.azure.cli.core.sdk.policies: 'x-ms-client-request-id': 'a61d36e5-7849-11f0-bdd4-001dd80c1970'
cli.azure.cli.core.sdk.policies: 'CommandName': 'functionapp show'
cli.azure.cli.core.sdk.policies: 'ParameterSetName': '-g -n --debug'
cli.azure.cli.core.sdk.policies: 'User-Agent': 'AZURECLI/2.76.0 (MSI) azsdk-python-core/1.35.0 Python/3.12.10 (Windows-2025Server-10.0.26100-SP0)'
cli.azure.cli.core.sdk.policies: 'Authorization': '*****'
cli.azure.cli.core.sdk.policies: Request body:
cli.azure.cli.core.sdk.policies: This request has no body
urllib3.connectionpool: Starting new HTTPS connection (1): management.usgovcloudapi.net:443
urllib3.connectionpool: https://management.usgovcloudapi.net:443 "GET /subscriptions/<redacted subscription id>/resourceGroups/<redacted resource group name>/providers/Microsoft.Web/sites/<redacted function app name>?api-version=2024-11-01 HTTP/1.1" 400 645
cli.azure.cli.core.sdk.policies: Response status: 400
cli.azure.cli.core.sdk.policies: Response headers:
cli.azure.cli.core.sdk.policies: 'Cache-Control': 'no-cache'
cli.azure.cli.core.sdk.policies: 'Pragma': 'no-cache'
cli.azure.cli.core.sdk.policies: 'Content-Type': 'application/json; charset=utf-8'
cli.azure.cli.core.sdk.policies: 'Expires': '-1'
cli.azure.cli.core.sdk.policies: 'x-ms-failure-cause': 'gateway'
cli.azure.cli.core.sdk.policies: 'x-ms-request-id': '848c305b-bf44-4409-abb5-fdc2018acc52'
cli.azure.cli.core.sdk.policies: 'x-ms-correlation-request-id': '848c305b-bf44-4409-abb5-fdc2018acc52'
cli.azure.cli.core.sdk.policies: 'x-ms-routing-request-id': 'USDODEAST:20250813T133018Z:848c305b-bf44-4409-abb5-fdc2018acc52'
cli.azure.cli.core.sdk.policies: 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
cli.azure.cli.core.sdk.policies: 'X-Content-Type-Options': 'nosniff'
cli.azure.cli.core.sdk.policies: 'Date': 'Wed, 13 Aug 2025 13:30:17 GMT'
cli.azure.cli.core.sdk.policies: 'Content-Length': '645'
cli.azure.cli.core.sdk.policies: Response content:
cli.azure.cli.core.sdk.policies: {"error":{"code":"NoRegisteredProviderFound","message":"No registered resource provider found for location 'usgovvirginia' and API version '2024-11-01' for type 'sites'. The supported api-versions are '2024-04-01, 2023-12-01, 2023-01-01, 2022-09-01, 2022-03-01, 2021-03-01, 2021-02-01, 2021-01-15, 2021-01-01, 2020-12-01, 2020-10-01, 2020-09-01, 2020-06-01, 2019-08-01, 2018-11-01, 2018-02-01, 2016-08-01, 2016-03-01, 2015-08-01, 2015-07-01, 2015-06-01, 2015-05-01, 2015-04-01, 2015-02-01, 2014-11-01, 2014-06-01, 2014-04-01, 2014-04-01-preview'. The supported locations are 'usdodeast, usgovvirginia, usdodcentral, usgovarizona, usgovtexas'."}}
cli.azure.cli.core.azclierror: Traceback (most recent call last):
File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 233, in invoke
File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 666, in execute
File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 734, in _run_jobs_serially
File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 703, in _run_job
File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 336, in __call__
File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/command_operation.py", line 362, in handler
File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/arm.py", line 432, in show_exception_handler
File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/command_operation.py", line 360, in handler
File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/appservice/custom.py", line 1563, in show_functionapp
File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/appservice/_appservice_utils.py", line 20, in _generic_site_operation
File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/core/tracing/decorator.py", line 119, in wrapper_use_tracer
File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/mgmt/web/v2024_11_01/operations/_web_apps_operations.py", line 17157, in get
azure.core.exceptions.HttpResponseError: (NoRegisteredProviderFound) No registered resource provider found for location 'usgovvirginia' and API version '2024-11-01' for type 'sites'. The supported api-versions are '2024-04-01, 2023-12-01, 2023-01-01, 2022-09-01, 2022-03-01, 2021-03-01, 2021-02-01, 2021-01-15, 2021-01-01, 2020-12-01, 2020-10-01, 2020-09-01, 2020-06-01, 2019-08-01, 2018-11-01, 2018-02-01, 2016-08-01, 2016-03-01, 2015-08-01, 2015-07-01, 2015-06-01, 2015-05-01, 2015-04-01, 2015-02-01, 2014-11-01, 2014-06-01, 2014-04-01, 2014-04-01-preview'. The supported locations are 'usdodeast, usgovvirginia, usdodcentral, usgovarizona, usgovtexas'.
Code: NoRegisteredProviderFound
Message: No registered resource provider found for location 'usgovvirginia' and API version '2024-11-01' for type 'sites'. The supported api-versions are '2024-04-01, 2023-12-01, 2023-01-01, 2022-09-01, 2022-03-01, 2021-03-01, 2021-02-01, 2021-01-15, 2021-01-01, 2020-12-01, 2020-10-01, 2020-09-01, 2020-06-01, 2019-08-01, 2018-11-01, 2018-02-01, 2016-08-01, 2016-03-01, 2015-08-01, 2015-07-01, 2015-06-01, 2015-05-01, 2015-04-01, 2015-02-01, 2014-11-01, 2014-06-01, 2014-04-01, 2014-04-01-preview'. The supported locations are 'usdodeast, usgovvirginia, usdodcentral, usgovarizona, usgovtexas'.
cli.azure.cli.core.azclierror: (NoRegisteredProviderFound) No registered resource provider found for location 'usgovvirginia' and API version '2024-11-01' for type 'sites'. The supported api-versions are '2024-04-01, 2023-12-01, 2023-01-01, 2022-09-01, 2022-03-01, 2021-03-01, 2021-02-01, 2021-01-15, 2021-01-01, 2020-12-01, 2020-10-01, 2020-09-01, 2020-06-01, 2019-08-01, 2018-11-01, 2018-02-01, 2016-08-01, 2016-03-01, 2015-08-01, 2015-07-01, 2015-06-01, 2015-05-01, 2015-04-01, 2015-02-01, 2014-11-01, 2014-06-01, 2014-04-01, 2014-04-01-preview'. The supported locations are 'usdodeast, usgovvirginia, usdodcentral, usgovarizona, usgovtexas'.
Code: NoRegisteredProviderFound
Message: No registered resource provider found for location 'usgovvirginia' and API version '2024-11-01' for type 'sites'. The supported api-versions are '2024-04-01, 2023-12-01, 2023-01-01, 2022-09-01, 2022-03-01, 2021-03-01, 2021-02-01, 2021-01-15, 2021-01-01, 2020-12-01, 2020-10-01, 2020-09-01, 2020-06-01, 2019-08-01, 2018-11-01, 2018-02-01, 2016-08-01, 2016-03-01, 2015-08-01, 2015-07-01, 2015-06-01, 2015-05-01, 2015-04-01, 2015-02-01, 2014-11-01, 2014-06-01, 2014-04-01, 2014-04-01-preview'. The supported locations are 'usdodeast, usgovvirginia, usdodcentral, usgovarizona, usgovtexas'.
az_command_data_logger: (NoRegisteredProviderFound) No registered resource provider found for location 'usgovvirginia' and API version '2024-11-01' for type 'sites'. The supported api-versions are '2024-04-01, 2023-12-01, 2023-01-01, 2022-09-01, 2022-03-01, 2021-03-01, 2021-02-01, 2021-01-15, 2021-01-01, 2020-12-01, 2020-10-01, 2020-09-01, 2020-06-01, 2019-08-01, 2018-11-01, 2018-02-01, 2016-08-01, 2016-03-01, 2015-08-01, 2015-07-01, 2015-06-01, 2015-05-01, 2015-04-01, 2015-02-01, 2014-11-01, 2014-06-01, 2014-04-01, 2014-04-01-preview'. The supported locations are 'usdodeast, usgovvirginia, usdodcentral, usgovarizona, usgovtexas'.
Code: NoRegisteredProviderFound
Message: No registered resource provider found for location 'usgovvirginia' and API version '2024-11-01' for type 'sites'. The supported api-versions are '2024-04-01, 2023-12-01, 2023-01-01, 2022-09-01, 2022-03-01, 2021-03-01, 2021-02-01, 2021-01-15, 2021-01-01, 2020-12-01, 2020-10-01, 2020-09-01, 2020-06-01, 2019-08-01, 2018-11-01, 2018-02-01, 2016-08-01, 2016-03-01, 2015-08-01, 2015-07-01, 2015-06-01, 2015-05-01, 2015-04-01, 2015-02-01, 2014-11-01, 2014-06-01, 2014-04-01, 2014-04-01-preview'. The supported locations are 'usdodeast, usgovvirginia, usdodcentral, usgovarizona, usgovtexas'.
cli.knack.cli: Event: Cli.PostExecute [<function AzCliLogging.deinit_cmd_metadata_logging at 0x00000276B9E17420>]
az_command_data_logger: exit code: 1
cli.__main__: Command ran in 2.595 seconds (init: 0.410, invoke: 2.185)
telemetry.main: Begin splitting cli events and extra events, total events: 1
telemetry.client: Accumulated 0 events. Flush the clients.
telemetry.main: Finish splitting cli events and extra events, cli events: 1
telemetry.save: Save telemetry record of length 5112 in cache file under C:\Users\<redacted user name>\.configazcli\telemetry\20250813133018798
telemetry.main: Begin creating telemetry upload process.
telemetry.process: Creating upload process: "C:\Program Files\Microsoft SDKs\Azure\CLI2\python.exe C:\Program Files\Microsoft SDKs\Azure\CLI2\Lib\site-packages\azure\cli\telemetry\__init__.pyc C:\Users\<redacted user name>\.configazcli C:\Users\<redacted user name>\.configazcli\telemetry\20250813133018798"
telemetry.process: Return from creating process 22388
telemetry.main: Finish creating telemetry upload process.
Expected behavior
I expected the details of the specified function app to be shown.
Environment Summary
azure-cli 2.76.0
core 2.76.0
telemetry 1.1.0
Dependencies:
msal 1.33.0b1
azure-mgmt-resource 23.3.0
Python location 'C:\Program Files\Microsoft SDKs\Azure\CLI2\python.exe'
Config directory 'C:\Users\<redacted>\.configazcli'
Extensions directory 'C:\Users\<redacted>\.configazcli\cliextensions'
Python (Windows) 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
Additional context
This affects other az functionapp commands too, most notably az functionapp deployment.
fvilches17 and neilboyd
Metadata
Metadata
Assignees
Labels
Auto-ResolveAuto resolve by botAuto resolve by botFunctionsaz functionappaz functionappPossible-SolutionService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.Similar-IssuebugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.