azure-cli icon indicating copy to clipboard operation
azure-cli copied to clipboard

"Runtime not supported" error when calling functionapp deployment

Open tsbala opened this issue 1 year ago • 16 comments

Describe the bug

az functionapp deployment source config-zip -n <app-name> -g <resource-group> --slot staging --src function.zip --subscription <subscription-id>

fails with a Runtime not supported . error message.

This is only happening on the latest version of az cli - ver 2.57.0. Works fine in ver 2.56.0.

Related command

az functionapp deployment source config-zip -n -g --slot staging --src function.zip --subscription

Errors

Runtime is not supported.

Issue script & Debug output

cli.knack.cli: Event: CommandInvoker.OnPostArgumentLoad [] cli.knack.cli: Event: CommandInvoker.OnPostCommandTableCreate [<function register_ids_argument..add_ids_arguments at 0x045758E8>, <function register_cache_arguments..add_cache_arguments at 0x04575938>] cli.knack.cli: Event: CommandInvoker.OnCommandTableLoaded [] cli.knack.cli: Event: CommandInvoker.OnPreParseArgs [] cli.knack.cli: Event: CommandInvoker.OnPostParseArgs [<function OutputProducer.handle_output_argument at 0x023D9A78>, <function CLIQuery.handle_query_parameter at 0x023F9848>, <function register_ids_argument..parse_ids_arguments at 0x04575898>] cli.azure.cli.core.commands.client_factory: Getting management service client client_type=WebSiteManagementClient cli.azure.cli.core.auth.persistence: build_persistence: location='C:\Users\N17099\.azure\msal_token_cache.bin', encrypt=True cli.azure.cli.core.auth.binary_cache: load: C:\Users\N17099.azure\msal_http_cache.bin urllib3.util.retry: Converted retries value: 1 -> Retry(total=1, connect=None, read=None, redirect=None, status=None) msal.authority: openid_config = {'token_endpoint': 'https://login.microsoftonline.com/10fb7203-c2cb-4477-8faf-a8607d775678/oauth2/v2.0/token', 'token_endpoint_auth_methods_supported': ['client_secret_post', 'private_key_jwt', 'client_secret_basic'], 'jwks_uri': 'https://login.microsoftonline.com/10fb7203-c2cb-4477-8faf-a8607d775678/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.com/10fb7203-c2cb-4477-8faf-a8607d775678/v2.0', 'request_uri_parameter_supported': False, 'userinfo_endpoint': 'https://graph.microsoft.com/oidc/userinfo', 'authorization_endpoint': 'https://login.microsoftonline.com/10fb7203-c2cb-4477-8faf-a8607d775678/oauth2/v2.0/authorize', 'device_authorization_endpoint': 'https://login.microsoftonline.com/10fb7203-c2cb-4477-8faf-a8607d775678/oauth2/v2.0/devicecode', 'http_logout_supported': True, 'frontchannel_logout_supported': True, 'end_session_endpoint': 'https://login.microsoftonline.com/10fb7203-c2cb-4477-8faf-a8607d775678/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.com/10fb7203-c2cb-4477-8faf-a8607d775678/kerberos', 'tenant_region_scope': 'EU', 'cloud_instance_name': 'microsoftonline.com', 'cloud_graph_host_name': 'graph.windows.net', 'msgraph_host': 'graph.microsoft.com', 'rbac_url': 'https://pas.windows.net'} msal.application: Broker enabled? False cli.azure.cli.core.auth.credential_adaptor: CredentialAdaptor.get_token: scopes=('https://management.core.windows.net//.default',), kwargs={} cli.azure.cli.core.auth.msal_authentication: UserCredential.get_token: scopes=('https://management.core.windows.net//.default',), claims=None, kwargs={} msal.application: Cache hit an AT msal.telemetry: Generate or reuse correlation_id: b1a411f9-8b9d-4ccd-8e94-d3b716ca2062 cli.azure.cli.core.sdk.policies: Request URL: 'https://management.azure.com/subscriptions/adbb1d45-96b4-4a30-9bd0-de06503b4f75/resourceGroups/rg-ndt-rp-rps-northeuropeb9ba4040/providers/Microsoft.Web/sites/app-ndt-rp-rps-northeuropec5d12f8e?api-version=2023-01-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': 'a0ec2f11-c9b9-11ee-82cd-f44637375fc7' cli.azure.cli.core.sdk.policies: 'CommandName': 'functionapp deployment source config-zip' cli.azure.cli.core.sdk.policies: 'ParameterSetName': '-n -g --slot --src --subscription --debug' cli.azure.cli.core.sdk.policies: 'User-Agent': 'AZURECLI/2.57.0 (MSI) azsdk-python-azure-mgmt-web/7.2.0 Python/3.11.7 (Windows-10-10.0.19045-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.azure.com:443 urllib3.connectionpool: https://management.azure.com:443 "GET /subscriptions/adbb1d45-96b4-4a30-9bd0-de06503b4f75/resourceGroups/rg-ndt-rp-rps-northeuropeb9ba4040/providers/Microsoft.Web/sites/app-ndt-rp-rps-northeuropec5d12f8e?api-version=2023-01-01 HTTP/1.1" 200 None cli.azure.cli.core.sdk.policies: Response status: 200 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: 'Transfer-Encoding': 'chunked' cli.azure.cli.core.sdk.policies: 'Content-Type': 'application/json' cli.azure.cli.core.sdk.policies: 'Content-Encoding': 'gzip' cli.azure.cli.core.sdk.policies: 'Expires': '-1' cli.azure.cli.core.sdk.policies: 'ETag': '"1DA5B3F0A67E820"' cli.azure.cli.core.sdk.policies: 'Vary': 'Accept-Encoding' cli.azure.cli.core.sdk.policies: 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains' cli.azure.cli.core.sdk.policies: 'x-ms-request-id': '4790b65e-0b23-49d5-b0d4-60a6cc267ea4' cli.azure.cli.core.sdk.policies: 'Server': 'Microsoft-IIS/10.0' cli.azure.cli.core.sdk.policies: 'X-AspNet-Version': '4.0.30319' cli.azure.cli.core.sdk.policies: 'X-Powered-By': 'ASP.NET' cli.azure.cli.core.sdk.policies: 'x-ms-ratelimit-remaining-subscription-reads': '11998' cli.azure.cli.core.sdk.policies: 'x-ms-correlation-request-id': 'e949e27c-3514-42c6-ab29-ce7ad0bc9992' cli.azure.cli.core.sdk.policies: 'x-ms-routing-request-id': 'UKSOUTH:20240212T151555Z:e949e27c-3514-42c6-ab29-ce7ad0bc9992' cli.azure.cli.core.sdk.policies: 'X-Content-Type-Options': 'nosniff' cli.azure.cli.core.sdk.policies: 'Date': 'Mon, 12 Feb 2024 15:15:55 GMT' cli.azure.cli.core.sdk.policies: Response content: cli.azure.cli.core.sdk.policies: {"id":"/subscriptions/adbb1d45-96b4-4a30-9bd0-de06503b4f75/resourceGroups/rg-ndt-rp-rps-northeuropeb9ba4040/providers/Microsoft.Web/sites/app-ndt-rp-rps-northeuropec5d12f8e","name":"app-ndt-rp-rps-northeuropec5d12f8e","type":"Microsoft.Web/sites","kind":"functionapp,linux","location":"North Europe","tags":{"application":"RegularPayments","created_by":"Card Platform Team","created_date":"01/11/2024 13:54","deployment_method":"Github Action","description":"N/A","expiry_date":"1970-01-01","group":"Stratus","instance_code":"ndt","module":"rp","service_code":"rps","tag_application":"RegularPayments","tag_instance_code":"ndt","tag_pillar_code":"rp","tag_service_code":"rps","tag_service_name":"RegularPayments","team":"StratusTeam4","tenant":"NewDayTechnology"},"properties":{"name":"app-ndt-rp-rps-northeuropec5d12f8e","state":"Running","hostNames":["app-ndt-rp-rps-northeuropec5d12f8e.azurewebsites.net"],"webSpace":"rg-core-ndt-rp-rps-northeuropee0841ee7-NorthEuropewebspace-Linux","selfLink":"https://waws-prod-db3-311.api.azurewebsites.windows.net:454/subscriptions/adbb1d45-96b4-4a30-9bd0-de06503b4f75/webspaces/rg-core-ndt-rp-rps-northeuropee0841ee7-NorthEuropewebspace-Linux/sites/app-ndt-rp-rps-northeuropec5d12f8e","repositorySiteName":"app-ndt-rp-rps-northeuropec5d12f8e","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"afdEnabled":false,"enabledHostNames":["app-ndt-rp-rps-northeuropec5d12f8e.azurewebsites.net","app-ndt-rp-rps-northeuropec5d12f8e.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""},{"name":"WindowsFxVersion","value":null}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"app-ndt-rp-rps-northeuropec5d12f8e.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"virtualIPv6":null,"thumbprint":null,"certificateResourceId":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"app-ndt-rp-rps-northeuropec5d12f8e.scm.azurewebsites.net","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/adbb1d45-96b4-4a30-9bd0-de06503b4f75/resourceGroups/rg-core-ndt-rp-rps-northeuropee0841ee7/providers/Microsoft.Web/serverfarms/plan-cf-ndt-rp-rps-northeurope32c2e641","reserved":true,"isXenon":false,"hyperV":false,"lastModifiedTimeUtc":"2024-02-09T10:02:07.65","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","dnsConfiguration":{},"vnetRouteAllEnabled":true,"containerAllocationSubnet":null,"useContainerLocalhostBindings":null,"vnetImagePullEnabled":false,"vnetContentShareEnabled":false,"siteConfig":{"numberOfWorkers":1,"defaultDocuments":null,"netFrameworkVersion":null,"phpVersion":null,"pythonVersion":null,"nodeVersion":null,"powerShellVersion":null,"linuxFxVersion":"","windowsFxVersion":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,"supportedTlsCipherSuites":null,"scmMinTlsVersion":null,"ftpsState":null,"preWarmedInstanceCount":null,"functionAppScaleLimit":0,"elasticWebAppScaleLimit":null,"healthCheckPath":null,"fileChangeAuditEnabled":null,"functionsRuntimeScaleMonitoringEnabled":null,"websiteTimeZone":null,"minimumElasticInstanceCount":0,"azureStorageAccounts":null,"http20ProxyFlag":null,"sitePort":null,"antivirusScanEnabled":null,"storageType":null,"sitePrivateLinkHostEnabled":null},"daprConfig":null,"deploymentId":"app-ndt-rp-rps-northeuropec5d12f8e__ccdf","slotName":null,"trafficManagerHostNames":null,"sku":"PremiumV3","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":false,"clientCertEnabled":false,"clientCertMode":"Required","clientCertExclusionPaths":null,"hostNamesDisabled":false,"ipMode":"IPv4","vnetBackupRestoreEnabled":false,"domainVerificationIdentifiers":null,"customDomainVerificationId":"C7EF62806CD4BCF9109DAA9B8AF3B2CB5AA9E392ED1DFA46D46C0829DF17340C","kind":"functionapp,linux","managedEnvironmentId":null,"workloadProfileName":null,"resourceConfig":null,"inboundIpAddress":"20.107.224.36","possibleInboundIpAddresses":"20.107.224.36","ftpUsername":"app-ndt-rp-rps-northeuropec5d12f8e\$app-ndt-rp-rps-northeuropec5d12f8e","ftpsHostName":"ftps://waws-prod-db3-311.ftp.azurewebsites.windows.net/site/wwwroot","outboundIpAddresses":"4.207.81.114,4.207.81.141,4.207.81.151,4.207.81.155,4.207.81.162,4.207.81.200,20.107.224.36","possibleOutboundIpAddresses":"4.207.82.0,4.207.82.5,4.207.82.8,4.207.82.13,4.207.82.16,4.207.82.19,20.105.119.248,4.207.80.12,4.207.80.42,4.207.80.103,4.207.80.107,4.207.80.114,4.207.80.139,4.207.80.163,4.207.80.181,4.207.81.72,20.105.119.73,4.207.81.98,4.207.81.114,4.207.81.141,4.207.81.151,4.207.81.155,4.207.81.162,4.207.81.200,4.207.82.0,4.207.82.5,4.207.82.8,4.207.82.13,4.207.82.16,4.207.82.19,4.207.82.23,4.207.82.29,4.207.81.144,4.207.82.84,4.207.84.130,4.207.84.179,20.107.224.36","containerSize":1536,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-db3-311","cloningInfo":null,"hostingEnvironmentId":null,"tags":{"application":"RegularPayments","created_by":"Card Platform Team","created_date":"01/11/2024 13:54","deployment_method":"Github Action","description":"N/A","expiry_date":"1970-01-01","group":"Stratus","instance_code":"ndt","module":"rp","service_code":"rps","tag_application":"RegularPayments","tag_instance_code":"ndt","tag_pillar_code":"rp","tag_service_code":"rps","tag_service_name":"RegularPayments","team":"StratusTeam4","tenant":"NewDayTechnology"},"resourceGroup":"rg-ndt-rp-rps-northeuropeb9ba4040","defaultHostName":"app-ndt-rp-rps-northeuropec5d12f8e.azurewebsites.net","slotSwapStatus":{"timestampUtc":"2024-02-09T10:02:07.855Z","sourceSlotName":"staging","destinationSlotName":"Production"},"httpsOnly":true,"endToEndEncryptionEnabled":false,"functionsRuntimeAdminIsolationEnabled":false,"redundancyMode":"None","inProgressOperationId":null,"geoDistributions":null,"privateEndpointConnections":[{"id":"/subscriptions/adbb1d45-96b4-4a30-9bd0-de06503b4f75/resourceGroups/rg-ndt-rp-rps-northeuropeb9ba4040/providers/Microsoft.Web/sites/app-ndt-rp-rps-northeuropec5d12f8e/privateEndpointConnections/pls-ndt-rp-rps-northeurope-sites-functionapp-dev-e6ae0b89-7bba-4d88-8024-39dae18d6a7f","name":"pls-ndt-rp-rps-northeurope-sites-functionapp-dev-e6ae0b89-7bba-4d88-8024-39dae18d6a7f","type":"Microsoft.Web/sites/privateEndpointConnections","location":"North Europe","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/adbb1d45-96b4-4a30-9bd0-de06503b4f75/resourceGroups/rg-ndt-rp-rps-northeuropeb9ba4040/providers/Microsoft.Network/privateEndpoints/pe-ndt-rp-rps-northeurope-sites-functionapp-dev2ea86b11"},"groupIds":null,"privateLinkServiceConnectionState":{"status":"Approved","description":"","actionsRequired":"None"},"ipAddresses":["10.221.128.39"]}}],"publicNetworkAccess":"Disabled","buildVersion":null,"targetBuildVersion":null,"migrationState":null,"eligibleLogCategories":"FunctionAppLogs","inFlightFeatures":["SiteContainers"],"storageAccountRequired":false,"virtualNetworkSubnetId":"/subscriptions/adbb1d45-96b4-4a30-9bd0-de06503b4f75/resourceGroups/rg-core-ndt-rp-northeurope5fc2640c/providers/Microsoft.Network/virtualNetworks/vnet-ndt-rp-northeurope0a35023a/subnets/service-subnet-rps","keyVaultReferenceIdentity":"/subscriptions/adbb1d45-96b4-4a30-9bd0-de06503b4f75/resourcegroups/rg-core-ndt-rp-rps-northeuropee0841ee7/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id-ndt-rp-rps-northeurope9b8d139d","defaultHostNameScope":"Global","privateLinkIdentifiers":"285308883","sshEnabled":null},"identity":{"type":"UserAssigned","userAssignedIdentities":{"/subscriptions/adbb1d45-96b4-4a30-9bd0-de06503b4f75/resourcegroups/rg-core-ndt-rp-rps-northeuropee0841ee7/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id-ndt-rp-rps-northeurope9b8d139d":{"principalId":"85ec367b-6277-4c4a-8763-d8ec9d1fdc5a","clientId":"64628ae6-798c-4c38-9983-b1eb3bf13cae"}}}} 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: openid_config = {'token_endpoint': 'https://login.microsoftonline.com/10fb7203-c2cb-4477-8faf-a8607d775678/oauth2/v2.0/token', 'token_endpoint_auth_methods_supported': ['client_secret_post', 'private_key_jwt', 'client_secret_basic'], 'jwks_uri': 'https://login.microsoftonline.com/10fb7203-c2cb-4477-8faf-a8607d775678/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.com/10fb7203-c2cb-4477-8faf-a8607d775678/v2.0', 'request_uri_parameter_supported': False, 'userinfo_endpoint': 'https://graph.microsoft.com/oidc/userinfo', 'authorization_endpoint': 'https://login.microsoftonline.com/10fb7203-c2cb-4477-8faf-a8607d775678/oauth2/v2.0/authorize', 'device_authorization_endpoint': 'https://login.microsoftonline.com/10fb7203-c2cb-4477-8faf-a8607d775678/oauth2/v2.0/devicecode', 'http_logout_supported': True, 'frontchannel_logout_supported': True, 'end_session_endpoint': 'https://login.microsoftonline.com/10fb7203-c2cb-4477-8faf-a8607d775678/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.com/10fb7203-c2cb-4477-8faf-a8607d775678/kerberos', 'tenant_region_scope': 'EU', 'cloud_instance_name': 'microsoftonline.com', 'cloud_graph_host_name': 'graph.windows.net', 'msgraph_host': 'graph.microsoft.com', 'rbac_url': 'https://pas.windows.net'} msal.application: Broker enabled? False cli.azure.cli.core.auth.credential_adaptor: CredentialAdaptor.get_token: scopes=('https://management.core.windows.net//.default',), kwargs={} cli.azure.cli.core.auth.msal_authentication: UserCredential.get_token: scopes=('https://management.core.windows.net//.default',), claims=None, kwargs={} msal.application: Cache hit an AT msal.telemetry: Generate or reuse correlation_id: 0fe11e31-b1f7-49c6-a0fc-76e530cdf848 cli.azure.cli.core.sdk.policies: Request URL: 'https://management.azure.com/subscriptions/adbb1d45-96b4-4a30-9bd0-de06503b4f75/resourceGroups/rg-ndt-rp-rps-northeuropeb9ba4040/providers/Microsoft.Web/sites/app-ndt-rp-rps-northeuropec5d12f8e/config/appsettings/list?api-version=2023-01-01' cli.azure.cli.core.sdk.policies: Request method: 'POST' 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': 'a0ec2f11-c9b9-11ee-82cd-f44637375fc7' cli.azure.cli.core.sdk.policies: 'CommandName': 'functionapp deployment source config-zip' cli.azure.cli.core.sdk.policies: 'ParameterSetName': '-n -g --slot --src --subscription --debug' cli.azure.cli.core.sdk.policies: 'User-Agent': 'AZURECLI/2.57.0 (MSI) azsdk-python-azure-mgmt-web/7.2.0 Python/3.11.7 (Windows-10-10.0.19045-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.azure.com:443 urllib3.connectionpool: https://management.azure.com:443 "POST /subscriptions/adbb1d45-96b4-4a30-9bd0-de06503b4f75/resourceGroups/rg-ndt-rp-rps-northeuropeb9ba4040/providers/Microsoft.Web/sites/app-ndt-rp-rps-northeuropec5d12f8e/config/appsettings/list?api-version=2023-01-01 HTTP/1.1" 200 None cli.azure.cli.core.sdk.policies: Response status: 200 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: 'Transfer-Encoding': 'chunked' cli.azure.cli.core.sdk.policies: 'Content-Type': 'application/json' cli.azure.cli.core.sdk.policies: 'Content-Encoding': 'gzip' cli.azure.cli.core.sdk.policies: 'Expires': '-1' cli.azure.cli.core.sdk.policies: 'Vary': 'Accept-Encoding' cli.azure.cli.core.sdk.policies: 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains' cli.azure.cli.core.sdk.policies: 'x-ms-request-id': '3cdf6402-d596-439f-99d6-30f01f3fa3f8' cli.azure.cli.core.sdk.policies: 'Server': 'Microsoft-IIS/10.0' cli.azure.cli.core.sdk.policies: 'X-AspNet-Version': '4.0.30319' cli.azure.cli.core.sdk.policies: 'X-Powered-By': 'ASP.NET' cli.azure.cli.core.sdk.policies: 'x-ms-ratelimit-remaining-subscription-resource-requests': '11998' cli.azure.cli.core.sdk.policies: 'x-ms-correlation-request-id': 'e832ebf2-42fe-4779-99b2-9415db0ffbbe' cli.azure.cli.core.sdk.policies: 'x-ms-routing-request-id': 'UKSOUTH:20240212T151556Z:e832ebf2-42fe-4779-99b2-9415db0ffbbe' cli.azure.cli.core.sdk.policies: 'X-Content-Type-Options': 'nosniff' cli.azure.cli.core.sdk.policies: 'Date': 'Mon, 12 Feb 2024 15:15:55 GMT' cli.azure.cli.core.sdk.policies: Response content: cli.azure.cli.core.sdk.policies: {"id":"/subscriptions/adbb1d45-96b4-4a30-9bd0-de06503b4f75/resourceGroups/rg-ndt-rp-rps-northeuropeb9ba4040/providers/Microsoft.Web/sites/app-ndt-rp-rps-northeuropec5d12f8e/config/appsettings","name":"appsettings","type":"Microsoft.Web/sites/config","location":"North Europe","tags":{"application":"RegularPayments","created_by":"Card Platform Team","created_date":"01/11/2024 13:54","deployment_method":"Github Action","description":"N/A","expiry_date":"1970-01-01","group":"Stratus","instance_code":"ndt","module":"rp","service_code":"rps","tag_application":"RegularPayments","tag_instance_code":"ndt","tag_pillar_code":"rp","tag_service_code":"rps","tag_service_name":"RegularPayments","team":"StratusTeam4","tenant":"NewDayTechnology"},"properties":{"APPLICATIONINSIGHTS_CONNECTION_STRING":"InstrumentationKey=a6d63d35-553c-45ed-9cdf-6c7f0a7c946b;IngestionEndpoint=https://northeurope-2.in.applicationinsights.azure.com/;LiveEndpoint=https://northeurope.livediagnostics.monitor.azure.com/","WEBSITE_ADD_SITENAME_BINDINGS_IN_APPHOST_CONFIG":"1","FUNCTIONS_EXTENSION_VERSION":"~4","FUNCTIONS_WORKER_RUNTIME":"dotnet","AzureWebJobsStorage__accountName":"sandtrprpseunc8838219","AzureFunctionsWebHost__hostid":"sandtrprpseunc8838219","CONFIG_NAME":"dev","MessagingSettings__Credential":"ManagedIdentity","MessagingSettings__ClientId":"64628ae6-798c-4c38-9983-b1eb3bf13cae","MessagingSettings__FullyQualifiedNamespace":"sb-ndt-northeurope81078e12.servicebus.windows.net","MessagingSettings__OutboxTopic":"rp-rps-outbox","MessagingSettings__InboxQueue":"sbq-rp-rps-inbox","MessagingSettings__ChangeFeedQueueName":"sbq-rp-rps-changefeed","AZURE_CLIENT_ID":"64628ae6-798c-4c38-9983-b1eb3bf13cae","WEBSITE_RUN_FROM_PACKAGE":"1","WEBSITE_ENABLE_SYNC_UPDATE_SITE":"true","WEBSITE_SWAP_WARMUP_PING_PATH":"/regular-payments-service/healthcheck","WEBSITE_SWAP_WARMUP_PING_STATUSES":"200","FUNCTIONS_DISABLED":"0","COLLECTOR_ENDPOINT":"https://otel.eun.stratus.int.dev-newdaytechnology.net","MessagingSettings__IngressSubscriptionQueueName":"sbq-rp-rps-igrs-outbox","MessagingSettings__PaymentProcessingQueue":"sbq-rps-payment-processing","MessagingSettings__SetupProcessingQueue":"sbq-rps-setup-processing","PILLAR_CODE":"rp","INSTANCE_CODE":"ndt","APPLICATION_SHORT_NAME":"rps","ExternalServiceSettings__ConsumerBillingServiceUrl":"https://mtapi-northeurope.int.dev-newdaytechnology.net/ams/consumer-billing-service/","ExternalServiceSettings__AccountManagementAccountServiceUrl":"https://mtapi-northeurope.int.dev-newdaytechnology.net/ams/account-service/","ExternalServiceSettings__AccountManagementTransactionServiceUrl":"https://mtapi-northeurope.int.dev-newdaytechnology.net/ams/transaction-service/","ExternalServiceSettings__TenantHierarchyServiceUrl":"https://mtapi-northeurope.int.dev-newdaytechnology.net/tms/tenant-hierarchy-service/","ExternalServiceSettings__LedgerServiceUrl":"https://mtapi-northeurope.int.dev-newdaytechnology.net/ams/ledger-service/","ExternalServiceSettings__CustomerInformationServiceUrl":"https://mtapi-northeurope.int.dev-newdaytechnology.net/cus/customer-information-service/","ExternalServiceSettings__SchemeIntegrationServiceUrl":"https://sis.ndt.rp.eun.stratus.int.dev-newdaytechnology.net/"}} 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: openid_config = {'token_endpoint': 'https://login.microsoftonline.com/10fb7203-c2cb-4477-8faf-a8607d775678/oauth2/v2.0/token', 'token_endpoint_auth_methods_supported': ['client_secret_post', 'private_key_jwt', 'client_secret_basic'], 'jwks_uri': 'https://login.microsoftonline.com/10fb7203-c2cb-4477-8faf-a8607d775678/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.com/10fb7203-c2cb-4477-8faf-a8607d775678/v2.0', 'request_uri_parameter_supported': False, 'userinfo_endpoint': 'https://graph.microsoft.com/oidc/userinfo', 'authorization_endpoint': 'https://login.microsoftonline.com/10fb7203-c2cb-4477-8faf-a8607d775678/oauth2/v2.0/authorize', 'device_authorization_endpoint': 'https://login.microsoftonline.com/10fb7203-c2cb-4477-8faf-a8607d775678/oauth2/v2.0/devicecode', 'http_logout_supported': True, 'frontchannel_logout_supported': True, 'end_session_endpoint': 'https://login.microsoftonline.com/10fb7203-c2cb-4477-8faf-a8607d775678/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.com/10fb7203-c2cb-4477-8faf-a8607d775678/kerberos', 'tenant_region_scope': 'EU', 'cloud_instance_name': 'microsoftonline.com', 'cloud_graph_host_name': 'graph.windows.net', 'msgraph_host': 'graph.microsoft.com', 'rbac_url': 'https://pas.windows.net'} msal.application: Broker enabled? False 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: openid_config = {'token_endpoint': 'https://login.microsoftonline.com/10fb7203-c2cb-4477-8faf-a8607d775678/oauth2/v2.0/token', 'token_endpoint_auth_methods_supported': ['client_secret_post', 'private_key_jwt', 'client_secret_basic'], 'jwks_uri': 'https://login.microsoftonline.com/10fb7203-c2cb-4477-8faf-a8607d775678/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.com/10fb7203-c2cb-4477-8faf-a8607d775678/v2.0', 'request_uri_parameter_supported': False, 'userinfo_endpoint': 'https://graph.microsoft.com/oidc/userinfo', 'authorization_endpoint': 'https://login.microsoftonline.com/10fb7203-c2cb-4477-8faf-a8607d775678/oauth2/v2.0/authorize', 'device_authorization_endpoint': 'https://login.microsoftonline.com/10fb7203-c2cb-4477-8faf-a8607d775678/oauth2/v2.0/devicecode', 'http_logout_supported': True, 'frontchannel_logout_supported': True, 'end_session_endpoint': 'https://login.microsoftonline.com/10fb7203-c2cb-4477-8faf-a8607d775678/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.com/10fb7203-c2cb-4477-8faf-a8607d775678/kerberos', 'tenant_region_scope': 'EU', 'cloud_instance_name': 'microsoftonline.com', 'cloud_graph_host_name': 'graph.windows.net', 'msgraph_host': 'graph.microsoft.com', 'rbac_url': 'https://pas.windows.net'} msal.application: Broker enabled? False cli.azure.cli.core.auth.credential_adaptor: CredentialAdaptor.get_token: scopes=('https://management.core.windows.net//.default',), kwargs={} cli.azure.cli.core.auth.msal_authentication: UserCredential.get_token: scopes=('https://management.core.windows.net//.default',), claims=None, kwargs={} msal.application: Cache hit an AT msal.telemetry: Generate or reuse correlation_id: 8f6435f3-f134-4c32-b90d-421044a8306a cli.azure.cli.core.sdk.policies: Request URL: 'https://management.azure.com/subscriptions/adbb1d45-96b4-4a30-9bd0-de06503b4f75/resourceGroups/rg-ndt-rp-rps-northeuropeb9ba4040/providers/Microsoft.Web/sites/app-ndt-rp-rps-northeuropec5d12f8e?api-version=2023-01-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': 'a0ec2f11-c9b9-11ee-82cd-f44637375fc7' cli.azure.cli.core.sdk.policies: 'CommandName': 'functionapp deployment source config-zip' cli.azure.cli.core.sdk.policies: 'ParameterSetName': '-n -g --slot --src --subscription --debug' cli.azure.cli.core.sdk.policies: 'User-Agent': 'AZURECLI/2.57.0 (MSI) azsdk-python-azure-mgmt-web/7.2.0 Python/3.11.7 (Windows-10-10.0.19045-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.azure.com:443 urllib3.connectionpool: https://management.azure.com:443 "GET /subscriptions/adbb1d45-96b4-4a30-9bd0-de06503b4f75/resourceGroups/rg-ndt-rp-rps-northeuropeb9ba4040/providers/Microsoft.Web/sites/app-ndt-rp-rps-northeuropec5d12f8e?api-version=2023-01-01 HTTP/1.1" 200 None cli.azure.cli.core.sdk.policies: Response status: 200 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: 'Transfer-Encoding': 'chunked' cli.azure.cli.core.sdk.policies: 'Content-Type': 'application/json' cli.azure.cli.core.sdk.policies: 'Content-Encoding': 'gzip' cli.azure.cli.core.sdk.policies: 'Expires': '-1' cli.azure.cli.core.sdk.policies: 'ETag': '"1DA5B3F0A67E820"' cli.azure.cli.core.sdk.policies: 'Vary': 'Accept-Encoding' cli.azure.cli.core.sdk.policies: 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains' cli.azure.cli.core.sdk.policies: 'x-ms-request-id': 'd3e34f8c-55d7-4bb8-a04f-4af967019e68' cli.azure.cli.core.sdk.policies: 'Server': 'Microsoft-IIS/10.0' cli.azure.cli.core.sdk.policies: 'X-AspNet-Version': '4.0.30319' cli.azure.cli.core.sdk.policies: 'X-Powered-By': 'ASP.NET' cli.azure.cli.core.sdk.policies: 'x-ms-ratelimit-remaining-subscription-reads': '11998' cli.azure.cli.core.sdk.policies: 'x-ms-correlation-request-id': '4fd55590-550e-43e2-868b-b2567b1c4e05' cli.azure.cli.core.sdk.policies: 'x-ms-routing-request-id': 'UKSOUTH:20240212T151557Z:4fd55590-550e-43e2-868b-b2567b1c4e05' cli.azure.cli.core.sdk.policies: 'X-Content-Type-Options': 'nosniff' cli.azure.cli.core.sdk.policies: 'Date': 'Mon, 12 Feb 2024 15:15:56 GMT' cli.azure.cli.core.sdk.policies: Response content: cli.azure.cli.core.sdk.policies: {"id":"/subscriptions/adbb1d45-96b4-4a30-9bd0-de06503b4f75/resourceGroups/rg-ndt-rp-rps-northeuropeb9ba4040/providers/Microsoft.Web/sites/app-ndt-rp-rps-northeuropec5d12f8e","name":"app-ndt-rp-rps-northeuropec5d12f8e","type":"Microsoft.Web/sites","kind":"functionapp,linux","location":"North Europe","tags":{"application":"RegularPayments","created_by":"Card Platform Team","created_date":"01/11/2024 13:54","deployment_method":"Github Action","description":"N/A","expiry_date":"1970-01-01","group":"Stratus","instance_code":"ndt","module":"rp","service_code":"rps","tag_application":"RegularPayments","tag_instance_code":"ndt","tag_pillar_code":"rp","tag_service_code":"rps","tag_service_name":"RegularPayments","team":"StratusTeam4","tenant":"NewDayTechnology"},"properties":{"name":"app-ndt-rp-rps-northeuropec5d12f8e","state":"Running","hostNames":["app-ndt-rp-rps-northeuropec5d12f8e.azurewebsites.net"],"webSpace":"rg-core-ndt-rp-rps-northeuropee0841ee7-NorthEuropewebspace-Linux","selfLink":"https://waws-prod-db3-311.api.azurewebsites.windows.net:454/subscriptions/adbb1d45-96b4-4a30-9bd0-de06503b4f75/webspaces/rg-core-ndt-rp-rps-northeuropee0841ee7-NorthEuropewebspace-Linux/sites/app-ndt-rp-rps-northeuropec5d12f8e","repositorySiteName":"app-ndt-rp-rps-northeuropec5d12f8e","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"afdEnabled":false,"enabledHostNames":["app-ndt-rp-rps-northeuropec5d12f8e.azurewebsites.net","app-ndt-rp-rps-northeuropec5d12f8e.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""},{"name":"WindowsFxVersion","value":null}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"app-ndt-rp-rps-northeuropec5d12f8e.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"virtualIPv6":null,"thumbprint":null,"certificateResourceId":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"app-ndt-rp-rps-northeuropec5d12f8e.scm.azurewebsites.net","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/adbb1d45-96b4-4a30-9bd0-de06503b4f75/resourceGroups/rg-core-ndt-rp-rps-northeuropee0841ee7/providers/Microsoft.Web/serverfarms/plan-cf-ndt-rp-rps-northeurope32c2e641","reserved":true,"isXenon":false,"hyperV":false,"lastModifiedTimeUtc":"2024-02-09T10:02:07.65","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","dnsConfiguration":{},"vnetRouteAllEnabled":true,"containerAllocationSubnet":null,"useContainerLocalhostBindings":null,"vnetImagePullEnabled":false,"vnetContentShareEnabled":false,"siteConfig":{"numberOfWorkers":1,"defaultDocuments":null,"netFrameworkVersion":null,"phpVersion":null,"pythonVersion":null,"nodeVersion":null,"powerShellVersion":null,"linuxFxVersion":"","windowsFxVersion":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,"supportedTlsCipherSuites":null,"scmMinTlsVersion":null,"ftpsState":null,"preWarmedInstanceCount":null,"functionAppScaleLimit":0,"elasticWebAppScaleLimit":null,"healthCheckPath":null,"fileChangeAuditEnabled":null,"functionsRuntimeScaleMonitoringEnabled":null,"websiteTimeZone":null,"minimumElasticInstanceCount":0,"azureStorageAccounts":null,"http20ProxyFlag":null,"sitePort":null,"antivirusScanEnabled":null,"storageType":null,"sitePrivateLinkHostEnabled":null},"daprConfig":null,"deploymentId":"app-ndt-rp-rps-northeuropec5d12f8e__ccdf","slotName":null,"trafficManagerHostNames":null,"sku":"PremiumV3","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":false,"clientCertEnabled":false,"clientCertMode":"Required","clientCertExclusionPaths":null,"hostNamesDisabled":false,"ipMode":"IPv4","vnetBackupRestoreEnabled":false,"domainVerificationIdentifiers":null,"customDomainVerificationId":"C7EF62806CD4BCF9109DAA9B8AF3B2CB5AA9E392ED1DFA46D46C0829DF17340C","kind":"functionapp,linux","managedEnvironmentId":null,"workloadProfileName":null,"resourceConfig":null,"inboundIpAddress":"20.107.224.36","possibleInboundIpAddresses":"20.107.224.36","ftpUsername":"app-ndt-rp-rps-northeuropec5d12f8e\$app-ndt-rp-rps-northeuropec5d12f8e","ftpsHostName":"ftps://waws-prod-db3-311.ftp.azurewebsites.windows.net/site/wwwroot","outboundIpAddresses":"4.207.81.114,4.207.81.141,4.207.81.151,4.207.81.155,4.207.81.162,4.207.81.200,20.107.224.36","possibleOutboundIpAddresses":"4.207.82.0,4.207.82.5,4.207.82.8,4.207.82.13,4.207.82.16,4.207.82.19,20.105.119.248,4.207.80.12,4.207.80.42,4.207.80.103,4.207.80.107,4.207.80.114,4.207.80.139,4.207.80.163,4.207.80.181,4.207.81.72,20.105.119.73,4.207.81.98,4.207.81.114,4.207.81.141,4.207.81.151,4.207.81.155,4.207.81.162,4.207.81.200,4.207.82.0,4.207.82.5,4.207.82.8,4.207.82.13,4.207.82.16,4.207.82.19,4.207.82.23,4.207.82.29,4.207.81.144,4.207.82.84,4.207.84.130,4.207.84.179,20.107.224.36","containerSize":1536,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-db3-311","cloningInfo":null,"hostingEnvironmentId":null,"tags":{"application":"RegularPayments","created_by":"Card Platform Team","created_date":"01/11/2024 13:54","deployment_method":"Github Action","description":"N/A","expiry_date":"1970-01-01","group":"Stratus","instance_code":"ndt","module":"rp","service_code":"rps","tag_application":"RegularPayments","tag_instance_code":"ndt","tag_pillar_code":"rp","tag_service_code":"rps","tag_service_name":"RegularPayments","team":"StratusTeam4","tenant":"NewDayTechnology"},"resourceGroup":"rg-ndt-rp-rps-northeuropeb9ba4040","defaultHostName":"app-ndt-rp-rps-northeuropec5d12f8e.azurewebsites.net","slotSwapStatus":{"timestampUtc":"2024-02-09T10:02:07.855Z","sourceSlotName":"staging","destinationSlotName":"Production"},"httpsOnly":true,"endToEndEncryptionEnabled":false,"functionsRuntimeAdminIsolationEnabled":false,"redundancyMode":"None","inProgressOperationId":null,"geoDistributions":null,"privateEndpointConnections":[{"id":"/subscriptions/adbb1d45-96b4-4a30-9bd0-de06503b4f75/resourceGroups/rg-ndt-rp-rps-northeuropeb9ba4040/providers/Microsoft.Web/sites/app-ndt-rp-rps-northeuropec5d12f8e/privateEndpointConnections/pls-ndt-rp-rps-northeurope-sites-functionapp-dev-e6ae0b89-7bba-4d88-8024-39dae18d6a7f","name":"pls-ndt-rp-rps-northeurope-sites-functionapp-dev-e6ae0b89-7bba-4d88-8024-39dae18d6a7f","type":"Microsoft.Web/sites/privateEndpointConnections","location":"North Europe","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/adbb1d45-96b4-4a30-9bd0-de06503b4f75/resourceGroups/rg-ndt-rp-rps-northeuropeb9ba4040/providers/Microsoft.Network/privateEndpoints/pe-ndt-rp-rps-northeurope-sites-functionapp-dev2ea86b11"},"groupIds":null,"privateLinkServiceConnectionState":{"status":"Approved","description":"","actionsRequired":"None"},"ipAddresses":["10.221.128.39"]}}],"publicNetworkAccess":"Disabled","buildVersion":null,"targetBuildVersion":null,"migrationState":null,"eligibleLogCategories":"FunctionAppLogs","inFlightFeatures":["SiteContainers"],"storageAccountRequired":false,"virtualNetworkSubnetId":"/subscriptions/adbb1d45-96b4-4a30-9bd0-de06503b4f75/resourceGroups/rg-core-ndt-rp-northeurope5fc2640c/providers/Microsoft.Network/virtualNetworks/vnet-ndt-rp-northeurope0a35023a/subnets/service-subnet-rps","keyVaultReferenceIdentity":"/subscriptions/adbb1d45-96b4-4a30-9bd0-de06503b4f75/resourcegroups/rg-core-ndt-rp-rps-northeuropee0841ee7/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id-ndt-rp-rps-northeurope9b8d139d","defaultHostNameScope":"Global","privateLinkIdentifiers":"285308883","sshEnabled":null},"identity":{"type":"UserAssigned","userAssignedIdentities":{"/subscriptions/adbb1d45-96b4-4a30-9bd0-de06503b4f75/resourcegroups/rg-core-ndt-rp-rps-northeuropee0841ee7/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id-ndt-rp-rps-northeurope9b8d139d":{"principalId":"85ec367b-6277-4c4a-8763-d8ec9d1fdc5a","clientId":"64628ae6-798c-4c38-9983-b1eb3bf13cae"}}}} cli.azure.cli.core.auth.credential_adaptor: CredentialAdaptor.get_token: scopes=('https://management.core.windows.net//.default',), kwargs={} cli.azure.cli.core.auth.msal_authentication: UserCredential.get_token: scopes=('https://management.core.windows.net//.default',), claims=None, kwargs={} msal.application: Cache hit an AT msal.telemetry: Generate or reuse correlation_id: 82b411ab-56a0-4008-82c3-52994f78666c cli.azure.cli.core.sdk.policies: Request URL: 'https://management.azure.com/subscriptions/adbb1d45-96b4-4a30-9bd0-de06503b4f75/resourceGroups/rg-ndt-rp-rps-northeuropeb9ba4040/providers/Microsoft.Web/sites/app-ndt-rp-rps-northeuropec5d12f8e/config/slotConfigNames?api-version=2023-01-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': 'a0ec2f11-c9b9-11ee-82cd-f44637375fc7' cli.azure.cli.core.sdk.policies: 'CommandName': 'functionapp deployment source config-zip' cli.azure.cli.core.sdk.policies: 'ParameterSetName': '-n -g --slot --src --subscription --debug' cli.azure.cli.core.sdk.policies: 'User-Agent': 'AZURECLI/2.57.0 (MSI) azsdk-python-azure-mgmt-web/7.2.0 Python/3.11.7 (Windows-10-10.0.19045-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.azure.com:443 urllib3.connectionpool: https://management.azure.com:443 "GET /subscriptions/adbb1d45-96b4-4a30-9bd0-de06503b4f75/resourceGroups/rg-ndt-rp-rps-northeuropeb9ba4040/providers/Microsoft.Web/sites/app-ndt-rp-rps-northeuropec5d12f8e/config/slotConfigNames?api-version=2023-01-01 HTTP/1.1" 200 None cli.azure.cli.core.sdk.policies: Response status: 200 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: 'Transfer-Encoding': 'chunked' cli.azure.cli.core.sdk.policies: 'Content-Type': 'application/json' cli.azure.cli.core.sdk.policies: 'Content-Encoding': 'gzip' cli.azure.cli.core.sdk.policies: 'Expires': '-1' cli.azure.cli.core.sdk.policies: 'Vary': 'Accept-Encoding' cli.azure.cli.core.sdk.policies: 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains' cli.azure.cli.core.sdk.policies: 'x-ms-request-id': '2c21fe3a-6f78-4edf-adf5-13453dcc0666' cli.azure.cli.core.sdk.policies: 'Server': 'Microsoft-IIS/10.0' cli.azure.cli.core.sdk.policies: 'X-AspNet-Version': '4.0.30319' cli.azure.cli.core.sdk.policies: 'X-Powered-By': 'ASP.NET' cli.azure.cli.core.sdk.policies: 'x-ms-ratelimit-remaining-subscription-reads': '11999' cli.azure.cli.core.sdk.policies: 'x-ms-correlation-request-id': 'e0117800-768e-47ff-a50d-1d35b01de5c7' cli.azure.cli.core.sdk.policies: 'x-ms-routing-request-id': 'UKSOUTH:20240212T151557Z:e0117800-768e-47ff-a50d-1d35b01de5c7' cli.azure.cli.core.sdk.policies: 'X-Content-Type-Options': 'nosniff' cli.azure.cli.core.sdk.policies: 'Date': 'Mon, 12 Feb 2024 15:15:56 GMT' cli.azure.cli.core.sdk.policies: Response content: cli.azure.cli.core.sdk.policies: {"id":null,"name":"app-ndt-rp-rps-northeuropec5d12f8e","type":"Microsoft.Web/sites","location":"North Europe","tags":{"application":"RegularPayments","created_by":"Card Platform Team","created_date":"01/11/2024 13:54","deployment_method":"Github Action","description":"N/A","expiry_date":"1970-01-01","group":"Stratus","instance_code":"ndt","module":"rp","service_code":"rps","tag_application":"RegularPayments","tag_instance_code":"ndt","tag_pillar_code":"rp","tag_service_code":"rps","tag_service_name":"RegularPayments","team":"StratusTeam4","tenant":"NewDayTechnology"},"properties":{"connectionStringNames":[],"appSettingNames":["FUNCTIONS_DISABLED","AzureFunctionsWebHost__hostid"],"azureStorageConfigNames":[]}} 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: openid_config = {'token_endpoint': 'https://login.microsoftonline.com/10fb7203-c2cb-4477-8faf-a8607d775678/oauth2/v2.0/token', 'token_endpoint_auth_methods_supported': ['client_secret_post', 'private_key_jwt', 'client_secret_basic'], 'jwks_uri': 'https://login.microsoftonline.com/10fb7203-c2cb-4477-8faf-a8607d775678/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.com/10fb7203-c2cb-4477-8faf-a8607d775678/v2.0', 'request_uri_parameter_supported': False, 'userinfo_endpoint': 'https://graph.microsoft.com/oidc/userinfo', 'authorization_endpoint': 'https://login.microsoftonline.com/10fb7203-c2cb-4477-8faf-a8607d775678/oauth2/v2.0/authorize', 'device_authorization_endpoint': 'https://login.microsoftonline.com/10fb7203-c2cb-4477-8faf-a8607d775678/oauth2/v2.0/devicecode', 'http_logout_supported': True, 'frontchannel_logout_supported': True, 'end_session_endpoint': 'https://login.microsoftonline.com/10fb7203-c2cb-4477-8faf-a8607d775678/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.com/10fb7203-c2cb-4477-8faf-a8607d775678/kerberos', 'tenant_region_scope': 'EU', 'cloud_instance_name': 'microsoftonline.com', 'cloud_graph_host_name': 'graph.windows.net', 'msgraph_host': 'graph.microsoft.com', 'rbac_url': 'https://pas.windows.net'} msal.application: Broker enabled? False cli.azure.cli.core.auth.credential_adaptor: CredentialAdaptor.get_token: scopes=('https://management.core.windows.net//.default',), kwargs={} cli.azure.cli.core.auth.msal_authentication: UserCredential.get_token: scopes=('https://management.core.windows.net//.default',), claims=None, kwargs={} msal.application: Cache hit an AT msal.telemetry: Generate or reuse correlation_id: 4d342d0c-a91e-4368-b5ba-75699d163ce5 cli.azure.cli.core.sdk.policies: Request URL: 'https://management.azure.com/subscriptions/adbb1d45-96b4-4a30-9bd0-de06503b4f75/resourceGroups/rg-ndt-rp-rps-northeuropeb9ba4040/providers/Microsoft.Web/sites/app-ndt-rp-rps-northeuropec5d12f8e/config/web?api-version=2023-01-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': 'a0ec2f11-c9b9-11ee-82cd-f44637375fc7' cli.azure.cli.core.sdk.policies: 'CommandName': 'functionapp deployment source config-zip' cli.azure.cli.core.sdk.policies: 'ParameterSetName': '-n -g --slot --src --subscription --debug' cli.azure.cli.core.sdk.policies: 'User-Agent': 'AZURECLI/2.57.0 (MSI) azsdk-python-azure-mgmt-web/7.2.0 Python/3.11.7 (Windows-10-10.0.19045-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.azure.com:443 urllib3.connectionpool: https://management.azure.com:443 "GET /subscriptions/adbb1d45-96b4-4a30-9bd0-de06503b4f75/resourceGroups/rg-ndt-rp-rps-northeuropeb9ba4040/providers/Microsoft.Web/sites/app-ndt-rp-rps-northeuropec5d12f8e/config/web?api-version=2023-01-01 HTTP/1.1" 200 None cli.azure.cli.core.sdk.policies: Response status: 200 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: 'Transfer-Encoding': 'chunked' cli.azure.cli.core.sdk.policies: 'Content-Type': 'application/json' cli.azure.cli.core.sdk.policies: 'Content-Encoding': 'gzip' cli.azure.cli.core.sdk.policies: 'Expires': '-1' cli.azure.cli.core.sdk.policies: 'Vary': 'Accept-Encoding' cli.azure.cli.core.sdk.policies: 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains' cli.azure.cli.core.sdk.policies: 'x-ms-request-id': 'd2460fc5-ac01-436a-acad-81b54d2b1b0a' cli.azure.cli.core.sdk.policies: 'Server': 'Microsoft-IIS/10.0' cli.azure.cli.core.sdk.policies: 'X-AspNet-Version': '4.0.30319' cli.azure.cli.core.sdk.policies: 'X-Powered-By': 'ASP.NET' cli.azure.cli.core.sdk.policies: 'x-ms-ratelimit-remaining-subscription-reads': '11998' cli.azure.cli.core.sdk.policies: 'x-ms-correlation-request-id': '7e0108c0-0ff4-4ae6-9297-c17dbb354b71' cli.azure.cli.core.sdk.policies: 'x-ms-routing-request-id': 'UKSOUTH:20240212T151558Z:7e0108c0-0ff4-4ae6-9297-c17dbb354b71' cli.azure.cli.core.sdk.policies: 'X-Content-Type-Options': 'nosniff' cli.azure.cli.core.sdk.policies: 'Date': 'Mon, 12 Feb 2024 15:15:57 GMT' cli.azure.cli.core.sdk.policies: Response content: cli.azure.cli.core.sdk.policies: {"id":"/subscriptions/adbb1d45-96b4-4a30-9bd0-de06503b4f75/resourceGroups/rg-ndt-rp-rps-northeuropeb9ba4040/providers/Microsoft.Web/sites/app-ndt-rp-rps-northeuropec5d12f8e/config/web","name":"app-ndt-rp-rps-northeuropec5d12f8e","type":"Microsoft.Web/sites/config","location":"North Europe","tags":{"application":"RegularPayments","created_by":"Card Platform Team","created_date":"01/11/2024 13:54","deployment_method":"Github Action","description":"N/A","expiry_date":"1970-01-01","group":"Stratus","instance_code":"ndt","module":"rp","service_code":"rps","tag_application":"RegularPayments","tag_instance_code":"ndt","tag_pillar_code":"rp","tag_service_code":"rps","tag_service_name":"RegularPayments","team":"StratusTeam4","tenant":"NewDayTechnology"},"properties":{"numberOfWorkers":1,"defaultDocuments":["Default.htm","Default.html","Default.asp","index.htm","index.html","iisstart.htm","default.aspx","index.php"],"netFrameworkVersion":"v4.0","phpVersion":"","pythonVersion":"","nodeVersion":"","powerShellVersion":"","linuxFxVersion":"","windowsFxVersion":null,"windowsConfiguredStacks":[],"requestTracingEnabled":false,"remoteDebuggingEnabled":false,"remoteDebuggingVersion":null,"httpLoggingEnabled":false,"azureMonitorLogCategories":[""],"acrUseManagedIdentityCreds":false,"acrUserManagedIdentityID":null,"logsDirectorySizeLimit":35,"detailedErrorLoggingEnabled":false,"publishingUsername":"$app-ndt-rp-rps-northeuropec5d12f8e","publishingPassword":null,"appSettings":null,"metadata":null,"connectionStrings":null,"machineKey":null,"handlerMappings":null,"documentRoot":null,"scmType":"None","use32BitWorkerProcess":false,"webSocketsEnabled":false,"alwaysOn":true,"javaVersion":null,"javaContainer":null,"javaContainerVersion":null,"appCommandLine":"","managedPipelineMode":"Integrated","virtualApplications":[{"virtualPath":"/","physicalPath":"site\wwwroot","preloadEnabled":true,"virtualDirectories":null}],"winAuthAdminState":0,"winAuthTenantState":0,"customAppPoolIdentityAdminState":false,"customAppPoolIdentityTenantState":false,"runtimeADUser":null,"runtimeADUserPassword":null,"loadBalancing":"LeastRequests","routingRules":[],"experiments":{"rampUpRules":[]},"limits":null,"autoHealEnabled":false,"autoHealRules":null,"tracingOptions":null,"vnetName":"697cc115-5389-47d2-870b-c39f0c24d7c9_service-subnet-rps","vnetRouteAllEnabled":true,"vnetPrivatePortsCount":0,"publicNetworkAccess":"Disabled","siteAuthEnabled":false,"siteAuthSettings":{"enabled":null,"unauthenticatedClientAction":null,"tokenStoreEnabled":null,"allowedExternalRedirectUrls":null,"defaultProvider":null,"clientId":null,"clientSecret":null,"clientSecretSettingName":null,"clientSecretCertificateThumbprint":null,"issuer":null,"allowedAudiences":null,"additionalLoginParams":null,"isAadAutoProvisioned":false,"aadClaimsAuthorization":null,"googleClientId":null,"googleClientSecret":null,"googleClientSecretSettingName":null,"googleOAuthScopes":null,"facebookAppId":null,"facebookAppSecret":null,"facebookAppSecretSettingName":null,"facebookOAuthScopes":null,"gitHubClientId":null,"gitHubClientSecret":null,"gitHubClientSecretSettingName":null,"gitHubOAuthScopes":null,"twitterConsumerKey":null,"twitterConsumerSecret":null,"twitterConsumerSecretSettingName":null,"microsoftAccountClientId":null,"microsoftAccountClientSecret":null,"microsoftAccountClientSecretSettingName":null,"microsoftAccountOAuthScopes":null,"configVersion":null},"cors":null,"push":null,"apiDefinition":null,"apiManagementConfig":null,"autoSwapSlotName":null,"localMySqlEnabled":false,"managedServiceIdentityId":null,"xManagedServiceIdentityId":23348,"keyVaultReferenceIdentity":null,"ipSecurityRestrictions":[{"ipAddress":"Any","action":"Allow","priority":2147483647,"name":"Allow all","description":"Allow all access"}],"ipSecurityRestrictionsDefaultAction":null,"scmIpSecurityRestrictions":[{"ipAddress":"Any","action":"Allow","priority":2147483647,"name":"Allow all","description":"Allow all access"}],"scmIpSecurityRestrictionsDefaultAction":null,"scmIpSecurityRestrictionsUseMain":false,"http20Enabled":true,"minTlsVersion":"1.2","minTlsCipherSuite":null,"supportedTlsCipherSuites":null,"scmMinTlsVersion":"1.2","ftpsState":"FtpsOnly","preWarmedInstanceCount":0,"functionAppScaleLimit":0,"elasticWebAppScaleLimit":null,"healthCheckPath":null,"fileChangeAuditEnabled":false,"functionsRuntimeScaleMonitoringEnabled":false,"websiteTimeZone":null,"minimumElasticInstanceCount":0,"azureStorageAccounts":{},"http20ProxyFlag":0,"sitePort":null,"antivirusScanEnabled":false,"storageType":"StorageVolume","sitePrivateLinkHostEnabled":false}} 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 664, in execute File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 729, 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 698, in _run_job File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 334, in call File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/command_operation.py", line 121, in handler File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/appservice/custom.py", line 579, in enable_zip_deploy_functionapp File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/appservice/custom.py", line 414, in check_language_runtime File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/appservice/custom.py", line 6966, in _get_functionapp_runtime_info File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/appservice/custom.py", line 7030, in _get_functionapp_runtime_info_helper azure.cli.core.azclierror.ValidationError: Runtime is not supported.

cli.azure.cli.core.azclierror: Runtime is not supported. az_command_data_logger: Runtime is not supported. cli.knack.cli: Event: Cli.PostExecute [<function AzCliLogging.deinit_cmd_metadata_logging at 0x04530708>] az_command_data_logger: exit code: 1 cli.main: Command ran in 3.939 seconds (init: 0.432, invoke: 3.507) cli.azure.cli.core.decorators: Suppress exception: Traceback (most recent call last): File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/main.py", line 62, in File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/main.py", line 55, in SystemExit: 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/decorators.py", line 79, in _wrapped_func File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/telemetry.py", line 532, in _get_secrets_warning_config File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/config.py", line 147, in getboolean ValueError: Not a boolean: None

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 3495 in cache telemetry.main: Begin creating telemetry upload process. telemetry.process: Creating upload process: "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\Lib\site-packages\azure\cli\telemetry_init_.pyc C:\Users\N17099.azure" telemetry.process: Return from creating process telemetry.main: Finish creating telemetry upload process.

Expected behavior

Using ver 2.57.0 of az cli functionapp deployment vai config-zip should work

Environment Summary

azure-cli 2.57.0

core 2.57.0 telemetry 1.1.0

Extensions: bastion 0.2.3

Dependencies: msal 1.26.0 azure-mgmt-resource 23.1.0b2

Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe' Extensions directory 'C:\Users\N17099.azure\cliextensions'

Python (Windows) 3.11.7 (tags/v3.11.7:fa7a6f2, Dec 4 2023, 19:13:08) [MSC v.1937 32 bit (Intel)]

Legal docs and information: aka.ms/AzureCliLegal

Additional context

No response

tsbala avatar Feb 12 '24 15:02 tsbala

Thank you for opening this issue, we will look into it.

yonzhan avatar Feb 12 '24 15:02 yonzhan

Hello, I have been facing the exact same issue - "Runtime not supported". I am trying to deploy a node app (using node 18) to azure functions. az cli version is 2.57.0 . Command I am trying to run :

az functionapp deployment source config-zip -g "<resource_group_name>" -n "<azure_function_name>" --src "<path_to_zip_source>" --debug

When I tried with az cli version 2.56.0, the deployment step seems to go in an infinite loop with this status: cli.azure.cli.command_modules.appservice.custom: Running deployment command...

I can email you the logs if needed for both these scenarios.

KarishmaGhiya avatar Feb 14 '24 09:02 KarishmaGhiya

This is hitting our deployments too, in particular in classic pipelines on Azure DevOps via the PowerShell or PowerShell Core azure CLI tasks.

jamesW360DotNet avatar Feb 14 '24 11:02 jamesW360DotNet

This is affecting a large number of our pipelines also. Is there any known workaround?

eoinbarry-dreamdev avatar Feb 14 '24 14:02 eoinbarry-dreamdev

This is affecting a large number of our pipelines also. Is there any known workaround?

I had to deploy my function app from local azure-cli instead. If you have a lot that might not be feasible though.

jamesW360DotNet avatar Feb 14 '24 15:02 jamesW360DotNet

This is affecting a large number of our pipelines also. Is there any known workaround?

I had to deploy my function app from local azure-cli instead. If you have a lot that might not be feasible though.

Unfortunately this is not an option. We have a lot of functions across different clients. All deployed using pipelines

eoinbarry-dreamdev avatar Feb 15 '24 12:02 eoinbarry-dreamdev

n option. We have a lot of functions across different clients. All deployed using pipelines

You can temporarily install an older azure cli version in a step. This step needs to be added to each job

steps:
  - bash: pip install azure-cli=="2.56.0"
    displayName: 'Install Azure CLI version'

VigoC avatar Feb 15 '24 13:02 VigoC

pip install azure-cli=="2.56.0"

You saved more searching for me. Thanks. It seems to have worked on my classic release pipeline using an Azure CLI task with shell.

"temporary" though? Sure ;)

jamesW360DotNet avatar Feb 15 '24 14:02 jamesW360DotNet

n option. We have a lot of functions across different clients. All deployed using pipelines

You can temporarily install an older azure cli version in a step. This step needs to be added to each job

steps:
  - bash: pip install azure-cli=="2.56.0"
    displayName: 'Install Azure CLI version'

Thank you, this worked for us!

eoinbarry-dreamdev avatar Feb 15 '24 15:02 eoinbarry-dreamdev

Glad to have found this issue as this has stopped DevOps deployment of a custom GOLANG function app. This is a multi-environment deployment that applies environment variables for the function to execute. When will this be fixed?

Please +1 this issue folks!

==============================================================================
Task         : Azure CLI
Description  : Run Azure CLI commands against an Azure subscription in a PowerShell Core/Shell script when running on Linux agent or PowerShell/PowerShell Core/Batch script when running on Windows agent.
Version      : 2.230.0
Author       : Microsoft Corporation
Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/deploy/azure-cli
==============================================================================
/usr/bin/az --version
azure-cli                         2.57.0

core                              2.57.0
telemetry                          1.1.0

Extensions:
azure-devops                      0.26.0

Dependencies:
msal                              1.26.0
azure-mgmt-resource             23.1.0b2

Python location '/opt/az/bin/python3'
Extensions directory '/opt/az/azcliextensions'

Python (Linux) 3.11.7 (main, Jan 31 2024, 05:29:49) [GCC 11.4.0]

Legal docs and information: aka.ms/AzureCliLegal


Your CLI is up-to-date.
Setting AZURE_CONFIG_DIR env variable to: /home/vsts/work/_temp/.azclitask
Setting active cloud to: AzureCloud
/usr/bin/az cloud set -n AzureCloud
/usr/bin/az login --service-principal -u *** --password=*** --tenant <<REDACTED>> --allow-no-subscriptions
[
  {
    "cloudName": "AzureCloud",
    "homeTenantId": "<<REDACTED>>",
    "id": "f81a55d9-f546-4e9e-a9d1-0e7dc868a90f",
    "isDefault": true,
    "managedByTenants": [],
    "name": "SIT US - CFA - prod",
    "state": "Enabled",
    "tenantId": "<<REDACTED>>",
    "user": {
      "name": "***",
      "type": "servicePrincipal"
    }
  }
]
/usr/bin/az account set --subscription f81a55d9-f546-4e9e-a9d1-0e7dc868a90f
/usr/bin/bash /home/vsts/work/_temp/azureclitaskscript1708549972555.sh
ERROR: Runtime  is not supported.
ERROR: Runtime  is not supported.
##[error]Script failed with exit code: 1
/usr/bin/az account clear
Finishing: Configure Function App Settings

pbeasley08 avatar Feb 21 '24 21:02 pbeasley08

I hit the same Runtime is not supported. with az functionapp config appsettings set ..., ie raise ValidationError(f"Runtime {app_runtime} is not supported.") but app_runtime is "".

Call stack
Traceback (most recent call last):
  File "/opt/az/lib/python3.11/site-packages/knack/cli.py", line 233, in invoke
    cmd_result = self.invocation.execute(args)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/az/lib/python3.11/site-packages/azure/cli/core/commands/__init__.py", line 664, in execute
    raise ex
  File "/opt/az/lib/python3.11/site-packages/azure/cli/core/commands/__init__.py", line 729, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/az/lib/python3.11/site-packages/azure/cli/core/commands/__init__.py", line 721, in _run_job
    return cmd_copy.exception_handler(ex)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/az/lib/python3.11/site-packages/azure/cli/command_modules/appservice/commands.py", line 46, in _ex_handler
    raise ex
  File "/opt/az/lib/python3.11/site-packages/azure/cli/core/commands/__init__.py", line 698, in _run_job
    result = cmd_copy(params)
             ^^^^^^^^^^^^^^^^
  File "/opt/az/lib/python3.11/site-packages/azure/cli/core/commands/__init__.py", line 334, in __call__
    return self.handler(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/az/lib/python3.11/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
    return op(**command_args)
           ^^^^^^^^^^^^^^^^^^
  File "/opt/az/lib/python3.11/site-packages/azure/cli/command_modules/appservice/custom.py", line 426, in update_app_settings_functionapp
    check_language_runtime(cmd, resource_group_name, name)
  File "/opt/az/lib/python3.11/site-packages/azure/cli/command_modules/appservice/custom.py", line 414, in check_language_runtime
    runtime_info = _get_functionapp_runtime_info(cmd, resource_group_name, name, None, is_linux)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/az/lib/python3.11/site-packages/azure/cli/command_modules/appservice/custom.py", line 6966, in _get_functionapp_runtime_info
    return _get_functionapp_runtime_info_helper(cmd, app_runtime, None, functionapp_version, is_linux) #
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/az/lib/python3.11/site-packages/azure/cli/command_modules/appservice/custom.py", line 7030, in _get_functionapp_runtime_info_helper
    raise 5 # ValidationError(f"Runtime {app_runtime} is not supported.")
    ^^^^^^^

(I changed the raise ValidationError to raise 5 to get it to print the stack trace instead of just the message.)

The bug was introduced by 4e551ab71c665b412622f98f335fa301b2ece414 in 2.57.0 that added the call to check_language_runtime to various places.

I could've downgraded to 2.56.0, but in my case it was sufficient to just remove that call instead:

 def update_app_settings_functionapp(cmd, resource_group_name, name, settings=None, slot=None, slot_settings=None):
-    check_language_runtime(cmd, resource_group_name, name)
     return update_app_settings(cmd, resource_group_name, name, settings, slot, slot_settings)

Of course if you're hitting it with a different command, like OP is hitting with az functionapp deployment, then there might be another call that you have to comment out. All calls can be removed with something like:

sed -i -e '/^\s*check_language_runtime(cmd, resource_group_name, name)$/d' /opt/az/lib/python*/site-packages/azure/cli/command_modules/appservice/custom.py

Or just downgrade to 2.56.0

Arnavion avatar Mar 03 '24 04:03 Arnavion

Nice find, but I think you mean https://github.com/Azure/azure-cli/commit/4e551ab71c665b412622f98f335fa301b2ece414, which was part of #28154

FH-Inway avatar Mar 03 '24 17:03 FH-Inway

I ran into this issue because I had not compiled my custom handler for the correct runtime, for example we are using golang so we had to do:

GOOS=linux GOARCH=amd64 go build -o handler handler.go

Once i did that, it fixed it.

MitchellMcKenna avatar Apr 04 '24 21:04 MitchellMcKenna

Hello all! The reason why this error surfaced for you @tsbala is because when we run that validation on your runtime, we use linuxFxVersion for linux apps and based on the payload you provided, it appears your function app does not have linuxFxVersion populated. I am currently discussing with my peers what we could do to move forward and unblock you in the future. I cannot tell if that is the same root cause for everyone else on this thread since I do not have any details on their function app configuration.

kamperiadis avatar Apr 26 '24 23:04 kamperiadis

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @AnatoliB, @Francisco-Gamino, @shreyabatra4.

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @AnatoliB, @Francisco-Gamino, @shreyabatra4.