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 ?
- kenneymyersCopper ContributorI have the exact same issue and have filed a support ticket. I'm waiting to hear back but our deploys are also blocked by this 'retrieveSecret' error. If I find out anything I'll try to update this as well. So far I am just waiting for support to call ... and waiting ... and waiting ... 😉
- advpsCopper Contributorfor temporary solution, downgraded to Task version 3 and working fine
- kenneymyersCopper ContributorYes, this also worked for me.
- shawn-at-wilsonCopper Contributor
advps We are seeing the same this morning.
- frankowskijaroslawCopper ContributorWe are seeing the same
- ediwangBrass Contributor
I and my friend in another company are facing the exact same issue. I believe this is not our fault. Wait for Microsoft to fix on their end.
- joey_80Copper Contributor
- jjkennedyCopper Contributor
Same problem here. Will keep an eye on this post, was scratching my head trying to pinpoint what was up.
- PeterCooperWWCopper ContributorWe're seeing the same thing. Hopefully MS sort it out. Glad I found this page.
- 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
- Mihai PodaruCopper Contributor
advps I deleted the Service Connection used and created a new one. It solved the problem for me