Consider, in the abstract, you need to deploy some resource into some environment.
This resource is an artifact of some kind, generated by another azure pipeline.
Maybe you have a production
environment, and you'd only like to deploy if this artifact was generated from a build pipeline running against the master
branch.
Maybe you have a development
environment, and you don't mind deploying any old thing against it.