-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Description
Describe the bug
I keep getting this error: Repository 'UpdateSiteSourceControl' operation failed with Invalid RepoUrl format. Expected https or SSH format..
I tried creating a new fresh azure account, new azure devops account and repo, set up a fresh new web app.
I tried using the Azure Portal to set up Continous Deployment with this new Azure Devops Repo but I get this error.
I also tried the CLI but it doesn't work, same error message.
Related command
az webapp deployment source config --name WebAppTester --resource-group WebAppServicePlanTest_group --repo-url "https://dev.azure.com/BrianTestingOrg/AshfordsTesting/_git/AshfordsTesting" --branch main --manual-integration
Errors
Repository 'UpdateSiteSourceControl' operation failed with Invalid RepoUrl format. Expected https or SSH format..
Issue script & Debug output
PS C:\Users\brian> az webapp deployment source config --name WebAppTester --resource-group WebAppServicePlanTest_group --repo-url "https://dev.azure.com/BrianTestingOrg/AshfordsTesting/_git/AshfordsTesting" --branch main --manual-integration --debug
cli.knack.cli: Command arguments: ['webapp', 'deployment', 'source', 'config', '--name', 'WebAppTester', '--resource-group', 'WebAppServicePlanTest_group', '--repo-url', 'https://dev.azure.com/BrianTestingOrg/AshfordsTesting/_git/AshfordsTesting', '--branch', 'main', '--manual-integration', '--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 0x000001DC81D644A0>, <function OutputProducer.on_global_arguments at 0x000001DC822F98A0>, <function CLIQuery.on_global_arguments at 0x000001DC8234B7E0>]
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableCreate []
cli.azure.cli.core: Modules found from index for 'webapp': ['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.334 88 299
cli.azure.cli.core: serviceconnector 0.013 20 331
cli.azure.cli.core: Total (2) 0.347 108 630
cli.azure.cli.core: Loaded 106 groups, 630 commands.
cli.azure.cli.core: Found a match in the command table.
cli.azure.cli.core: Raw command : webapp deployment source config
cli.azure.cli.core: Command table: webapp deploy
cli.azure.cli.core: remaining : ent source config
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableTruncate [<function AzCliLogging.init_command_file_logging at 0x000001DC842BD4E0>]
cli.azure.cli.core.azlogging: metadata file logging enabled - writing logs to 'C:\Users\brian.azure\commands\2026-02-16.23-06-45.webapp_deployment_source_config.528.log'.
az_command_data_logger: command args: webapp deployment source config --name {} --resource-group {} --repo-url {} --branch {} --manual-integration --debug
cli.knack.cli: Event: CommandInvoker.OnPreArgumentLoad [<function register_global_subscription_argument..add_subscription_parameter at 0x000001DC84306B60>]
cli.knack.cli: Event: CommandInvoker.OnPostArgumentLoad []
cli.knack.cli: Event: CommandInvoker.OnPostCommandTableCreate [<function register_ids_argument..add_ids_arguments at 0x000001DC84328EA0>, <function register_cache_arguments..add_cache_arguments at 0x000001DC84329080>, <function register_upcoming_breaking_change_info..update_breaking_change_info at 0x000001DC84329120>]
cli.knack.cli: Event: CommandInvoker.OnCommandTableLoaded []
cli.knack.cli: Event: CommandInvoker.OnPreParseArgs []
cli.knack.cli: Event: CommandInvoker.OnPostParseArgs [<function OutputProducer.handle_output_argument at 0x000001DC822F9940>, <function CLIQuery.handle_query_parameter at 0x000001DC8234B880>, <function register_ids_argument..parse_ids_arguments at 0x000001DC84328F40>]
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\brian\.azure\msal_token_cache.bin', encrypt=True
cli.azure.cli.core.auth.binary_cache: load: C:\Users\brian.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: Initializing with Entra authority: https://login.microsoftonline.com/d420256b-61e4-400e-b4b9-8004e6d9469b
msal.authority: openid_config("https://login.microsoftonline.com/d420256b-61e4-400e-b4b9-8004e6d9469b/v2.0/.well-known/openid-configuration") = {'token_endpoint': 'https://login.microsoftonline.com/d420256b-61e4-400e-b4b9-8004e6d9469b/oauth2/v2.0/token', 'token_endpoint_auth_methods_supported': ['client_secret_post', 'private_key_jwt', 'client_secret_basic', 'self_signed_tls_client_auth'], 'jwks_uri': 'https://login.microsoftonline.com/d420256b-61e4-400e-b4b9-8004e6d9469b/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'], 'request_uri_parameter_supported': False, 'userinfo_endpoint': 'https://graph.microsoft.com/oidc/userinfo', 'authorization_endpoint': 'https://login.microsoftonline.com/d420256b-61e4-400e-b4b9-8004e6d9469b/oauth2/v2.0/authorize', 'device_authorization_endpoint': 'https://login.microsoftonline.com/d420256b-61e4-400e-b4b9-8004e6d9469b/oauth2/v2.0/devicecode', 'http_logout_supported': True, 'frontchannel_logout_supported': True, 'end_session_endpoint': 'https://login.microsoftonline.com/d420256b-61e4-400e-b4b9-8004e6d9469b/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/d420256b-61e4-400e-b4b9-8004e6d9469b/kerberos', 'mtls_endpoint_aliases': {'token_endpoint': 'https://mtlsauth.microsoft.com/d420256b-61e4-400e-b4b9-8004e6d9469b/oauth2/v2.0/token'}, 'tls_client_certificate_bound_access_tokens': True, 'tenant_region_scope': 'OC', '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? True
cli.azure.cli.core.auth.credential_adaptor: CredentialAdaptor.get_token_info: scopes=('https://management.core.windows.net//.default',), options={}
cli.azure.cli.core.auth.msal_credentials: UserCredential.acquire_token: scopes=['https://management.core.windows.net//.default'], claims_challenge=None, kwargs={}
msal.application: Cache hit an AT
msal.telemetry: Generate or reuse correlation_id: bc3c5249-0ae1-416a-bb0b-98fa64905989
cli.azure.cli.core.sdk.policies: Request URL: 'https://management.azure.com/subscriptions/6486f69c-ac7c-4845-b68b-7a3806477108/resourceGroups/WebAppServicePlanTest_group/providers/Microsoft.Web/sites/WebAppTester?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': 'f6a7270b-0b2f-11f1-a0d7-50ebf69cd16a'
cli.azure.cli.core.sdk.policies: 'CommandName': 'webapp deployment source config'
cli.azure.cli.core.sdk.policies: 'ParameterSetName': '--name --resource-group --repo-url --branch --manual-integration --debug'
cli.azure.cli.core.sdk.policies: 'User-Agent': 'AZURECLI/2.83.0 (MSI) azsdk-python-core/1.38.0 Python/3.13.11 (Windows-11-10.0.26200-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/6486f69c-ac7c-4845-b68b-7a3806477108/resourceGroups/WebAppServicePlanTest_group/providers/Microsoft.Web/sites/WebAppTester?api-version=2024-11-01 HTTP/1.1" 200 8532
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: 'Content-Length': '8532'
cli.azure.cli.core.sdk.policies: 'Content-Type': 'application/json'
cli.azure.cli.core.sdk.policies: 'Expires': '-1'
cli.azure.cli.core.sdk.policies: 'ETag': '"1DC9F3A391B9220"'
cli.azure.cli.core.sdk.policies: 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
cli.azure.cli.core.sdk.policies: 'x-ms-request-id': '00c984c7-d039-40e9-8657-c604c8195d15'
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': '249'
cli.azure.cli.core.sdk.policies: 'x-ms-ratelimit-remaining-subscription-global-reads': '3749'
cli.azure.cli.core.sdk.policies: 'x-ms-correlation-request-id': '98126f11-aa51-426d-8486-1d8921904351'
cli.azure.cli.core.sdk.policies: 'x-ms-routing-request-id': 'AUSTRALIASOUTHEAST:20260216T120640Z:98126f11-aa51-426d-8486-1d8921904351'
cli.azure.cli.core.sdk.policies: 'X-Content-Type-Options': 'nosniff'
cli.azure.cli.core.sdk.policies: 'X-Cache': 'CONFIG_NOCACHE'
cli.azure.cli.core.sdk.policies: 'X-MSEdge-Ref': 'Ref A: 4695B0A7FE914136BED7FAB949CB13B8 Ref B: SYD03EDGE1411 Ref C: 2026-02-16T12:06:40Z'
cli.azure.cli.core.sdk.policies: 'Date': 'Mon, 16 Feb 2026 12:06:39 GMT'
cli.azure.cli.core.sdk.policies: Response content:
cli.azure.cli.core.sdk.policies: {"id":"/subscriptions/6486f69c-ac7c-4845-b68b-7a3806477108/resourceGroups/WebAppServicePlanTest_group/providers/Microsoft.Web/sites/WebAppTester","name":"WebAppTester","type":"Microsoft.Web/sites","kind":"app,linux","location":"Australia Southeast","properties":{"name":"WebAppTester","state":"Running","hostNames":["webapptester-f8gfbwgjc4buekf7.australiasoutheast-01.azurewebsites.net"],"webSpace":"WebAppServicePlanTest_group-AustraliaSoutheastwebspace-Linux","selfLink":"https://waws-prod-ml1-027.api.azurewebsites.windows.net:454/subscriptions/6486f69c-ac7c-4845-b68b-7a3806477108/webspaces/WebAppServicePlanTest_group-AustraliaSoutheastwebspace-Linux/sites/WebAppTester","repositorySiteName":"WebAppTester","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"siteScopedCertificatesEnabled":false,"afdEnabled":false,"enabledHostNames":["webapptester-f8gfbwgjc4buekf7.australiasoutheast-01.azurewebsites.net","webapptester-f8gfbwgjc4buekf7.scm.australiasoutheast-01.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":"NODE|24-lts"},{"name":"WindowsFxVersion","value":null}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"webapptester-f8gfbwgjc4buekf7.australiasoutheast-01.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"virtualIPv6":null,"thumbprint":null,"certificateResourceId":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"webapptester-f8gfbwgjc4buekf7.scm.australiasoutheast-01.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/6486f69c-ac7c-4845-b68b-7a3806477108/resourceGroups/WebAppServicePlanTest_group/providers/Microsoft.Web/serverfarms/WebAppServicePlanTest","reserved":true,"isXenon":false,"hyperV":false,"sandboxType":null,"lastModifiedTimeUtc":"2026-02-16T11:48:52.93","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","dnsConfiguration":{},"containerAllocationSubnet":null,"useContainerLocalhostBindings":null,"outboundVnetRouting":{"allTraffic":false,"applicationTraffic":false,"contentShareTraffic":false,"imagePullTraffic":false,"backupRestoreTraffic":false,"managedIdentityTraffic":false},"legacyServiceEndpointTrafficEvaluation":null,"siteConfig":{"numberOfWorkers":1,"defaultDocuments":null,"netFrameworkVersion":null,"phpVersion":null,"pythonVersion":null,"nodeVersion":null,"powerShellVersion":null,"linuxFxVersion":"NODE|24-lts","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":false,"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":false,"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,"webJobsEnabled":false},"functionAppConfig":null,"daprConfig":null,"deploymentId":"WebAppTester","slotName":null,"trafficManagerHostNames":null,"sku":"Free","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","domainVerificationIdentifiers":null,"customDomainVerificationId":"CD3252797FE8FEF1E01A17BCBBD56C0B1082AF36CE1A676D72875B887C254FF0","kind":"app,linux","managedEnvironmentId":null,"workloadProfileName":null,"resourceConfig":null,"inboundIpAddress":"13.77.50.99","possibleInboundIpAddresses":"13.77.50.99","inboundIpv6Address":"2603:1010:101:402::a1","possibleInboundIpv6Addresses":"2603:1010:101:402::a1","ftpUsername":"WebAppTester\\$WebAppTester","ftpsHostName":"ftps://waws-prod-ml1-027.ftp.azurewebsites.windows.net/site/wwwroot","outboundIpAddresses":"52.189.223.107,13.77.42.25,13.77.46.217,52.189.221.141,13.77.50.99","possibleOutboundIpAddresses":"52.189.223.107,13.77.42.25,13.77.46.217,52.189.221.141,52.243.85.201,52.243.85.94,52.189.234.152,13.77.56.61,52.189.214.112,20.11.210.198,20.211.233.197,20.211.238.191,20.11.210.187,20.11.211.1,20.11.211.80,4.198.70.38,20.92.41.250,4.198.68.27,4.198.68.42,20.92.47.59,20.92.42.78,13.77.50.99","outboundIpv6Addresses":"2603:1010:200::1ae,2603:1010:200::1b2,2603:1010:200::1b6,2603:1010:202:3::f,2603:1010:101:402::a1,2603:10e1:100:2::d4d:3263","possibleOutboundIpv6Addresses":"2603:1010:200::1ae,2603:1010:200::1b2,2603:1010:200::1b6,2603:1010:202:3::f,2603:1010:202:3::16,2603:1010:202:3::1e,2603:1010:202:3::4f,2603:1010:202:3::55,2603:1010:202:3::a3,2603:1010:202:3::bb,2603:1010:202:3::135,2603:1010:202:3::138,2603:1010:202:3::13d,2603:1010:202:3::140,2603:1010:202:3::149,2603:1010:202:3::14a,2603:1010:202:3::d8,2603:1010:202:3::d9,2603:1010:202:3::10a,2603:1010:202:3::10b,2603:1010:202:3::13a,2603:1010:101:402::a1,2603:10e1:100:2::d4d:3263","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-ml1-027","cloningInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"WebAppServicePlanTest_group","defaultHostName":"webapptester-f8gfbwgjc4buekf7.australiasoutheast-01.azurewebsites.net","slotSwapStatus":null,"httpsOnly":true,"endToEndEncryptionEnabled":false,"functionsRuntimeAdminIsolationEnabled":false,"redundancyMode":"None","inProgressOperationId":null,"geoDistributions":null,"privateEndpointConnections":[],"publicNetworkAccess":"Enabled","buildVersion":null,"targetBuildVersion":null,"migrationState":null,"eligibleLogCategories":"AppServiceAppLogs,AppServiceConsoleLogs,AppServiceHTTPLogs,AppServicePlatformLogs,ScanLogs,AppServiceAuthenticationLogs,AppServiceAuditLogs,AppServiceIPSecAuditLogs","inFlightFeatures":["SiteContainers","RouteGeoCapacityClientTrafficToV2","RouteOperationClientTrafficToV2","RouteGeoPlanClientTrafficToV2","RouteGeoSourceControlKeyClientTrafficToV2","RouteGeoUserClientTrafficToV2"],"storageAccountRequired":false,"virtualNetworkSubnetId":null,"keyVaultReferenceIdentity":"SystemAssigned","autoGeneratedDomainNameLabelScope":"TenantReuse","privateLinkIdentifiers":null,"sshEnabled":true}}
azure.mgmt.web.v2024_11_01._utils.serialization: location is not a known attribute of class <class 'azure.mgmt.web.v2024_11_01.models._models_py3.SiteSourceControl'> and will be ignored
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.com/d420256b-61e4-400e-b4b9-8004e6d9469b
msal.authority: openid_config("https://login.microsoftonline.com/d420256b-61e4-400e-b4b9-8004e6d9469b/v2.0/.well-known/openid-configuration") = {'token_endpoint': 'https://login.microsoftonline.com/d420256b-61e4-400e-b4b9-8004e6d9469b/oauth2/v2.0/token', 'token_endpoint_auth_methods_supported': ['client_secret_post', 'private_key_jwt', 'client_secret_basic', 'self_signed_tls_client_auth'], 'jwks_uri': 'https://login.microsoftonline.com/d420256b-61e4-400e-b4b9-8004e6d9469b/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'], 'request_uri_parameter_supported': False, 'userinfo_endpoint': 'https://graph.microsoft.com/oidc/userinfo', 'authorization_endpoint': 'https://login.microsoftonline.com/d420256b-61e4-400e-b4b9-8004e6d9469b/oauth2/v2.0/authorize', 'device_authorization_endpoint': 'https://login.microsoftonline.com/d420256b-61e4-400e-b4b9-8004e6d9469b/oauth2/v2.0/devicecode', 'http_logout_supported': True, 'frontchannel_logout_supported': True, 'end_session_endpoint': 'https://login.microsoftonline.com/d420256b-61e4-400e-b4b9-8004e6d9469b/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/d420256b-61e4-400e-b4b9-8004e6d9469b/kerberos', 'mtls_endpoint_aliases': {'token_endpoint': 'https://mtlsauth.microsoft.com/d420256b-61e4-400e-b4b9-8004e6d9469b/oauth2/v2.0/token'}, 'tls_client_certificate_bound_access_tokens': True, 'tenant_region_scope': 'OC', '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? True
cli.azure.cli.core.auth.credential_adaptor: CredentialAdaptor.get_token_info: scopes=('https://management.core.windows.net//.default',), options={}
cli.azure.cli.core.auth.msal_credentials: UserCredential.acquire_token: scopes=['https://management.core.windows.net//.default'], claims_challenge=None, kwargs={}
msal.application: Cache hit an AT
msal.telemetry: Generate or reuse correlation_id: df9fc422-8f4e-494a-9ce8-d86dfee651a2
cli.azure.cli.core.sdk.policies: Request URL: 'https://management.azure.com/subscriptions/6486f69c-ac7c-4845-b68b-7a3806477108/resourceGroups/WebAppServicePlanTest_group/providers/Microsoft.Web/sites/WebAppTester/sourcecontrols/web?api-version=2024-11-01'
cli.azure.cli.core.sdk.policies: Request method: 'PUT'
cli.azure.cli.core.sdk.policies: Request headers:
cli.azure.cli.core.sdk.policies: 'Content-Type': 'application/json'
cli.azure.cli.core.sdk.policies: 'Content-Length': '199'
cli.azure.cli.core.sdk.policies: 'Accept': 'application/json'
cli.azure.cli.core.sdk.policies: 'x-ms-client-request-id': 'f6a7270b-0b2f-11f1-a0d7-50ebf69cd16a'
cli.azure.cli.core.sdk.policies: 'CommandName': 'webapp deployment source config'
cli.azure.cli.core.sdk.policies: 'ParameterSetName': '--name --resource-group --repo-url --branch --manual-integration --debug'
cli.azure.cli.core.sdk.policies: 'User-Agent': 'AZURECLI/2.83.0 (MSI) azsdk-python-core/1.38.0 Python/3.13.11 (Windows-11-10.0.26200-SP0)'
cli.azure.cli.core.sdk.policies: 'Authorization': ''
cli.azure.cli.core.sdk.policies: Request body:
cli.azure.cli.core.sdk.policies: {"properties": {"repoUrl": "https://dev.azure.com/BrianTestingOrg/AshfordsTesting/_git/AshfordsTesting", "branch": "main", "isManualIntegration": true, "isGitHubAction": false, "isMercurial": false}}
urllib3.connectionpool: Starting new HTTPS connection (1): management.azure.com:443
urllib3.connectionpool: https://management.azure.com:443 "PUT /subscriptions/6486f69c-ac7c-4845-b68b-7a3806477108/resourceGroups/WebAppServicePlanTest_group/providers/Microsoft.Web/sites/WebAppTester/sourcecontrols/web?api-version=2024-11-01 HTTP/1.1" 400 689
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-Length': '689'
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: 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
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-operation-identifier': 'tenantId=d420256b-61e4-400e-b4b9-8004e6d9469b,objectId=d2d051d9-b1d6-4990-8f2e-cc0090d76761/australiasoutheast/7a6e6bc7-7ad0-4a0a-9f07-ccb4b2f253be'
cli.azure.cli.core.sdk.policies: 'x-ms-ratelimit-remaining-subscription-writes': '199'
cli.azure.cli.core.sdk.policies: 'x-ms-ratelimit-remaining-subscription-global-writes': '2999'
cli.azure.cli.core.sdk.policies: 'x-ms-request-id': 'ec3b130b-4a98-41c7-87e1-c244d4a6f4eb'
cli.azure.cli.core.sdk.policies: 'x-ms-correlation-request-id': 'ec3b130b-4a98-41c7-87e1-c244d4a6f4eb'
cli.azure.cli.core.sdk.policies: 'x-ms-routing-request-id': 'AUSTRALIASOUTHEAST:20260216T120640Z:ec3b130b-4a98-41c7-87e1-c244d4a6f4eb'
cli.azure.cli.core.sdk.policies: 'X-Content-Type-Options': 'nosniff'
cli.azure.cli.core.sdk.policies: 'X-Cache': 'CONFIG_NOCACHE'
cli.azure.cli.core.sdk.policies: 'X-MSEdge-Ref': 'Ref A: 4C32245FF9764EEFB88C4FC26BEB24B1 Ref B: SYD03EDGE1416 Ref C: 2026-02-16T12:06:40Z'
cli.azure.cli.core.sdk.policies: 'Date': 'Mon, 16 Feb 2026 12:06:40 GMT'
cli.azure.cli.core.sdk.policies: Response content:
cli.azure.cli.core.sdk.policies: Body is streamable
azure.mgmt.web._serialization: Ran into a deserialization error. Ignoring since this is failsafe deserialization
Traceback (most recent call last):
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/mgmt/web/_serialization.py", line 1535, in failsafe_deserialize
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/mgmt/web/_serialization.py", line 1402, in call
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/mgmt/web/_serialization.py", line 1566, in _unpack_content
ValueError: This pipeline didn't have the RawDeserializer policy; can't deserialize
cli.azure.cli.core.azclierror: Traceback (most recent call last):
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 706, 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 120, in handler
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/appservice/custom.py", line 3983, in config_source_control
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/appservice/_appservice_utils.py", line 21, 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 53473, in begin_create_or_update_source_control
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 53370, in _create_or_update_source_control_initial
azure.core.exceptions.HttpResponseError: Operation returned an invalid status 'Bad Request'
Content: {"Code":"BadRequest","Message":"Repository 'UpdateSiteSourceControl' operation failed with Invalid RepoUrl format. Expected https or SSH format..","Target":null,"Details":[{"Message":"Repository 'UpdateSiteSourceControl' operation failed with Invalid RepoUrl format. Expected https or SSH format.."},{"Code":"BadRequest"},{"ErrorEntity":{"ExtendedCode":"05007","MessageTemplate":"Repository '{0}' operation failed with {1}.","Parameters":["UpdateSiteSourceControl","Invalid RepoUrl format. Expected https or SSH format."],"Code":"BadRequest","Message":"Repository 'UpdateSiteSourceControl' operation failed with Invalid RepoUrl format. Expected https or SSH format.."}}],"Innererror":null}
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\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 669, in execute
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 737, 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 729, in _run_job
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/appservice/commands.py", line 46, in _ex_handler
knack.util.CLIError: Repository 'UpdateSiteSourceControl' operation failed with Invalid RepoUrl format. Expected https or SSH format..
cli.azure.cli.core.azclierror: Repository 'UpdateSiteSourceControl' operation failed with Invalid RepoUrl format. Expected https or SSH format..
az_command_data_logger: Repository 'UpdateSiteSourceControl' operation failed with Invalid RepoUrl format. Expected https or SSH format..
cli.knack.cli: Event: Cli.PostExecute [<function AzCliLogging.deinit_cmd_metadata_logging at 0x000001DC842BD760>]
az_command_data_logger: exit code: 1
cli.main: Command ran in 1.531 seconds (init: 0.178, invoke: 1.353)
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 4203 in cache file under C:\Users\brian.azure\telemetry\20260216230646858
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\brian.azure C:\Users\brian.azure\telemetry\20260216230646858"
telemetry.process: Return from creating process 10028
telemetry.main: Finish creating telemetry upload process.
Expected behavior
Should set up Continous Deployment Pipeline.
Environment Summary
azure-cli 2.83.0
core 2.83.0
telemetry 1.1.0
Dependencies:
msal 1.35.0b1
azure-mgmt-resource 23.3.0
Python location 'C:\Program Files\Microsoft SDKs\Azure\CLI2\python.exe'
Config directory 'C:\Users\brian.azure'
Extensions directory 'C:\Users\brian.azure\cliextensions'
Python (Windows) 3.13.11 (tags/v3.13.11:6278944, Dec 5 2025, 16:26:58) [MSC v.1944 64 bit (AMD64)]
Legal docs and information: aka.ms/AzureCliLegal
Additional context
No response