Deploy Azure Pipeline via Work Item
The AI agent queues an Azure Pipeline deployment for a specific work item, resolving branches and environments server-side while enforcing branch rules and checking for environment holds.
How it works
The agent identifies the target work item ID from the user's request. It optionally uses `preview_deploy` to validate the deployment configuration, including branch resolution and environment holds (if Extension Data scope is present). Upon user confirmation, it calls `deploy` with the work item ID. The server resolves the project, linked branch, and target environment, enforcing rules before queuing the build.
Prompt
Paste this into an agent that has the servers below connected. Adjust the names and dates to your own.
Please deploy work item #12345 to the production environment. First, preview the deployment to ensure there are no holds or validation errors, then proceed with the deployment.MCP servers it needs
Source
The vendor page this playbook is drawn from, and the passage that supports it.
Deploy a work item — give only the work item ID. BranchDeploy resolves its project, linked branch, and the target environment's pipeline server-side, enforces the environment's branch rules, and queues the build.BranchDeploy MCP documentation