Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
hi,
this error usually appears when the repo url stored in deployment center becomes invalid or corrupted even if u are selecting azure repos from the ui. The message expected https or ssh format means the backend api is receiving a repo url that is empty malformed or not in a recognised format like https://dev.azure.com/... or ******@ssh.dev.azure.com:... and app service refuses to save it.
this was working before and suddenly fails without branch changes it is often caused by a change in the devops project permissions token scope or service connection rather than the branch itself.
go to deployment center and completely disconnect the source control instead of just changing the branch, save it, reconnect fresh to azure repos and reauthorise access when prompted so the repo url and token are regenerated. is the devops repo was renamed moved to another project or the organisation url changed coz even subtle changes like switching from visualstudio.com to dev.azure.com format can break the stored repo url. if the issue persists try configuring cd using a service connection through azure devops pipeline instead of deployment center because deployment center sometimes keeps stale repo metadata in the site config.
this is almost always a repo url metadata issue or expired authorisation rather than a dotnet or slot problem.
rgds,
Alex