Not able to connect git repository from Azure DevOps to Vercel project

Problem
I’m not able to connect my git repository from Azure DevOps to my Vercel project, and thus not able to assign a static preview url that can be bookmarked and used to test changes before production.

This is neither possible from the Vercel Project Config page or the Vercel CLI.



CleanShot 2025-03-14 at 15.25.36
Vercel CLI - git connect repository error

The pipeline works fine otherwise.

A not-so-great workaround is to install the Vercel CLI in the pipeline and assign an alias, but I would prefer to not include that whole installation just to assign a domain alias.


Expected behavior
Be able to connect git repository either via the Vercel Project Config page or the Vercel CLI, or a property in the vercel-deployment-task@1 to specify custom preview deployment url.


Azure DevOps Pipelines listed in Supported Git Providers