gl-vsts-tasks-azure
gl-vsts-tasks-azure copied to clipboard
#[error]Unhandled: Cannot read property 'id' of undefined
Hello,
Sometimes y got this error : « #[error]Unhandled: Cannot read property 'id' of undefined »
and sometimes this one : “##[error]Error: C:\MyAgent\externals\azcopy\azcopy.exe failed with return code: 3”.
Do you have any idea about thes isssues ?
thanks in advance. Khaled
Only sometimes? We could use a bit more logs and details to look at what is going on.
Hi @sandorfr
I am also getting the Unhandled: Cannot read property 'id' of undefined error in a release pipeline.
I have been able to successfully copy from a pipeline artifact to an Azure storage container but when attempting to copy a container from Azure storage to a destination on the pipeline artifact we observe the above error.
the log-level is set to INFO and the above is all that is outputted. Here is a screen grab -

task version: 1.4.2999
Is there anything else I can send you to help with this issue?
Thanks David
I am getting exactly the same error trying to copy a blob container from one storage account to another, not getting more output than this either.
Edit: tested further and i get this when i provide an invalid principal that doesn't have the required permissions. Fixed it by using the right one.