Forum Discussion
advps
May 25, 2023Copper Contributor
Azure App Service deploy task with Task version 4 getting failed
Hello all,
Azure App Service Deploy task in CD pipeline getting failed with "
##[error]TypeError: Cannot read property 'retrieveSecret' of undefined" i have been facing this issue for all pipelines which has Azure App Service Deploy Task with task version 4.
can any one please help me to trouble shoot this issue if you also facing same ?
19 Replies
Sort By
- kumarvikasjhaCopper Contributorfor now if you downgrade you app service deploy task version to 3 it will work.
- advpsCopper ContributorSeems issue fixed now , Task version 4 working fine
- mcandersonstateCopper ContributorWould like to add for visibility, we also began to see this error this morning with v4 tasks. Will try and report back if the v3 workaround works for us.
- kraken194Copper ContributorI have the same issue, after I temporarily changed version from 4 to 3 task start working
- kumarvikasjhaCopper Contributor
kraken194 for now if you downgrade you app service deploy task version to 3 it will work.
- Mihai PodaruCopper Contributor
advps I deleted the Service Connection used and created a new one. It solved the problem for me
- mjadachCopper Contributor
advps I can see the same issue on my end.
2023-05-25T12:38:59.3225528Z ##[debug][POST]https://management.azure.com/subscriptions/<...>/resourceGroups/<...>/providers/Microsoft.Web/sites/<...>/publishxml?api-version=2016-08-01 2023-05-25T12:38:59.5884264Z ##[debug]Could not parse response: {} 2023-05-25T12:38:59.5884906Z ##[debug]Response: undefined 2023-05-25T12:38:59.5885423Z ##[debug]Correlation ID from ARM api call response : <Redacted> 2023-05-25T12:38:59.5956220Z ##[debug]Deployment Failed with Error: TypeError: Cannot read property 'retrieveSecret' of undefined 2023-05-25T12:38:59.5956764Z ##[debug]task result: Failed 2023-05-25T12:38:59.5990687Z ##[error]TypeError: Cannot read property 'retrieveSecret' of undefined
- PeterCooperWWCopper ContributorWe're seeing the same thing. Hopefully MS sort it out. Glad I found this page.
- jjkennedyCopper Contributor
Same problem here. Will keep an eye on this post, was scratching my head trying to pinpoint what was up.
- joey_80Copper Contributorhttps://github.com/microsoft/azure-pipelines-tasks/issues/18370
And now we wait....