Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to perform Auto-login #25302

Open
fifuente opened this issue Jun 17, 2024 · 0 comments
Open

Failed to perform Auto-login #25302

fifuente opened this issue Jun 17, 2024 · 0 comments
Labels
bug This issue requires a change to an existing behavior in the product in order to be resolved.

Comments

@fifuente
Copy link

fifuente commented Jun 17, 2024

Description

My release pipeline can't copy files to a VM due to the following error:

Failed to perform Auto-login: PSContextCredential�[31;1mGet-AzAccessToken: -REDACTED-;1mRun Connect-AzAccount to login.�[0m

Last time I've been able to fix this by connecting to the Azure VM and running the following command:
azcopy login --identity

But this seems high inconvenient as the deployment should be able to occur if we're not looking at the pipelines in that specific moment.

Is there anything I can do to have a permanent solution for this issue? I've seen at least 4 times this problem within the last 2 months, so I guess the identity needs to be provided manually in the VM on a period basis. The VM is using the system assigned managed identity, so it should be picked up automatically.

Issue script & Debug output

2024-06-17T22:52:06.8204872Z ##[section]Starting: AzCopy Files to: E:\release_drop\PdbReflector
2024-06-17T22:52:06.8214910Z ==============================================================================
2024-06-17T22:52:06.8215059Z Task         : Azure file copy
2024-06-17T22:52:06.8215154Z Description  : Copy files to Azure Blob Storage or virtual machines
2024-06-17T22:52:06.8215248Z Version      : 6.241.0
2024-06-17T22:52:06.8215326Z Author       : Microsoft Corporation
2024-06-17T22:52:06.8215426Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/deploy/azure-file-copy
2024-06-17T22:52:06.8215535Z ==============================================================================
2024-06-17T22:52:10.9867058Z Added TLS 1.2 in session.
2024-06-17T22:52:11.6510914Z ##[command]Import-Module -Name C:\Modules\az_11.3.1\Az.Accounts\3.0.0\Az.Accounts.psd1 -Global
2024-06-17T22:52:18.2111966Z ##[warning]Both Az and AzureRM modules were detected on this machine. Az and AzureRM modules cannot be imported in the same session or used in the same script or runbook. If you are running PowerShell in an environment you control you can use the 'Uninstall-AzureRm' cmdlet to remove all AzureRm modules from your machine. If you are running in Azure Automation, take care that none of your runbooks import both Az and AzureRM modules. More information can be found here: https://aka.ms/azps-migration-guide
2024-06-17T22:52:21.8180229Z ##[warning]You're using AzureRM which will be retired soon, please schedule an update.
2024-06-17T22:52:23.1642275Z ##[command]Clear-AzContext -Scope CurrentUser -Force -ErrorAction SilentlyContinue
2024-06-17T22:52:28.9220957Z ##[command]Clear-AzContext -Scope Process
2024-06-17T22:52:28.9907136Z ##[command]Connect-AzAccount 
2024-06-17T22:52:28.9907461Z Name                           Value                                                                                   
2024-06-17T22:52:28.9907787Z ----                           -----                                                                                   
2024-06-17T22:52:28.9908134Z Tenant                         ******                                                    
2024-06-17T22:52:28.9908350Z Scope                          Process                                                                                 
2024-06-17T22:52:28.9908512Z Environment                    AzureCloud                                                                              
2024-06-17T22:52:28.9910847Z ApplicationId                  ***                                                    
2024-06-17T22:52:28.9911070Z ServicePrincipal               True                                                                                    
2024-06-17T22:52:28.9911146Z 
2024-06-17T22:52:28.9911191Z 
2024-06-17T22:52:28.9911252Z 
2024-06-17T22:52:30.0503232Z Retrieving subscriptions for the selection...
2024-06-17T22:52:30.5161324Z 
2024-06-17T22:52:30.5168510Z [Announcements]
2024-06-17T22:52:30.5168867Z With the new Azure PowerShell login experience, you can select the subscription you want to use more easily. Learn more about it and its configuration at https://go.microsoft.com/fwlink/?linkid=2271909.
2024-06-17T22:52:30.5169265Z 
2024-06-17T22:52:30.5173305Z If you encounter any problem, please open an issue at: https://aka.ms/azpsissue
2024-06-17T22:52:30.5173465Z 
2024-06-17T22:52:30.5970711Z ##[command]Set-AzContext 
2024-06-17T22:52:30.5971008Z Name                           Value                                                                                   
2024-06-17T22:52:30.5971337Z ----                           -----                                                                                   
2024-06-17T22:52:30.5971679Z SubscriptionId                ******                                                  
2024-06-17T22:52:30.5971795Z 
2024-06-17T22:52:30.5971940Z 
2024-06-17T22:52:30.5974650Z 
2024-06-17T22:52:31.9266195Z ##[command]Import-Module -Name C:\Modules\az_11.3.1\Az.Resources\6.15.1\Az.Resources.psd1 -Global
2024-06-17T22:52:37.7522795Z ##[command]Import-Module -Name C:\Modules\az_11.3.1\Az.Storage\6.1.1\Az.Storage.psd1 -Global
2024-06-17T22:52:49.2187577Z ##[command]Import-Module -Name C:\Modules\az_11.3.1\Az.Compute\7.1.1\Az.Compute.psd1 -Global
2024-06-17T22:52:53.9278977Z ##[command]Import-Module -Name C:\Modules\az_11.3.1\Az.Network\7.4.0\Az.Network.psd1 -Global
2024-06-17T22:52:55.3549307Z ##[warning]The names of some imported commands from the module 'Microsoft.Azure.PowerShell.Cmdlets.Network' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.
2024-06-17T22:52:55.7737823Z ##[warning]The names of some imported commands from the module 'Az.Network' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.
2024-06-17T22:52:56.2801035Z ##[warning]You're using Az.Storage version 6.1.1. The latest version of Az.Storage is 7.0.0. Upgrade your Az modules using the following commands:
  Update-Module Az.* -WhatIf    -- Simulate updating your Az modules.
  Update-Module Az.*            -- Update your Az modules.
2024-06-17T22:53:03.9521869Z  mime: D:\a\_work\_tasks\AzureFileCopy_eb72cb01-a7e5-427b-a8a1-1b31ccac8a43\6.241.0\MimeMapping.json
2024-06-17T22:53:03.9567260Z Subscription name Tenant                              
2024-06-17T22:53:03.9570512Z ----------------- ------                              
2024-06-17T22:53:03.9572324Z Developer Canvas  ********
2024-06-17T22:53:03.9572437Z 
2024-06-17T22:53:03.9583343Z Name               : Developer Canvas (********) - ******** - 
2024-06-17T22:53:03.9583995Z                      ***
2024-06-17T22:53:03.9584296Z Subscription       : ******
2024-06-17T22:53:03.9584782Z Account            : ***
2024-06-17T22:53:03.9585897Z Environment        : AzureCloud
2024-06-17T22:53:03.9587019Z Tenant             : ********
2024-06-17T22:53:03.9587548Z TokenCache         : 
2024-06-17T22:53:03.9587727Z VersionProfile     : 
2024-06-17T22:53:03.9588752Z ExtendedProperties : {}
2024-06-17T22:53:03.9588928Z 
2024-06-17T22:53:03.9590290Z Uploading files from source path: 'D:\a\_work\r1\a\devcanvas-PdbReflector\drop_build_main\DataPrep\PdbReflector\PdbReflector\*' to storage account: 'storageaccountsample' in container: '4f188a14-b229-4414-aa23-98c0507cfe7e' with blob prefix: ''
2024-06-17T22:53:03.9727762Z ##[command] & "AzCopy\AzCopy.exe" rm "https://storageaccountsample.blob.core.windows.net/4f188a14-b229-4414-aa23-98c0507cfe7e/" --recursive=true
2024-06-17T22:53:04.5856195Z INFO: AzCopy.exe 10.24.0: A newer version 10.25.1 is available to download
2024-06-17T22:53:04.5856415Z 
2024-06-17T22:53:09.2847465Z INFO: Login with Powershell context succeeded
2024-06-17T22:53:09.2848131Z INFO: Authenticating to destination using Azure AD
2024-06-17T22:53:09.6299544Z INFO: Authenticating to source using Azure AD
2024-06-17T22:53:09.6304427Z INFO: Any empty folders will be processed, because source and destination both support folders
2024-06-17T22:53:11.8535682Z 
2024-06-17T22:53:11.8536760Z Job 26622393-28aa-9e4f-469b-f636cb2a47a0 has started
2024-06-17T22:53:11.8537147Z Log file is located at: C:\Users\cloudtest\.azcopy\26622393-28aa-9e4f-469b-f636cb2a47a0.log
2024-06-17T22:53:11.8540844Z 
2024-06-17T22:53:13.8471617Z 
2024-06-17T22:53:13.8472425Z 100.0 %, 0 Done, 0 Failed, 0 Pending, 0 Skipped, 0 Total, 
2024-06-17T22:53:13.8472574Z 
2024-06-17T22:53:13.8472671Z 
2024-06-17T22:53:13.8473196Z Job 26622393-28aa-9e4f-469b-f636cb2a47a0 summary
2024-06-17T22:53:13.8473413Z Elapsed Time (Minutes): 0.0333
2024-06-17T22:53:13.8473559Z Number of File Transfers: 0
2024-06-17T22:53:13.8474781Z Number of Folder Property Transfers: 0
2024-06-17T22:53:13.8474975Z Number of Symlink Transfers: 0
2024-06-17T22:53:13.8475118Z Total Number of Transfers: 0
2024-06-17T22:53:13.8475286Z Number of File Transfers Completed: 0
2024-06-17T22:53:13.8475445Z Number of Folder Transfers Completed: 0
2024-06-17T22:53:13.8475618Z Number of File Transfers Failed: 0
2024-06-17T22:53:13.8475771Z Number of Folder Transfers Failed: 0
2024-06-17T22:53:13.8475944Z Number of File Transfers Skipped: 0
2024-06-17T22:53:13.8476115Z Number of Folder Transfers Skipped: 0
2024-06-17T22:53:13.8476270Z Total Number of Bytes Transferred: 0
2024-06-17T22:53:13.8476433Z Final Job Status: Completed
2024-06-17T22:53:13.8476499Z 
2024-06-17T22:53:13.8594794Z ##[command] & "AzCopy\AzCopy.exe" copy "D:\a\_work\r1\a\devcanvas-PdbReflector\drop_build_main\DataPrep\PdbReflector\PdbReflector\*" "https://storageaccountsample.blob.core.windows.net/4f188a14-b229-4414-aa23-98c0507cfe7e/"  --log-level=INFO --recursive
2024-06-17T22:53:13.9641118Z INFO: AzCopy.exe 10.24.0: A newer version 10.25.1 is available to download
2024-06-17T22:53:13.9641525Z 
2024-06-17T22:53:13.9645604Z INFO: Scanning...
2024-06-17T22:53:15.6813100Z INFO: Login with Powershell context succeeded
2024-06-17T22:53:15.6813418Z INFO: Authenticating to destination using Azure AD
2024-06-17T22:53:15.6822048Z INFO: Any empty folders will not be processed, because source and/or destination doesn't have full folder support
2024-06-17T22:53:15.7219095Z 
2024-06-17T22:53:15.7219937Z Job 5397e6a9-d7ea-8048-4af8-062a5ecbb700 has started
2024-06-17T22:53:15.7227547Z Log file is located at: C:\Users\cloudtest\.azcopy\5397e6a9-d7ea-8048-4af8-062a5ecbb700.log
2024-06-17T22:53:15.7227726Z 
2024-06-17T22:53:17.7194556Z 
2024-06-17T22:53:19.7195010Z 0.0 %, 0 Done, 0 Failed, 612 Pending, 0 Skipped, 612 Total, 
2024-06-17T22:53:21.7199064Z 66.1 %, 604 Done, 0 Failed, 8 Pending, 0 Skipped, 612 Total, 2-sec Throughput (Mb/s): 746.6091
2024-06-17T22:53:21.7199668Z 100.0 %, 612 Done, 0 Failed, 0 Pending, 0 Skipped, 612 Total, 2-sec Throughput (Mb/s): 21.862 
2024-06-17T22:53:21.7199806Z 
2024-06-17T22:53:21.7199851Z 
2024-06-17T22:53:21.7200108Z Job 5397e6a9-d7ea-8048-4af8-062a5ecbb700 summary
2024-06-17T22:53:21.7200294Z Elapsed Time (Minutes): 0.1
2024-06-17T22:53:21.7200438Z Number of File Transfers: 612
2024-06-17T22:53:21.7200607Z Number of Folder Property Transfers: 0
2024-06-17T22:53:21.7211023Z Number of Symlink Transfers: 0
2024-06-17T22:53:21.7211260Z Total Number of Transfers: 612
2024-06-17T22:53:21.7211686Z Number of File Transfers Completed: 612
2024-06-17T22:53:21.7211917Z Number of Folder Transfers Completed: 0
2024-06-17T22:53:21.7212075Z Number of File Transfers Failed: 0
2024-06-17T22:53:21.7212252Z Number of Folder Transfers Failed: 0
2024-06-17T22:53:21.7212404Z Number of File Transfers Skipped: 0
2024-06-17T22:53:21.7212593Z Number of Folder Transfers Skipped: 0
2024-06-17T22:53:21.7212758Z Total Number of Bytes Transferred: 192128234
2024-06-17T22:53:21.7212958Z Final Job Status: Completed
2024-06-17T22:53:21.7214281Z 
2024-06-17T22:53:21.7653093Z Uploaded files successfully from source path: 'D:\a\_work\r1\a\devcanvas-PdbReflector\drop_build_main\DataPrep\PdbReflector\PdbReflector\*' to storage account: 'storageaccountsample' in container: '4f188a14-b229-4414-aa23-98c0507cfe7e' with blob prefix: ''
2024-06-17T22:53:30.4566757Z PSSession created for Machines:'********'
2024-06-17T22:53:34.4316003Z ================================================ ******** ================================================
2024-06-17T22:53:34.4602156Z ##[command]& 'C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe' -NoLogo -NoProfile -NonInteractive 
2024-06-17T22:53:34.4602655Z -ExecutionPolicy Unrestricted -Command ". 
2024-06-17T22:53:34.4603008Z 'C:\Users\devcanvasadmin-ppe\AppData\Local\Temp\3086833d-cd99-45f2-aef8-5cd358fc0a91.ps1'"
2024-06-17T22:53:34.4603157Z 
2024-06-17T22:53:34.4639213Z INFO: AzCopy.exe 10.24.0: A newer version 10.25.1 is available to download
2024-06-17T22:53:34.4640101Z 
2024-06-17T22:53:34.4657956Z 
2024-06-17T22:53:34.4659035Z 
2024-06-17T22:53:34.4675578Z INFO: Scanning...
2024-06-17T22:53:34.4676873Z 
2024-06-17T22:53:39.4907617Z ================================================ ******** ================================================
2024-06-17T22:53:39.4929256Z 
2024-06-17T22:53:39.4930722Z 
2024-06-17T22:53:39.4949504Z Failed to perform Auto-login: PSContextCredential�[31;1mGet-AzAccessToken: -REDACTED-;1mRun Connect-AzAccount to login.�[0m
2024-06-17T22:53:39.4952342Z 
2024-06-17T22:53:39.4969002Z .
2024-06-17T22:53:39.4969917Z 
2024-06-17T22:53:39.4987893Z 
2024-06-17T22:53:42.1854955Z ##[error]Non-Zero exit code: '1' for ComputerName: 'DATAPROCESSORSP'
2024-06-17T22:53:42.3752327Z ##[warning]RetryHelper encountered task failure, will retry (attempt #: 1 out of 2) after 1000 ms
2024-06-17T22:53:44.8377790Z Added TLS 1.2 in session.
2024-06-17T22:53:45.2703555Z ##[command]Import-Module -Name C:\Modules\az_11.3.1\Az.Accounts\3.0.0\Az.Accounts.psd1 -Global
2024-06-17T22:53:47.1682985Z ##[warning]You're using AzureRM which will be retired soon, please schedule an update.
2024-06-17T22:53:48.1848543Z ##[command]Clear-AzContext -Scope CurrentUser -Force -ErrorAction SilentlyContinue
2024-06-17T22:53:48.6372590Z ##[command]Clear-AzContext -Scope Process
2024-06-17T22:53:48.7071712Z ##[command]Connect-AzAccount 
2024-06-17T22:53:48.7072014Z Name                           Value                                                                                   
2024-06-17T22:53:48.7072346Z ----                           -----                                                                                   
2024-06-17T22:53:48.7072700Z Tenant                         ********                                                    
2024-06-17T22:53:48.7072900Z Scope                          Process                                                                                 
2024-06-17T22:53:48.7073095Z Environment                    AzureCloud                                                                              
2024-06-17T22:53:48.7073547Z ApplicationId                  ***                                                    
2024-06-17T22:53:48.7073738Z ServicePrincipal               True                                                                                    
2024-06-17T22:53:48.7073811Z 
2024-06-17T22:53:48.7073856Z 
2024-06-17T22:53:48.7073897Z 
2024-06-17T22:53:49.0185867Z Retrieving subscriptions for the selection...
2024-06-17T22:53:49.3640117Z 
2024-06-17T22:53:49.3649088Z [Announcements]
2024-06-17T22:53:49.3649990Z With the new Azure PowerShell login experience, you can select the subscription you want to use more easily. Learn more about it and its configuration at https://go.microsoft.com/fwlink/?linkid=2271909.
2024-06-17T22:53:49.3650200Z 
2024-06-17T22:53:49.3653459Z If you encounter any problem, please open an issue at: https://aka.ms/azpsissue
2024-06-17T22:53:49.3653662Z 
2024-06-17T22:53:49.4557298Z ##[command]Set-AzContext 
2024-06-17T22:53:49.4557587Z Name                           Value                                                                                   
2024-06-17T22:53:49.4557907Z ----                           -----                                                                                   
2024-06-17T22:53:49.4558237Z SubscriptionId                 ********                                                    
2024-06-17T22:53:49.4558358Z 
2024-06-17T22:53:49.4558403Z 
2024-06-17T22:53:49.4558445Z 
2024-06-17T22:53:50.3378575Z ##[command]Import-Module -Name C:\Modules\az_11.3.1\Az.Resources\6.15.1\Az.Resources.psd1 -Global
2024-06-17T22:53:53.1943964Z ##[command]Import-Module -Name C:\Modules\az_11.3.1\Az.Storage\6.1.1\Az.Storage.psd1 -Global
2024-06-17T22:53:54.0510785Z ##[command]Import-Module -Name C:\Modules\az_11.3.1\Az.Compute\7.1.1\Az.Compute.psd1 -Global
2024-06-17T22:53:55.4671800Z ##[command]Import-Module -Name C:\Modules\az_11.3.1\Az.Network\7.4.0\Az.Network.psd1 -Global
2024-06-17T22:53:55.8597593Z ##[warning]The names of some imported commands from the module 'Microsoft.Azure.PowerShell.Cmdlets.Network' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.
2024-06-17T22:53:56.2526831Z ##[warning]The names of some imported commands from the module 'Az.Network' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.
2024-06-17T22:54:00.1785524Z  mime: D:\a\_work\_tasks\AzureFileCopy_eb72cb01-a7e5-427b-a8a1-1b31ccac8a43\6.241.0\MimeMapping.json
2024-06-17T22:54:00.1848075Z Subscription name Tenant                              
2024-06-17T22:54:00.1850154Z ----------------- ------                              
2024-06-17T22:54:00.1851931Z Developer Canvas  ********
2024-06-17T22:54:00.1852075Z 
2024-06-17T22:54:00.1860901Z Name               : Developer Canvas (********) - ******** - 
2024-06-17T22:54:00.1861410Z                      ***
2024-06-17T22:54:00.1861692Z Subscription       : ********
2024-06-17T22:54:00.1861992Z Account            : ***
2024-06-17T22:54:00.1863062Z Environment        : AzureCloud
2024-06-17T22:54:00.1864085Z Tenant             : ********
2024-06-17T22:54:00.1864287Z TokenCache         : 
2024-06-17T22:54:00.1864529Z VersionProfile     : 
2024-06-17T22:54:00.1865723Z ExtendedProperties : {}
2024-06-17T22:54:00.1865827Z 
2024-06-17T22:54:00.1867127Z Uploading files from source path: 'D:\a\_work\r1\a\devcanvas-PdbReflector\drop_build_main\DataPrep\PdbReflector\PdbReflector\*' to storage account: 'storageaccountsample' in container: '2a99824b-d9e5-4fc5-a8b9-f5c7b0f7c727' with blob prefix: ''
2024-06-17T22:54:00.2004741Z ##[command] & "AzCopy\AzCopy.exe" rm "https://storageaccountsample.blob.core.windows.net/2a99824b-d9e5-4fc5-a8b9-f5c7b0f7c727/" --recursive=true
2024-06-17T22:54:00.3478643Z INFO: AzCopy.exe 10.24.0: A newer version 10.25.1 is available to download
2024-06-17T22:54:00.3478934Z 
2024-06-17T22:54:02.1266704Z INFO: Login with Powershell context succeeded
2024-06-17T22:54:02.1267052Z INFO: Authenticating to destination using Azure AD
2024-06-17T22:54:02.5664603Z INFO: Authenticating to source using Azure AD
2024-06-17T22:54:02.5666818Z INFO: Any empty folders will be processed, because source and destination both support folders
2024-06-17T22:54:04.6185303Z 
2024-06-17T22:54:04.6186349Z Job 57e94a8a-f448-2147-60fe-a0db67d15aea has started
2024-06-17T22:54:04.6186754Z Log file is located at: C:\Users\cloudtest\.azcopy\57e94a8a-f448-2147-60fe-a0db67d15aea.log
2024-06-17T22:54:04.6188804Z 
2024-06-17T22:54:06.6189190Z 
2024-06-17T22:54:06.6189744Z 100.0 %, 0 Done, 0 Failed, 0 Pending, 0 Skipped, 0 Total, 
2024-06-17T22:54:06.6189868Z 
2024-06-17T22:54:06.6190084Z 
2024-06-17T22:54:06.6190850Z Job 57e94a8a-f448-2147-60fe-a0db67d15aea summary
2024-06-17T22:54:06.6195167Z Elapsed Time (Minutes): 0.0333
2024-06-17T22:54:06.6195395Z Number of File Transfers: 0
2024-06-17T22:54:06.6195794Z Number of Folder Property Transfers: 0
2024-06-17T22:54:06.6196021Z Number of Symlink Transfers: 0
2024-06-17T22:54:06.6196166Z Total Number of Transfers: 0
2024-06-17T22:54:06.6196355Z Number of File Transfers Completed: 0
2024-06-17T22:54:06.6196515Z Number of Folder Transfers Completed: 0
2024-06-17T22:54:06.6196688Z Number of File Transfers Failed: 0
2024-06-17T22:54:06.6196840Z Number of Folder Transfers Failed: 0
2024-06-17T22:54:06.6197017Z Number of File Transfers Skipped: 0
2024-06-17T22:54:06.6198277Z Number of Folder Transfers Skipped: 0
2024-06-17T22:54:06.6198455Z Total Number of Bytes Transferred: 0
2024-06-17T22:54:06.6198620Z Final Job Status: Completed
2024-06-17T22:54:06.6198687Z 
2024-06-17T22:54:06.6311451Z ##[command] & "AzCopy\AzCopy.exe" copy "D:\a\_work\r1\a\devcanvas-PdbReflector\drop_build_main\DataPrep\PdbReflector\PdbReflector\*" "https://storageaccountsample.blob.core.windows.net/2a99824b-d9e5-4fc5-a8b9-f5c7b0f7c727/"  --log-level=INFO --recursive
2024-06-17T22:54:06.7392140Z INFO: AzCopy.exe 10.24.0: A newer version 10.25.1 is available to download
2024-06-17T22:54:06.7392666Z 
2024-06-17T22:54:06.7396124Z INFO: Scanning...
2024-06-17T22:54:08.4313310Z INFO: Login with Powershell context succeeded
2024-06-17T22:54:08.4314092Z INFO: Authenticating to destination using Azure AD
2024-06-17T22:54:08.4321238Z INFO: Any empty folders will not be processed, because source and/or destination doesn't have full folder support
2024-06-17T22:54:08.4772486Z 
2024-06-17T22:54:08.4773423Z Job cc195c63-ce17-6a42-619f-80dba385ec61 has started
2024-06-17T22:54:08.4774443Z Log file is located at: C:\Users\cloudtest\.azcopy\cc195c63-ce17-6a42-619f-80dba385ec61.log
2024-06-17T22:54:08.4774717Z 
2024-06-17T22:54:10.4804368Z 
2024-06-17T22:54:12.4803550Z 0.0 %, 0 Done, 0 Failed, 612 Pending, 0 Skipped, 612 Total, 
2024-06-17T22:54:14.4824531Z 66.2 %, 604 Done, 0 Failed, 8 Pending, 0 Skipped, 612 Total, 2-sec Throughput (Mb/s): 757.6321
2024-06-17T22:54:14.4825091Z 100.0 %, 612 Done, 0 Failed, 0 Pending, 0 Skipped, 612 Total, 2-sec Throughput (Mb/s): 10.6216
2024-06-17T22:54:14.4825233Z 
2024-06-17T22:54:14.4825279Z 
2024-06-17T22:54:14.4825519Z Job cc195c63-ce17-6a42-619f-80dba385ec61 summary
2024-06-17T22:54:14.4825709Z Elapsed Time (Minutes): 0.1001
2024-06-17T22:54:14.4825854Z Number of File Transfers: 612
2024-06-17T22:54:14.4830194Z Number of Folder Property Transfers: 0
2024-06-17T22:54:14.4830636Z Number of Symlink Transfers: 0
2024-06-17T22:54:14.4830858Z Total Number of Transfers: 612
2024-06-17T22:54:14.4834341Z Number of File Transfers Completed: 612
2024-06-17T22:54:14.4834580Z Number of Folder Transfers Completed: 0
2024-06-17T22:54:14.4834738Z Number of File Transfers Failed: 0
2024-06-17T22:54:14.4834910Z Number of Folder Transfers Failed: 0
2024-06-17T22:54:14.4835062Z Number of File Transfers Skipped: 0
2024-06-17T22:54:14.4835239Z Number of Folder Transfers Skipped: 0
2024-06-17T22:54:14.4835400Z Total Number of Bytes Transferred: 192128234
2024-06-17T22:54:14.4835577Z Final Job Status: Completed
2024-06-17T22:54:14.4835644Z 
2024-06-17T22:54:14.5321360Z Uploaded files successfully from source path: 'D:\a\_work\r1\a\devcanvas-PdbReflector\drop_build_main\DataPrep\PdbReflector\PdbReflector\*' to storage account: 'storageaccountsample' in container: '2a99824b-d9e5-4fc5-a8b9-f5c7b0f7c727' with blob prefix: ''
2024-06-17T22:54:22.1630369Z PSSession created for Machines:'********'
2024-06-17T22:54:22.6939496Z ================================================ ******** ================================================
2024-06-17T22:54:27.7064763Z ================================================ ******** ================================================
2024-06-17T22:54:27.7603476Z ##[command]& 'C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe' -NoLogo -NoProfile -NonInteractive 
2024-06-17T22:54:27.7604097Z -ExecutionPolicy Unrestricted -Command ". 
2024-06-17T22:54:27.7604429Z 'C:\Users\devcanvasadmin-ppe\AppData\Local\Temp\5a2593aa-dd55-4a52-9637-4fe01379b9e1.ps1'"
2024-06-17T22:54:27.7604575Z 
2024-06-17T22:54:27.7636939Z INFO: AzCopy.exe 10.24.0: A newer version 10.25.1 is available to download
2024-06-17T22:54:27.7637224Z 
2024-06-17T22:54:27.7654245Z 
2024-06-17T22:54:27.7655210Z 
2024-06-17T22:54:27.7674227Z INFO: Scanning...
2024-06-17T22:54:27.7674460Z 
2024-06-17T22:54:27.7692447Z 
2024-06-17T22:54:27.7693468Z 
2024-06-17T22:54:27.7710779Z Failed to perform Auto-login: PSContextCredential�[31;1mGet-AzAccessToken: -REDACTED-;1mRun Connect-AzAccount to login.�[0m
2024-06-17T22:54:27.7711273Z 
2024-06-17T22:54:27.7727217Z .
2024-06-17T22:54:27.7728100Z 
2024-06-17T22:54:27.7747954Z 
2024-06-17T22:54:29.5329601Z ##[error]Non-Zero exit code: '1' for ComputerName: 'DATAPROCESSORSP'
2024-06-17T22:54:29.7559344Z ##[warning]RetryHelper encountered task failure, will retry (attempt #: 2 out of 2) after 4000 ms
2024-06-17T22:54:35.2630600Z Added TLS 1.2 in session.
2024-06-17T22:54:35.7607039Z ##[command]Import-Module -Name C:\Modules\az_11.3.1\Az.Accounts\3.0.0\Az.Accounts.psd1 -Global
2024-06-17T22:54:37.3190628Z ##[warning]You're using AzureRM which will be retired soon, please schedule an update.
2024-06-17T22:54:38.2219140Z ##[command]Clear-AzContext -Scope CurrentUser -Force -ErrorAction SilentlyContinue
2024-06-17T22:54:38.6220513Z ##[command]Clear-AzContext -Scope Process
2024-06-17T22:54:38.7073577Z ##[command]Connect-AzAccount 
2024-06-17T22:54:38.7074073Z Name                           Value                                                                                   
2024-06-17T22:54:38.7074721Z ----                           -----                                                                                   
2024-06-17T22:54:38.7075066Z Tenant                         ********                                                    
2024-06-17T22:54:38.7075258Z Scope                          Process                                                                                 
2024-06-17T22:54:38.7075414Z Environment                    AzureCloud                                                                              
2024-06-17T22:54:38.7075855Z ApplicationId                  ***                                                    
2024-06-17T22:54:38.7076039Z ServicePrincipal               True                                                                                    
2024-06-17T22:54:38.7076111Z 
2024-06-17T22:54:38.7076155Z 
2024-06-17T22:54:38.7076197Z 
2024-06-17T22:54:38.8479633Z Retrieving subscriptions for the selection...
2024-06-17T22:54:39.0834478Z 
2024-06-17T22:54:39.0840572Z [Announcements]
2024-06-17T22:54:39.0840904Z With the new Azure PowerShell login experience, you can select the subscription you want to use more easily. Learn more about it and its configuration at https://go.microsoft.com/fwlink/?linkid=2271909.
2024-06-17T22:54:39.0841120Z 
2024-06-17T22:54:39.0843622Z If you encounter any problem, please open an issue at: https://aka.ms/azpsissue
2024-06-17T22:54:39.0843978Z 
2024-06-17T22:54:39.1690860Z ##[command]Set-AzContext 
2024-06-17T22:54:39.1691171Z Name                           Value                                                                                   
2024-06-17T22:54:39.1691466Z ----                           -----                                                                                   
2024-06-17T22:54:39.1691821Z SubscriptionId                 ********                                                    
2024-06-17T22:54:39.1691959Z 
2024-06-17T22:54:39.1695188Z 
2024-06-17T22:54:39.1695523Z 
2024-06-17T22:54:39.9459717Z ##[command]Import-Module -Name C:\Modules\az_11.3.1\Az.Resources\6.15.1\Az.Resources.psd1 -Global
2024-06-17T22:54:42.6211885Z ##[command]Import-Module -Name C:\Modules\az_11.3.1\Az.Storage\6.1.1\Az.Storage.psd1 -Global
2024-06-17T22:54:43.5236571Z ##[command]Import-Module -Name C:\Modules\az_11.3.1\Az.Compute\7.1.1\Az.Compute.psd1 -Global
2024-06-17T22:54:44.9972457Z ##[command]Import-Module -Name C:\Modules\az_11.3.1\Az.Network\7.4.0\Az.Network.psd1 -Global
2024-06-17T22:54:45.4167001Z ##[warning]The names of some imported commands from the module 'Microsoft.Azure.PowerShell.Cmdlets.Network' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.
2024-06-17T22:54:45.8135791Z ##[warning]The names of some imported commands from the module 'Az.Network' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.
2024-06-17T22:54:49.3570708Z  mime: D:\a\_work\_tasks\AzureFileCopy_eb72cb01-a7e5-427b-a8a1-1b31ccac8a43\6.241.0\MimeMapping.json
2024-06-17T22:54:49.3627103Z Subscription name Tenant                              
2024-06-17T22:54:49.3630398Z ----------------- ------                              
2024-06-17T22:54:49.3632722Z Developer Canvas  ********
2024-06-17T22:54:49.3632846Z 
2024-06-17T22:54:49.3641707Z Name               : Developer Canvas (********) - ******** - 
2024-06-17T22:54:49.3644043Z                      ***
2024-06-17T22:54:49.3644850Z Subscription       : ********
2024-06-17T22:54:49.3645974Z Account            : ***
2024-06-17T22:54:49.3646820Z Environment        : AzureCloud
2024-06-17T22:54:49.3647686Z Tenant             : ********
2024-06-17T22:54:49.3648031Z TokenCache         : 
2024-06-17T22:54:49.3648947Z VersionProfile     : 
2024-06-17T22:54:49.3649803Z ExtendedProperties : {}
2024-06-17T22:54:49.3650137Z 
2024-06-17T22:54:49.3651186Z Uploading files from source path: 'D:\a\_work\r1\a\devcanvas-PdbReflector\drop_build_main\DataPrep\PdbReflector\PdbReflector\*' to storage account: 'storageaccountsample' in container: '79dde954-eb19-41d3-9415-adda92317e58' with blob prefix: ''
2024-06-17T22:54:49.3780969Z ##[command] & "AzCopy\AzCopy.exe" rm "https://storageaccountsample.blob.core.windows.net/79dde954-eb19-41d3-9415-adda92317e58/" --recursive=true
2024-06-17T22:54:49.5041102Z INFO: AzCopy.exe 10.24.0: A newer version 10.25.1 is available to download
2024-06-17T22:54:49.5041534Z 
2024-06-17T22:54:51.2227592Z INFO: Login with Powershell context succeeded
2024-06-17T22:54:51.2228148Z INFO: Authenticating to destination using Azure AD
2024-06-17T22:54:51.6484463Z INFO: Authenticating to source using Azure AD
2024-06-17T22:54:51.6487149Z INFO: Any empty folders will be processed, because source and destination both support folders
2024-06-17T22:54:53.6916283Z 
2024-06-17T22:54:53.6917230Z Job ff5a7b40-ed3e-0846-76ad-f75ec3ff9ffe has started
2024-06-17T22:54:53.6917672Z Log file is located at: C:\Users\cloudtest\.azcopy\ff5a7b40-ed3e-0846-76ad-f75ec3ff9ffe.log
2024-06-17T22:54:53.6917855Z 
2024-06-17T22:54:55.7031056Z 
2024-06-17T22:54:55.7031620Z 100.0 %, 0 Done, 0 Failed, 0 Pending, 0 Skipped, 0 Total, 
2024-06-17T22:54:55.7031759Z 
2024-06-17T22:54:55.7031805Z 
2024-06-17T22:54:55.7032422Z Job ff5a7b40-ed3e-0846-76ad-f75ec3ff9ffe summary
2024-06-17T22:54:55.7046960Z Elapsed Time (Minutes): 0.0335
2024-06-17T22:54:55.7073430Z Number of File Transfers: 0
2024-06-17T22:54:55.7074167Z Number of Folder Property Transfers: 0
2024-06-17T22:54:55.7074406Z Number of Symlink Transfers: 0
2024-06-17T22:54:55.7074577Z Total Number of Transfers: 0
2024-06-17T22:54:55.7074754Z Number of File Transfers Completed: 0
2024-06-17T22:54:55.7074913Z Number of Folder Transfers Completed: 0
2024-06-17T22:54:55.7075085Z Number of File Transfers Failed: 0
2024-06-17T22:54:55.7075259Z Number of Folder Transfers Failed: 0
2024-06-17T22:54:55.7075412Z Number of File Transfers Skipped: 0
2024-06-17T22:54:55.7075582Z Number of Folder Transfers Skipped: 0
2024-06-17T22:54:55.7078590Z Total Number of Bytes Transferred: 0
2024-06-17T22:54:55.7078796Z Final Job Status: Completed
2024-06-17T22:54:55.7078874Z 
2024-06-17T22:54:55.7160495Z ##[command] & "AzCopy\AzCopy.exe" copy "D:\a\_work\r1\a\devcanvas-PdbReflector\drop_build_main\DataPrep\PdbReflector\PdbReflector\*" "https://storageaccountsample.blob.core.windows.net/79dde954-eb19-41d3-9415-adda92317e58/"  --log-level=INFO --recursive
2024-06-17T22:54:55.8258921Z INFO: AzCopy.exe 10.24.0: A newer version 10.25.1 is available to download
2024-06-17T22:54:55.8259401Z 
2024-06-17T22:54:55.8266988Z INFO: Scanning...
2024-06-17T22:54:57.5731593Z INFO: Login with Powershell context succeeded
2024-06-17T22:54:57.5731859Z INFO: Authenticating to destination using Azure AD
2024-06-17T22:54:57.5739308Z INFO: Any empty folders will not be processed, because source and/or destination doesn't have full folder support
2024-06-17T22:54:57.6133866Z 
2024-06-17T22:54:57.6134812Z Job a095e230-428e-1846-45c9-131b14afb194 has started
2024-06-17T22:54:57.6135184Z Log file is located at: C:\Users\cloudtest\.azcopy\a095e230-428e-1846-45c9-131b14afb194.log
2024-06-17T22:54:57.6135341Z 
2024-06-17T22:54:59.6114589Z 
2024-06-17T22:55:01.6119365Z 0.0 %, 0 Done, 0 Failed, 612 Pending, 0 Skipped, 612 Total, 
2024-06-17T22:55:03.6130255Z 61.6 %, 602 Done, 0 Failed, 10 Pending, 0 Skipped, 612 Total, 2-sec Throughput (Mb/s): 719.3943
2024-06-17T22:55:05.6151676Z 99.8 %, 611 Done, 0 Failed, 1 Pending, 0 Skipped, 612 Total, 2-sec Throughput (Mb/s): 48.8596  
2024-06-17T22:55:07.6164337Z 100.0 %, 611 Done, 0 Failed, 1 Pending, 0 Skipped, 612 Total, 2-sec Throughput (Mb/s): 0.0183
2024-06-17T22:55:07.6165038Z 100.0 %, 612 Done, 0 Failed, 0 Pending, 0 Skipped, 612 Total,                                
2024-06-17T22:55:07.6165136Z 
2024-06-17T22:55:07.6165182Z 
2024-06-17T22:55:07.6165467Z Job a095e230-428e-1846-45c9-131b14afb194 summary
2024-06-17T22:55:07.6165636Z Elapsed Time (Minutes): 0.1668
2024-06-17T22:55:07.6165801Z Number of File Transfers: 612
2024-06-17T22:55:07.6166026Z Number of Folder Property Transfers: 0
2024-06-17T22:55:07.6166179Z Number of Symlink Transfers: 0
2024-06-17T22:55:07.6166341Z Total Number of Transfers: 612
2024-06-17T22:55:07.6166493Z Number of File Transfers Completed: 612
2024-06-17T22:55:07.6166672Z Number of Folder Transfers Completed: 0
2024-06-17T22:55:07.6166827Z Number of File Transfers Failed: 0
2024-06-17T22:55:07.6167000Z Number of Folder Transfers Failed: 0
2024-06-17T22:55:07.6167153Z Number of File Transfers Skipped: 0
2024-06-17T22:55:07.6167343Z Number of Folder Transfers Skipped: 0
2024-06-17T22:55:07.6167524Z Total Number of Bytes Transferred: 192128234
2024-06-17T22:55:07.6167678Z Final Job Status: Completed
2024-06-17T22:55:07.6167742Z 
2024-06-17T22:55:07.6636132Z Uploaded files successfully from source path: 'D:\a\_work\r1\a\devcanvas-PdbReflector\drop_build_main\DataPrep\PdbReflector\PdbReflector\*' to storage account: 'storageaccountsample' in container: '79dde954-eb19-41d3-9415-adda92317e58' with blob prefix: ''
2024-06-17T22:55:14.9994719Z PSSession created for Machines:'********'
2024-06-17T22:55:15.5511177Z ================================================ ******** ================================================
2024-06-17T22:55:20.5684547Z ================================================ ******** ================================================
2024-06-17T22:55:20.5850557Z ##[command]& 'C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe' -NoLogo -NoProfile -NonInteractive 
2024-06-17T22:55:20.5850941Z -ExecutionPolicy Unrestricted -Command ". 
2024-06-17T22:55:20.5851323Z 'C:\Users\devcanvasadmin-ppe\AppData\Local\Temp\7cbb80eb-37cd-46e0-b63d-c091b56de252.ps1'"
2024-06-17T22:55:20.5851445Z 
2024-06-17T22:55:20.5881592Z INFO: AzCopy.exe 10.24.0: A newer version 10.25.1 is available to download
2024-06-17T22:55:20.5882556Z 
2024-06-17T22:55:20.5901379Z 
2024-06-17T22:55:20.5902996Z 
2024-06-17T22:55:20.5918821Z INFO: Scanning...
2024-06-17T22:55:20.5919618Z 
2024-06-17T22:55:20.5934811Z 
2024-06-17T22:55:20.5935908Z 
2024-06-17T22:55:20.5952385Z Failed to perform Auto-login: PSContextCredential�[31;1mGet-AzAccessToken: -REDACTED-;1mRun Connect-AzAccount to login.�[0m
2024-06-17T22:55:20.5952684Z 
2024-06-17T22:55:20.5969433Z .
2024-06-17T22:55:20.5969629Z 
2024-06-17T22:55:20.5987669Z 
2024-06-17T22:55:22.3978305Z ##[error]Non-Zero exit code: '1' for ComputerName: 'DATAPROCESSORSP'
2024-06-17T22:55:22.6165554Z ##[section]Finishing: AzCopy Files to: E:\release_drop\PdbReflector

Environment data

This is running on an Azure Pipeline, so I can't run the command directly.

Module versions

This is running on an Azure Pipeline, so I can't run the command directly.

Error output

This is running on an Azure Pipeline, so I can't run the command directly.
@fifuente fifuente added bug This issue requires a change to an existing behavior in the product in order to be resolved. needs-triage This is a new issue that needs to be triaged to the appropriate team. labels Jun 17, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot removed the needs-triage This is a new issue that needs to be triaged to the appropriate team. label Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue requires a change to an existing behavior in the product in order to be resolved.
Projects
None yet
Development

No branches or pull requests

1 participant