Question, Bug, or Feature?
Type: bug
Enter Task Name: IIS Web App Deploy
ID: 1b467810-6725-4b6d-accd-886174c09bba
Version: 0.156.11
Server - Azure Pipelines or TFS on-premises?
Agent - Hosted or Private:
Around 3:00 PM Central time, all of our release pipelines using the IIS Web App Deploy task started failing with the following error:
Failed to download task 'IISWebAppDeploymentOnMachineGroup'. Error No task definition found matching ID 1b467810-6725-4b6d-accd-886174c09bba and version 0.156.11. You must register the task definition before uploading the package.
The task icon has disappeared from ADO as seen in the following screenshot:

This behavior is consistent across all releases that use this task.
I found the same issue being reported here:
https://developercommunity.visualstudio.com/content/problem/1059329/failed-to-download-task-iiswebappdeploymentonmachi.html
Failed to download task 'IISWebAppDeploymentOnMachineGroup'. Error No task definition found matching ID 1b467810-6725-4b6d-accd-886174c09bba and version 0.156.11. You must register the task definition before uploading the package.
They were working at 12:29 PM PST today. All release pipelines are down for IIS on our end also. Also reported at https://developercommunity.visualstudio.com/content/problem/1059329/failed-to-download-task-iiswebappdeploymentonmachi.html?inRegister=true
Same. I just found this thread.
Failed to download task 'IISWebAppDeploymentOnMachineGroup'. Error No task definition found matching ID and version 0.156.11. You must register the task definition before uploading the package.
Will just stay posted for this to hopefully resolve itself. We did not change anything, this just started to block all our deployments. Tried a few things but no go thus far. Saw some info about the task.loc.json files, but they are inside the specific version folders. and this one does not exist:
Tango down here as well.
Same happening on my side. While all tasks remains the same. I'm see this error for all IIS related deployment
No task definition found matching ID 1b467810-6725-4b6d-accd-886174c09bba and version 0.156.11. You must register the task definition before uploading the package.
Facing exact same issue. It was working till yesterday and it started failing now.
I am using yml file for deployment using 'IISWebAppDeploymentOnMachineGroup@0' task.
Sorry for the issue here!
Could someone try to hit:
https://
Replacing
Also, if anyone can email me (stfrance at microsoft dot com) with your Organization name that would be very helpful.
I get the error message below from: https://
{
$id: "1",
innerException: null,
message: "No task definition found matching ID 1b467810-6725-4b6d-accd-886174c09bba and version 0.156.11. You must register the task definition before uploading the package.",
typeName: "Microsoft.TeamFoundation.DistributedTask.WebApi.TaskDefinitionNotFoundException, Microsoft.TeamFoundation.DistributedTask.WebApi",
typeKey: "TaskDefinitionNotFoundException",
errorCode: 0,
eventId: 3000
}
Can you all try running your releases again? We pushed out a change.
Or hit the same endpoint as before but this time make the ending 0.156.12 instead of 11.
Does not work. Same error is produced and still points to .11 in azure dev ops.
Just re-ran one of our releases, and can confirm it does seem to be working now:

EDIT: Nevermind, the initialize task succeeded, but the release failed when trying to run the task:

Still failing for us, however the error changed to:
File not found: 'C:azagent\A2_work_tasks\IISWebAppDeploymentOnMachineGroup_1b467810-6725-4b6d-accd-886174c09bba\0.156.12\deployiiswebapp.js'
We are also receiving the same error: File not found with deployiiswebapp.js
Sorry for the issue here!
Could someone try to hit:
https://
.visualstudio.com/_apis/distributedtask/tasks/1b467810-6725-4b6d-accd-886174c09bba/0.156.11 Replacing
with your Organization and let me know if it downloads the task zip? Also, if anyone can email me (stfrance at microsoft dot com) with your Organization name that would be very helpful.
I tried this and was able to download the zip. However when I tried to run the task I get the below error.
Still failing for us, however the error changed to:
File not found: 'C:azagent\A2_work_tasks\IISWebAppDeploymentOnMachineGroup_1b467810-6725-4b6d-accd-886174c09bba\0.156.12\deployiiswebapp.js'
Thanks! That is a second unrelated issue, unfortunately. We found that issue and are rolling out a fix now. Should be resolved in less than 30 minutes.
Could you please try again? The version is now 0.156.13.
Thanks @stephenmichaelf. We're having the same issue. Got around it by manually unizipping task.zip, but looking forward to the fix. Thanks.
ran a new release and still receiving the error file not found tasks\IISWebAppDeploymentOnMachineGroup_1b467810-6725-4b6d-accd-886174c09bba\0.156.12\deployiiswebapp.js. The version is still .12
ran a new release and still receiving the error file not found tasks\IISWebAppDeploymentOnMachineGroup_1b467810-6725-4b6d-accd-886174c09bba\0.156.12\deployiiswebapp.js. The version is still .12
@ldk107, try unizipping the task.zip manually inside that folder. Worked for us. I just ran a new release as well, and it's still .12. Not sure how the version upgrade is triggered.
Back to working
Pipelines appear to be stable again

Resolved here as well. Thanks Azure DevOps team!
Thanks everyone! Sorry again. I am writing up an RCA and will post it here soon that describes what went wrong. I appreciate your patience.
yep all working! Thanks for the work on this. Did someone not properly QA before their automated CI ran out that bit of code? Shame, shame 馃ぃ
This issue has been fixed with the new task version, 0.156.13.
We realize this was extremely inconvenient and caused blocks for all of you and we apologize for that.
We ended up running into two problems here:
Follow up items:
Sorry again for the inconvenience this caused and we will make sure to follow up to prevent this type of issue in the future.
Most helpful comment
Thanks everyone! Sorry again. I am writing up an RCA and will post it here soon that describes what went wrong. I appreciate your patience.