You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have several microsoft-hosted agents in azure yaml pipelines and are using capabilities to ensure that the agents can be used by multiple teams and to ensure that no one uses up the complete capacity.
##[error]No agent found in pool Hosted Windows 2019 with VS2019 which satisfies the following demand: teamname. All demands: teamname, Agent.Version -gtVersion 3.218.0
Fun fact: we didnt have an agent pool called Hosted Windows 2019 with VS2019 so this seems to be some microsoft internal pool. Our pool with the microsoft-hosted agents is called Azure Pipelines (the default?).
Weird fun fact 2: In that Hosted Windows 2019 with VS2019 we had exactly the same amount of agents like in our pool Azure Pipelines so we assumed it was a mismapping and assigned the correct capabilities to the hosts (again) in there, and it worked! (Workaround)
We then tried to use the windows-2022 image and it correctly used the agents from the Azure Pipelines pool, so it seems for windows-latest the mapping is broken.
We know that the docs say that in microsoft-hosted agents one does not have to use capabilities, but we need them to separate the resources.
Versions
4.248 / windows-latest
Environment type (Please select at least one enviroment where you face this issue)
Self-Hosted
Microsoft Hosted
VMSS Pool
Container
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
No response
Version controll system
git
Relevant log output
The text was updated successfully, but these errors were encountered:
What happened?
Hi,
posting here after being redirect from this developer community post.
We have several microsoft-hosted agents in azure yaml pipelines and are using capabilities to ensure that the agents can be used by multiple teams and to ensure that no one uses up the complete capacity.
This works fine for Ubunu VM image:
If I try to do the same with Windows-latest VM image I get the following error:
##[error]No agent found in pool Hosted Windows 2019 with VS2019 which satisfies the following demand: teamname. All demands: teamname, Agent.Version -gtVersion 3.218.0
Fun fact: we didnt have an agent pool called
Hosted Windows 2019 with VS2019
so this seems to be some microsoft internal pool. Our pool with the microsoft-hosted agents is calledAzure Pipelines
(the default?).Weird fun fact 2: In that
Hosted Windows 2019 with VS2019
we had exactly the same amount of agents like in our poolAzure Pipelines
so we assumed it was a mismapping and assigned the correct capabilities to the hosts (again) in there, and it worked! (Workaround)We then tried to use the
windows-2022
image and it correctly used the agents from theAzure Pipelines
pool, so it seems forwindows-latest
the mapping is broken.We know that the docs say that in microsoft-hosted agents one does not have to use capabilities, but we need them to separate the resources.
Versions
4.248 / windows-latest
Environment type (Please select at least one enviroment where you face this issue)
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
No response
Version controll system
git
Relevant log output
The text was updated successfully, but these errors were encountered: