microsoft / azure-pipelines-tasks

Tasks for Azure Pipelines
https://aka.ms/tfbuild
MIT License
3.51k stars 2.62k forks source link

[BUG]: AzureFileCopy@6 fails with ".ctor" with "3" argument(s): "Method not found: 'Newtonsoft.Json.JsonSerializerSettings System.Net.Http.Formatting.BaseJsonMediaTypeFormatter.get_SerializerSettings()'." #19956

Closed jloehr closed 5 months ago

jloehr commented 5 months ago

New issue checklist

Task name

AzureFileCopy@6

Task version

6.240.8

Issue Description

The tasks AzureFileCopy@6 failed on our self-hosted CI machine with the following error: ".ctor" with "3" argument(s): "Method not found: 'Newtonsoft.Json.JsonSerializerSettings System.Net.Http.Formatting.BaseJsonMediaTypeFormatter.get_SerializerSettings()'." From the task documentation the only requirement is to have Azure PowerShell v1.0.2 or higher and an agent version of 1.103.0 or higher installed on the machine. Both are met (AZ v 9.8.0 and agent version 3.240.1).

The task does work on a Microsoft hosted agent with the same agent version.

Environment type (Please select at least one enviroment where you face this issue)

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

No response

Operation system

Windows 10 Enterprise & Windows 11 Enterprise

Relevant log output

Starting: Upload package to storage
==============================================================================
Task         : Azure file copy
Description  : Copy files to Azure Blob Storage or virtual machines
Version      : 6.240.8
Author       : Microsoft Corporation
Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/deploy/azure-file-copy
==============================================================================
Added TLS 1.2 in session.
Import-Module -Name C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Az.Accounts.psd1 -Global
##[warning]You're using AzureRM which will be retired soon, please schedule an update.
##[error]Exception calling ".ctor" with "3" argument(s): "Method not found: 'Newtonsoft.Json.JsonSerializerSettings System.Net.Http.Formatting.BaseJsonMediaTypeFormatter.get_SerializerSettings()'."
Finishing: Upload package to storage

Full task logs with system.debug enabled

2024-06-05T16:19:40.8403399Z ##[debug]Evaluating condition for step: 'Upload package to storage'
2024-06-05T16:19:40.8404044Z ##[debug]Evaluating: SucceededNode()
2024-06-05T16:19:40.8404252Z ##[debug]Evaluating SucceededNode:
2024-06-05T16:19:40.8404596Z ##[debug]=> True
2024-06-05T16:19:40.8404866Z ##[debug]Result: True
2024-06-05T16:19:40.8405134Z ##[section]Starting: Upload package to storage
2024-06-05T16:19:40.8424946Z ==============================================================================
2024-06-05T16:19:40.8425075Z Task         : Azure file copy
2024-06-05T16:19:40.8425140Z Description  : Copy files to Azure Blob Storage or virtual machines
2024-06-05T16:19:40.8425235Z Version      : 6.240.8
2024-06-05T16:19:40.8425293Z Author       : Microsoft Corporation
2024-06-05T16:19:40.8425367Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/deploy/azure-file-copy
2024-06-05T16:19:40.8425467Z ==============================================================================
2024-06-05T16:19:40.8665721Z ##[debug]Resource Utilization warnings is disabled, switch "DISABLE_RESOURCE_UTILIZATION_WARNINGS" variable to "true" if you want to enable it
2024-06-05T16:19:42.7863685Z ##[debug]VstsTaskSdk 0.21.0 commit 9abb170036d3b4cc1781def2efa436d9b059104c
2024-06-05T16:19:43.1173610Z ##[debug]Entering D:\agent\_work\_tasks\AzureFileCopy_eb72cb01-a7e5-427b-a8a1-1b31ccac8a43\6.240.8\AzureFileCopy.ps1.
2024-06-05T16:19:43.1412438Z ##[debug]INPUT_SOURCEPATH: 'D:\agent\_work\3\s\_Packages\RR_develop_047828c290a4.zip'
2024-06-05T16:19:43.1444460Z ##[debug]INPUT_DESTINATION: 'AzureBlob'
2024-06-05T16:19:43.1478454Z ##[debug]INPUT_CONNECTEDSERVICENAMEARM: '[REDACTED]'
2024-06-05T16:19:43.1511460Z ##[debug]INPUT_STORAGEACCOUNTRM: '[REDACTED]'
2024-06-05T16:19:43.1544597Z ##[debug]INPUT_CONTAINERNAME: '[REDACTED]'
2024-06-05T16:19:43.1579460Z ##[debug]INPUT_BLOBPREFIX (empty)
2024-06-05T16:19:43.1635199Z ##[debug]INPUT_ENVIRONMENTNAMERM (empty)
2024-06-05T16:19:43.1668405Z ##[debug]INPUT_RESOURCEFILTERINGMETHOD: 'machineNames'
2024-06-05T16:19:43.1700927Z ##[debug]INPUT_MACHINENAMES (empty)
2024-06-05T16:19:43.1733916Z ##[debug]INPUT_VMSADMINUSERNAME (empty)
2024-06-05T16:19:43.1766080Z ##[debug]INPUT_VMSADMINPASSWORD (empty)
2024-06-05T16:19:43.1798484Z ##[debug]INPUT_TARGETPATH (empty)
2024-06-05T16:19:43.1831429Z ##[debug]INPUT_ADDITIONALARGUMENTSFORBLOBCOPY: '--blob-type BlockBlob --overwrite false'
2024-06-05T16:19:43.1863869Z ##[debug]INPUT_ADDITIONALARGUMENTSFORVMCOPY (empty)
2024-06-05T16:19:43.1896683Z ##[debug]INPUT_CLEANTARGETBEFORECOPY: 'false'
2024-06-05T16:19:43.1938259Z ##[debug] Converted to bool: False
2024-06-05T16:19:43.1971699Z ##[debug]INPUT_COPYFILESINPARALLEL: 'true'
2024-06-05T16:19:43.1997492Z ##[debug] Converted to bool: True
2024-06-05T16:19:43.2030454Z ##[debug]INPUT_SKIPCACHECK: 'true'
2024-06-05T16:19:43.2056544Z ##[debug] Converted to bool: True
2024-06-05T16:19:43.2092023Z ##[debug]INPUT_ENABLECOPYPREREQUISITES: 'false'
2024-06-05T16:19:43.2118111Z ##[debug] Converted to bool: False
2024-06-05T16:19:43.2207502Z ##[debug]Loading module from path 'D:\agent\_work\_tasks\AzureFileCopy_eb72cb01-a7e5-427b-a8a1-1b31ccac8a43\6.240.8\ps_modules\RemoteDeployer\RemoteDeployer.psm1'.
2024-06-05T16:19:43.3434039Z ##[debug]Loading resource strings from: D:\agent\_work\_tasks\AzureFileCopy_eb72cb01-a7e5-427b-a8a1-1b31ccac8a43\6.240.8\ps_modules\RemoteDeployer\module.json
2024-06-05T16:19:43.3661899Z ##[debug]Loaded 10 strings.
2024-06-05T16:19:43.3708303Z ##[debug]SYSTEM_CULTURE: 'en-US'
2024-06-05T16:19:43.3739598Z ##[debug]Loading resource strings from: D:\agent\_work\_tasks\AzureFileCopy_eb72cb01-a7e5-427b-a8a1-1b31ccac8a43\6.240.8\ps_modules\RemoteDeployer\Strings\resources.resjson\en-US\resources.resjson
2024-06-05T16:19:43.3922176Z ##[debug]Loaded 10 strings.
2024-06-05T16:19:43.3948902Z ##[debug]Exporting function 'Invoke-RemoteScript'.
2024-06-05T16:19:43.3977270Z ##[debug]Importing function 'Invoke-RemoteScript'.
2024-06-05T16:19:43.4012495Z ##[debug]Loading module from path 'D:\agent\_work\_tasks\AzureFileCopy_eb72cb01-a7e5-427b-a8a1-1b31ccac8a43\6.240.8\ps_modules\VstsAzureHelpers_\VstsAzureHelpers_.psm1'.
2024-06-05T16:19:43.4527860Z ##[debug]$OVERRIDING $global:DebugPreference from 'Continue' to 'SilentlyContinue'.
2024-06-05T16:19:43.4554787Z ##[debug]Loading resource strings from: D:\agent\_work\_tasks\AzureFileCopy_eb72cb01-a7e5-427b-a8a1-1b31ccac8a43\6.240.8\ps_modules\VstsAzureHelpers_/module.json
2024-06-05T16:19:43.4926917Z ##[debug]Loaded 19 strings.
2024-06-05T16:19:43.4961660Z ##[debug]SYSTEM_CULTURE: 'en-US'
2024-06-05T16:19:43.4989555Z ##[debug]Loading resource strings from: D:\agent\_work\_tasks\AzureFileCopy_eb72cb01-a7e5-427b-a8a1-1b31ccac8a43\6.240.8\ps_modules\VstsAzureHelpers_\Strings\resources.resjson\en-US\resources.resjson
2024-06-05T16:19:43.5307202Z ##[debug]Loaded 19 strings.
2024-06-05T16:19:43.5391767Z ##[debug]Entering Get-VstsWebProxy.
2024-06-05T16:19:43.5505175Z ##[debug]AGENT_VERSION: '3.240.1'
2024-06-05T16:19:43.5590657Z ##[debug]AGENT_PROXYURL (empty)
2024-06-05T16:19:43.5648525Z ##[debug]AGENT_PROXYUSERNAME (empty)
2024-06-05T16:19:43.5706724Z ##[debug]AGENT_PROXYPASSWORD (empty)
2024-06-05T16:19:43.5764538Z ##[debug]AGENT_PROXYBYPASSLIST (empty)
2024-06-05T16:19:43.5840454Z ##[debug]Leaving Get-VstsWebProxy.
2024-06-05T16:19:43.5897242Z ##[debug]Loading module from path 'D:\agent\_work\_tasks\AzureFileCopy_eb72cb01-a7e5-427b-a8a1-1b31ccac8a43\6.240.8\ps_modules\TlsHelper_\TlsHelper_.psm1'.
2024-06-05T16:19:43.6172245Z ##[debug]Loading resource strings from: D:\agent\_work\_tasks\AzureFileCopy_eb72cb01-a7e5-427b-a8a1-1b31ccac8a43\6.240.8\ps_modules\TlsHelper_/module.json
2024-06-05T16:19:43.6294419Z ##[debug]Loaded 3 strings.
2024-06-05T16:19:43.6336796Z ##[debug]SYSTEM_CULTURE: 'en-US'
2024-06-05T16:19:43.6371253Z ##[debug]Loading resource strings from: D:\agent\_work\_tasks\AzureFileCopy_eb72cb01-a7e5-427b-a8a1-1b31ccac8a43\6.240.8\ps_modules\TlsHelper_\Strings\resources.resjson\en-US\resources.resjson
2024-06-05T16:19:43.6465647Z ##[debug]Loaded 3 strings.
2024-06-05T16:19:43.6494600Z ##[debug]Exporting function 'Add-Tls12InSession'.
2024-06-05T16:19:43.6523653Z ##[debug]Exporting function 'Assert-TlsError'.
2024-06-05T16:19:43.6554139Z ##[debug]Importing function 'Add-Tls12InSession'.
2024-06-05T16:19:43.6582054Z ##[debug]Importing function 'Assert-TlsError'.
2024-06-05T16:19:43.6982021Z Added TLS 1.2 in session.
2024-06-05T16:19:43.8112422Z ##[debug]Agent environment resources - Disk: D:\ Available 1020127.00 MB out of 1953496.00 MB, Memory: Used 13581.00 MB out of 32673.00 MB, CPU: Usage 3.35%
2024-06-05T16:19:43.9351774Z ##[debug]Exporting function 'Initialize-Azure'.
2024-06-05T16:19:43.9379217Z ##[debug]Exporting function 'CmdletHasMember'.
2024-06-05T16:19:43.9407205Z ##[debug]Exporting function 'Remove-EndpointSecrets'.
2024-06-05T16:19:43.9435254Z ##[debug]Exporting function 'Initialize-AzureRMModule'.
2024-06-05T16:19:43.9463161Z ##[debug]Exporting function 'Initialize-AzModule'.
2024-06-05T16:19:43.9490628Z ##[debug]Exporting function 'Disconnect-AzureAndClearContext'.
2024-06-05T16:19:43.9518744Z ##[debug]Exporting function 'Update-PSModulePathForHostedAgentWithLatestModule'.
2024-06-05T16:19:43.9547463Z ##[debug]Importing function 'CmdletHasMember'.
2024-06-05T16:19:43.9573337Z ##[debug]Importing function 'Disconnect-AzureAndClearContext'.
2024-06-05T16:19:43.9598408Z ##[debug]Importing function 'Initialize-AzModule'.
2024-06-05T16:19:43.9623174Z ##[debug]Importing function 'Initialize-Azure'.
2024-06-05T16:19:43.9647649Z ##[debug]Importing function 'Initialize-AzureRMModule'.
2024-06-05T16:19:43.9672073Z ##[debug]Importing function 'Remove-EndpointSecrets'.
2024-06-05T16:19:43.9696983Z ##[debug]Importing function 'Update-PSModulePathForHostedAgentWithLatestModule'.
2024-06-05T16:19:43.9813949Z ##[debug]ENDPOINT_URL_[REDACTED]: 'https://management.azure.com/'
2024-06-05T16:19:43.9849603Z ##[debug]ENDPOINT_AUTH_[REDACTED]: '********'
2024-06-05T16:19:43.9890820Z ##[debug]ENDPOINT_DATA_[REDACTED]: '[REDACTED]'
2024-06-05T16:19:44.0333744Z ##[debug]C:\Modules\azurerm_2.1.0 is not present in C:\Users\[REDACTED]\Documents\WindowsPowerShell\Modules;C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules;C:\Program Files (x86)\Microsoft Azure Information Protection\Powershell
2024-06-05T16:19:44.0361791Z ##[debug]C:\Modules\azure_2.1.0 is not present in C:\Users\[REDACTED]\Documents\WindowsPowerShell\Modules;C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules;C:\Program Files (x86)\Microsoft Azure Information Protection\Powershell
2024-06-05T16:19:44.0409742Z ##[debug]ENDPOINT_URL_SystemVssConnection: 'https://[REDACTED].visualstudio.com/'
2024-06-05T16:19:44.0844098Z ##[debug]ENDPOINT_AUTH_SystemVssConnection: '********'
2024-06-05T16:19:44.0875679Z ##[debug]ENDPOINT_DATA_SystemVssConnection (empty)
2024-06-05T16:19:44.1210876Z ##[debug]Cannot verify the Microsoft .NET Framework version 4.7.2 because it is not included in the list of permitted versions.
2024-06-05T16:19:44.1245633Z ##[debug]Populating RepositorySourceLocation property for module Az.Accounts.
2024-06-05T16:19:44.1537623Z ##[debug]Loading module from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Az.Accounts.psm1'.
2024-06-05T16:19:44.1799596Z ##[debug]Cannot verify the Microsoft .NET Framework version 4.7.2 because it is not included in the list of permitted versions.
2024-06-05T16:19:44.1830961Z ##[debug]Populating RepositorySourceLocation property for module Az.Accounts.
2024-06-05T16:19:44.1873731Z ##[debug]Loading module from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.9.1\Az.Accounts.psm1'.
2024-06-05T16:19:44.2994085Z ##[debug]Entering Initialize-AzModule.
2024-06-05T16:19:44.3110221Z ##[debug] Endpoint: '@{Url=https://management.azure.com/; Data=; Auth=}'
2024-06-05T16:19:44.3135135Z ##[debug] connectedServiceNameARM: '[REDACTED]'
2024-06-05T16:19:44.3174716Z ##[debug] encryptedToken: 'System.Security.SecureString'
2024-06-05T16:19:44.3200765Z ##[debug]Env:PSModulePath: 'C:\Users\[REDACTED]\Documents\WindowsPowerShell\Modules;C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules;C:\Program Files (x86)\Microsoft Azure Information Protection\Powershell'
2024-06-05T16:19:44.3224669Z ##[debug]Importing Az Modules.
2024-06-05T16:19:44.3280695Z ##[debug]Entering Import-AzAccountsModule.
2024-06-05T16:19:44.3305640Z ##[debug] azVersion: ''
2024-06-05T16:19:44.3330445Z ##[debug]Attempting to find the module 'Az.Accounts' from the module path.
2024-06-05T16:19:44.3452810Z ##[debug]Cannot verify the Microsoft .NET Framework version 4.7.2 because it is not included in the list of permitted versions.
2024-06-05T16:19:44.3483757Z ##[debug]Populating RepositorySourceLocation property for module Az.Accounts.
2024-06-05T16:19:44.3527968Z ##[debug]Loading module from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Az.Accounts.psm1'.
2024-06-05T16:19:44.3582955Z ##[debug]Cannot verify the Microsoft .NET Framework version 4.7.2 because it is not included in the list of permitted versions.
2024-06-05T16:19:44.3613907Z ##[debug]Populating RepositorySourceLocation property for module Az.Accounts.
2024-06-05T16:19:44.3655170Z ##[debug]Loading module from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.9.1\Az.Accounts.psm1'.
2024-06-05T16:19:44.4143911Z ##[command]Import-Module -Name C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Az.Accounts.psd1 -Global
2024-06-05T16:19:44.4180591Z ##[debug]Loading module from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Az.Accounts.psd1'.
2024-06-05T16:19:44.4214310Z ##[debug]Cannot verify the Microsoft .NET Framework version 4.7.2 because it is not included in the list of permitted versions.
2024-06-05T16:19:44.4259880Z ##[debug]Loading 'Assembly' from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Microsoft.Azure.PowerShell.Authentication.Abstractions.dll'.
2024-06-05T16:19:44.4297960Z ##[debug]Loading 'Assembly' from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Microsoft.Azure.PowerShell.Authentication.Abstractions.dll'.
2024-06-05T16:19:44.4337290Z ##[debug]Loading 'Assembly' from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Microsoft.Azure.PowerShell.Authentication.dll'.
2024-06-05T16:19:44.4374060Z ##[debug]Loading 'Assembly' from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Microsoft.Azure.PowerShell.Authentication.dll'.
2024-06-05T16:19:44.4414143Z ##[debug]Loading 'Assembly' from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Microsoft.Azure.PowerShell.Authenticators.dll'.
2024-06-05T16:19:44.4451091Z ##[debug]Loading 'Assembly' from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Microsoft.Azure.PowerShell.Authenticators.dll'.
2024-06-05T16:19:44.4490537Z ##[debug]Loading 'Assembly' from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Microsoft.Azure.PowerShell.Authentication.ResourceManager.dll'.
2024-06-05T16:19:44.4527622Z ##[debug]Loading 'Assembly' from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Microsoft.Azure.PowerShell.Authentication.ResourceManager.dll'.
2024-06-05T16:19:44.4567438Z ##[debug]Loading 'Assembly' from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Microsoft.Azure.PowerShell.Clients.Authorization.dll'.
2024-06-05T16:19:44.4603944Z ##[debug]Loading 'Assembly' from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Microsoft.Azure.PowerShell.Clients.Authorization.dll'.
2024-06-05T16:19:44.4643678Z ##[debug]Loading 'Assembly' from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Microsoft.Azure.PowerShell.Clients.Compute.dll'.
2024-06-05T16:19:44.4680723Z ##[debug]Loading 'Assembly' from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Microsoft.Azure.PowerShell.Clients.Compute.dll'.
2024-06-05T16:19:44.4720445Z ##[debug]Loading 'Assembly' from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Microsoft.Azure.PowerShell.Clients.Graph.Rbac.dll'.
2024-06-05T16:19:44.4756979Z ##[debug]Loading 'Assembly' from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Microsoft.Azure.PowerShell.Clients.Graph.Rbac.dll'.
2024-06-05T16:19:44.4796231Z ##[debug]Loading 'Assembly' from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Microsoft.Azure.PowerShell.Clients.Monitor.dll'.
2024-06-05T16:19:44.4833332Z ##[debug]Loading 'Assembly' from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Microsoft.Azure.PowerShell.Clients.Monitor.dll'.
2024-06-05T16:19:44.4873383Z ##[debug]Loading 'Assembly' from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Microsoft.Azure.PowerShell.Clients.Network.dll'.
2024-06-05T16:19:44.4911432Z ##[debug]Loading 'Assembly' from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Microsoft.Azure.PowerShell.Clients.Network.dll'.
2024-06-05T16:19:44.4950516Z ##[debug]Loading 'Assembly' from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Microsoft.Azure.PowerShell.Clients.PolicyInsights.dll'.
2024-06-05T16:19:44.4987612Z ##[debug]Loading 'Assembly' from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Microsoft.Azure.PowerShell.Clients.PolicyInsights.dll'.
2024-06-05T16:19:44.5027384Z ##[debug]Loading 'Assembly' from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Microsoft.Azure.PowerShell.Clients.ResourceManager.dll'.
2024-06-05T16:19:44.5063842Z ##[debug]Loading 'Assembly' from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Microsoft.Azure.PowerShell.Clients.ResourceManager.dll'.
2024-06-05T16:19:44.5103444Z ##[debug]Loading 'Assembly' from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Microsoft.Azure.PowerShell.Common.dll'.
2024-06-05T16:19:44.5140198Z ##[debug]Loading 'Assembly' from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Microsoft.Azure.PowerShell.Common.dll'.
2024-06-05T16:19:44.5180005Z ##[debug]Loading 'Assembly' from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Microsoft.Azure.PowerShell.Storage.dll'.
2024-06-05T16:19:44.5217195Z ##[debug]Loading 'Assembly' from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Microsoft.Azure.PowerShell.Storage.dll'.
2024-06-05T16:19:44.5257723Z ##[debug]Loading 'Assembly' from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Microsoft.Azure.PowerShell.Clients.Storage.Management.dll'.
2024-06-05T16:19:44.5295849Z ##[debug]Loading 'Assembly' from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Microsoft.Azure.PowerShell.Clients.Storage.Management.dll'.
2024-06-05T16:19:44.5335216Z ##[debug]Loading 'Assembly' from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Microsoft.Azure.PowerShell.Clients.KeyVault.dll'.
2024-06-05T16:19:44.5375405Z ##[debug]Loading 'Assembly' from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Microsoft.Azure.PowerShell.Clients.KeyVault.dll'.
2024-06-05T16:19:44.5431582Z ##[debug]Loading 'Assembly' from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Microsoft.Azure.PowerShell.Clients.Websites.dll'.
2024-06-05T16:19:44.5519545Z ##[debug]Loading 'Assembly' from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Microsoft.Azure.PowerShell.Clients.Websites.dll'.
2024-06-05T16:19:44.5561161Z ##[debug]Loading 'Assembly' from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Hyak.Common.dll'.
2024-06-05T16:19:44.5597727Z ##[debug]Loading 'Assembly' from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Hyak.Common.dll'.
2024-06-05T16:19:44.5637244Z ##[debug]Loading 'Assembly' from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Microsoft.ApplicationInsights.dll'.
2024-06-05T16:19:44.5675759Z ##[debug]Loading 'Assembly' from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Microsoft.ApplicationInsights.dll'.
2024-06-05T16:19:44.5720775Z ##[debug]Loading 'Assembly' from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Microsoft.Azure.Common.dll'.
2024-06-05T16:19:44.5760070Z ##[debug]Loading 'Assembly' from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Microsoft.Azure.Common.dll'.
2024-06-05T16:19:44.5802027Z ##[debug]Loading 'Assembly' from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Microsoft.Rest.ClientRuntime.dll'.
2024-06-05T16:19:44.5839521Z ##[debug]Loading 'Assembly' from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Microsoft.Rest.ClientRuntime.dll'.
2024-06-05T16:19:44.5881341Z ##[debug]Loading 'Assembly' from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Microsoft.Rest.ClientRuntime.Azure.dll'.
2024-06-05T16:19:44.5920402Z ##[debug]Loading 'Assembly' from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Microsoft.Rest.ClientRuntime.Azure.dll'.
2024-06-05T16:19:44.5961285Z ##[debug]Loading 'Assembly' from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Microsoft.WindowsAzure.Storage.dll'.
2024-06-05T16:19:44.5997324Z ##[debug]Loading 'Assembly' from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Microsoft.WindowsAzure.Storage.dll'.
2024-06-05T16:19:44.6036687Z ##[debug]Loading 'Assembly' from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Microsoft.WindowsAzure.Storage.DataMovement.dll'.
2024-06-05T16:19:44.6073942Z ##[debug]Loading 'Assembly' from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Microsoft.WindowsAzure.Storage.DataMovement.dll'.
2024-06-05T16:19:44.6112679Z ##[debug]Loading 'Assembly' from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Microsoft.Azure.PowerShell.Clients.Aks.dll'.
2024-06-05T16:19:44.6149598Z ##[debug]Loading 'Assembly' from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Microsoft.Azure.PowerShell.Clients.Aks.dll'.
2024-06-05T16:19:44.6189731Z ##[debug]Loading 'Assembly' from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Microsoft.Azure.PowerShell.Strategies.dll'.
2024-06-05T16:19:44.6226623Z ##[debug]Loading 'Assembly' from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Microsoft.Azure.PowerShell.Strategies.dll'.
2024-06-05T16:19:44.6266791Z ##[debug]Loading 'Assembly' from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Microsoft.Azure.PowerShell.Common.Share.dll'.
2024-06-05T16:19:44.6303424Z ##[debug]Loading 'Assembly' from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Microsoft.Azure.PowerShell.Common.Share.dll'.
2024-06-05T16:19:44.6342808Z ##[debug]Loading 'Assembly' from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\FuzzySharp.dll'.
2024-06-05T16:19:44.6379050Z ##[debug]Loading 'Assembly' from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\FuzzySharp.dll'.
2024-06-05T16:19:44.6408332Z ##[debug]Loading 'FormatsToProcess' from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Accounts.format.ps1xml'.
2024-06-05T16:19:44.6432606Z ##[debug]Loading 'FormatsToProcess' from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Accounts.generated.format.ps1xml'.
2024-06-05T16:19:45.7304080Z ##[debug]Populating RepositorySourceLocation property for module Az.Accounts.
2024-06-05T16:19:45.7348067Z ##[debug]Loading module from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Az.Accounts.psm1'.
2024-06-05T16:19:46.9742340Z ##[debug]Loading module from path 'C:\Program Files\WindowsPowerShell\Modules\Az.Accounts\2.10.4\Microsoft.Azure.PowerShell.Cmdlets.Accounts.dll'.
2024-06-05T16:19:47.6224790Z ##[debug]Importing cmdlet 'Register-AzModule'.
2024-06-05T16:19:47.6248183Z ##[debug]Importing cmdlet 'Clear-AzConfig'.
2024-06-05T16:19:47.6271104Z ##[debug]Importing cmdlet 'Export-AzConfig'.
2024-06-05T16:19:47.6294582Z ##[debug]Importing cmdlet 'Get-AzConfig'.
2024-06-05T16:19:47.6317502Z ##[debug]Importing cmdlet 'Import-AzConfig'.
2024-06-05T16:19:47.6340613Z ##[debug]Importing cmdlet 'Update-AzConfig'.
2024-06-05T16:19:47.6364740Z ##[debug]Importing cmdlet 'Connect-AzAccount'.
2024-06-05T16:19:47.6387571Z ##[debug]Importing cmdlet 'Disconnect-AzAccount'.
2024-06-05T16:19:47.6410052Z ##[debug]Importing cmdlet 'Get-AzContext'.
2024-06-05T16:19:47.6432596Z ##[debug]Importing cmdlet 'Import-AzContext'.
2024-06-05T16:19:47.6455330Z ##[debug]Importing cmdlet 'Save-AzContext'.
2024-06-05T16:19:47.6478006Z ##[debug]Importing cmdlet 'Set-AzContext'.
2024-06-05T16:19:47.6500356Z ##[debug]Importing cmdlet 'Disable-AzDataCollection'.
2024-06-05T16:19:47.6523469Z ##[debug]Importing cmdlet 'Enable-AzDataCollection'.
2024-06-05T16:19:47.6545892Z ##[debug]Importing cmdlet 'Add-AzEnvironment'.
2024-06-05T16:19:47.6570207Z ##[debug]Importing cmdlet 'Get-AzEnvironment'.
2024-06-05T16:19:47.6592396Z ##[debug]Importing cmdlet 'Remove-AzEnvironment'.
2024-06-05T16:19:47.6614328Z ##[debug]Importing cmdlet 'Set-AzEnvironment'.
2024-06-05T16:19:47.6637223Z ##[debug]Importing cmdlet 'Send-Feedback'.
2024-06-05T16:19:47.6659182Z ##[debug]Importing cmdlet 'Get-AzSubscription'.
2024-06-05T16:19:47.6681545Z ##[debug]Importing cmdlet 'Get-AzTenant'.
2024-06-05T16:19:47.6705140Z ##[debug]Importing cmdlet 'Get-AzAccessToken'.
2024-06-05T16:19:47.6728927Z ##[debug]Importing cmdlet 'Uninstall-AzureRm'.
2024-06-05T16:19:47.6752831Z ##[debug]Importing cmdlet 'Invoke-AzRestMethod'.
2024-06-05T16:19:47.6865526Z ##[debug]Importing cmdlet 'Open-AzSurveyLink'.
2024-06-05T16:19:47.6889090Z ##[debug]Importing cmdlet 'Resolve-AzError'.
2024-06-05T16:19:47.6912500Z ##[debug]Importing cmdlet 'Clear-AzDefault'.
2024-06-05T16:19:47.6935807Z ##[debug]Importing cmdlet 'Get-AzDefault'.
2024-06-05T16:19:47.6959296Z ##[debug]Importing cmdlet 'Set-AzDefault'.
2024-06-05T16:19:47.6982672Z ##[debug]Importing cmdlet 'Disable-AzureRmAlias'.
2024-06-05T16:19:47.7006451Z ##[debug]Importing cmdlet 'Enable-AzureRmAlias'.
2024-06-05T16:19:47.7030005Z ##[debug]Importing cmdlet 'Disable-AzContextAutosave'.
2024-06-05T16:19:47.7053301Z ##[debug]Importing cmdlet 'Enable-AzContextAutosave'.
2024-06-05T16:19:47.7076453Z ##[debug]Importing cmdlet 'Get-AzContextAutosaveSetting'.
2024-06-05T16:19:47.7099431Z ##[debug]Importing cmdlet 'Clear-AzContext'.
2024-06-05T16:19:47.7122700Z ##[debug]Importing cmdlet 'Remove-AzContext'.
2024-06-05T16:19:47.7146028Z ##[debug]Importing cmdlet 'Rename-AzContext'.
2024-06-05T16:19:47.7169266Z ##[debug]Importing cmdlet 'Select-AzContext'.
2024-06-05T16:19:47.7192427Z ##[debug]Importing alias 'Login-AzAccount'.
2024-06-05T16:19:47.7215799Z ##[debug]Importing alias 'Login-AzureRmAccount'.
2024-06-05T16:19:47.7239000Z ##[debug]Importing alias 'Add-AzAccount'.
2024-06-05T16:19:47.7262092Z ##[debug]Importing alias 'Logout-AzAccount'.
2024-06-05T16:19:47.7285455Z ##[debug]Importing alias 'Logout-AzureRmAccount'.
2024-06-05T16:19:47.7308665Z ##[debug]Importing alias 'Remove-AzAccount'.
2024-06-05T16:19:47.7331954Z ##[debug]Importing alias 'Save-AzProfile'.
2024-06-05T16:19:47.7397755Z ##[debug]Importing alias 'Select-AzSubscription'.
2024-06-05T16:19:47.7421099Z ##[debug]Importing alias 'Get-AzureRmDomain'.
2024-06-05T16:19:47.7444174Z ##[debug]Importing alias 'Get-AzDomain'.
2024-06-05T16:19:47.7467391Z ##[debug]Importing alias 'Invoke-AzRest'.
2024-06-05T16:19:47.7490556Z ##[debug]Importing alias 'Resolve-Error'.
2024-06-05T16:19:47.8394714Z ##[debug]Exporting function 'Test-DotNet'.
2024-06-05T16:19:47.8416940Z ##[debug]Exporting function 'Preload-Assembly'.
2024-06-05T16:19:47.8439759Z ##[debug]Exporting function 'Write-InstallationCheckToFile'.
2024-06-05T16:19:47.8462652Z ##[debug]Exporting cmdlet 'Register-AzModule'.
2024-06-05T16:19:47.8487224Z ##[debug]Exporting cmdlet 'Clear-AzConfig'.
2024-06-05T16:19:47.8510220Z ##[debug]Exporting cmdlet 'Export-AzConfig'.
2024-06-05T16:19:47.8533766Z ##[debug]Exporting cmdlet 'Get-AzConfig'.
2024-06-05T16:19:47.8557577Z ##[debug]Exporting cmdlet 'Import-AzConfig'.
2024-06-05T16:19:47.8580182Z ##[debug]Exporting cmdlet 'Update-AzConfig'.
2024-06-05T16:19:47.8605127Z ##[debug]Exporting cmdlet 'Connect-AzAccount'.
2024-06-05T16:19:47.8626698Z ##[debug]Exporting cmdlet 'Disconnect-AzAccount'.
2024-06-05T16:19:47.8666103Z ##[debug]Exporting cmdlet 'Get-AzContext'.
2024-06-05T16:19:47.8689003Z ##[debug]Exporting cmdlet 'Import-AzContext'.
2024-06-05T16:19:47.8712212Z ##[debug]Exporting cmdlet 'Save-AzContext'.
2024-06-05T16:19:47.8739259Z ##[debug]Exporting cmdlet 'Set-AzContext'.
2024-06-05T16:19:47.8763601Z ##[debug]Exporting cmdlet 'Disable-AzDataCollection'.
2024-06-05T16:19:47.8786299Z ##[debug]Exporting cmdlet 'Enable-AzDataCollection'.
2024-06-05T16:19:47.8809817Z ##[debug]Exporting cmdlet 'Add-AzEnvironment'.
2024-06-05T16:19:47.8833103Z ##[debug]Exporting cmdlet 'Get-AzEnvironment'.
2024-06-05T16:19:47.8856442Z ##[debug]Exporting cmdlet 'Remove-AzEnvironment'.
2024-06-05T16:19:47.8879950Z ##[debug]Exporting cmdlet 'Set-AzEnvironment'.
2024-06-05T16:19:47.8905716Z ##[debug]Exporting cmdlet 'Send-Feedback'.
2024-06-05T16:19:47.8930074Z ##[debug]Exporting cmdlet 'Get-AzSubscription'.
2024-06-05T16:19:47.8953541Z ##[debug]Exporting cmdlet 'Get-AzTenant'.
2024-06-05T16:19:47.8977282Z ##[debug]Exporting cmdlet 'Get-AzAccessToken'.
2024-06-05T16:19:47.9000793Z ##[debug]Exporting cmdlet 'Uninstall-AzureRm'.
2024-06-05T16:19:47.9024111Z ##[debug]Exporting cmdlet 'Invoke-AzRestMethod'.
2024-06-05T16:19:47.9047360Z ##[debug]Exporting cmdlet 'Open-AzSurveyLink'.
2024-06-05T16:19:47.9086127Z ##[debug]Exporting cmdlet 'Resolve-AzError'.
2024-06-05T16:19:47.9109257Z ##[debug]Exporting cmdlet 'Clear-AzDefault'.
2024-06-05T16:19:47.9132769Z ##[debug]Exporting cmdlet 'Get-AzDefault'.
2024-06-05T16:19:47.9156195Z ##[debug]Exporting cmdlet 'Set-AzDefault'.
2024-06-05T16:19:47.9179543Z ##[debug]Exporting cmdlet 'Disable-AzureRmAlias'.
2024-06-05T16:19:47.9201743Z ##[debug]Exporting cmdlet 'Enable-AzureRmAlias'.
2024-06-05T16:19:47.9225924Z ##[debug]Exporting cmdlet 'Disable-AzContextAutosave'.
2024-06-05T16:19:47.9249217Z ##[debug]Exporting cmdlet 'Enable-AzContextAutosave'.
2024-06-05T16:19:47.9272678Z ##[debug]Exporting cmdlet 'Get-AzContextAutosaveSetting'.
2024-06-05T16:19:47.9295676Z ##[debug]Exporting cmdlet 'Clear-AzContext'.
2024-06-05T16:19:47.9319241Z ##[debug]Exporting cmdlet 'Remove-AzContext'.
2024-06-05T16:19:47.9342686Z ##[debug]Exporting cmdlet 'Rename-AzContext'.
2024-06-05T16:19:47.9366494Z ##[debug]Exporting cmdlet 'Select-AzContext'.
2024-06-05T16:19:47.9390101Z ##[debug]Exporting alias 'Login-AzAccount'.
2024-06-05T16:19:47.9413500Z ##[debug]Exporting alias 'Login-AzureRmAccount'.
2024-06-05T16:19:47.9436717Z ##[debug]Exporting alias 'Add-AzAccount'.
2024-06-05T16:19:47.9460110Z ##[debug]Exporting alias 'Logout-AzAccount'.
2024-06-05T16:19:47.9497500Z ##[debug]Exporting alias 'Logout-AzureRmAccount'.
2024-06-05T16:19:47.9521422Z ##[debug]Exporting alias 'Remove-AzAccount'.
2024-06-05T16:19:47.9544676Z ##[debug]Exporting alias 'Save-AzProfile'.
2024-06-05T16:19:47.9568222Z ##[debug]Exporting alias 'Select-AzSubscription'.
2024-06-05T16:19:47.9591509Z ##[debug]Exporting alias 'Get-AzureRmDomain'.
2024-06-05T16:19:47.9614462Z ##[debug]Exporting alias 'Get-AzDomain'.
2024-06-05T16:19:47.9637692Z ##[debug]Exporting alias 'Invoke-AzRest'.
2024-06-05T16:19:47.9660888Z ##[debug]Exporting alias 'Resolve-Error'.
2024-06-05T16:19:47.9688320Z ##[debug]Importing cmdlet 'Add-AzEnvironment'.
2024-06-05T16:19:47.9710472Z ##[debug]Importing cmdlet 'Clear-AzConfig'.
2024-06-05T16:19:47.9734139Z ##[debug]Importing cmdlet 'Clear-AzContext'.
2024-06-05T16:19:47.9758443Z ##[debug]Importing cmdlet 'Clear-AzDefault'.
2024-06-05T16:19:47.9781819Z ##[debug]Importing cmdlet 'Connect-AzAccount'.
2024-06-05T16:19:47.9803823Z ##[debug]Importing cmdlet 'Disable-AzContextAutosave'.
2024-06-05T16:19:47.9828125Z ##[debug]Importing cmdlet 'Disable-AzDataCollection'.
2024-06-05T16:19:47.9851593Z ##[debug]Importing cmdlet 'Disable-AzureRmAlias'.
2024-06-05T16:19:47.9874832Z ##[debug]Importing cmdlet 'Disconnect-AzAccount'.
2024-06-05T16:19:47.9912713Z ##[debug]Importing cmdlet 'Enable-AzContextAutosave'.
2024-06-05T16:19:47.9936079Z ##[debug]Importing cmdlet 'Enable-AzDataCollection'.
2024-06-05T16:19:47.9959257Z ##[debug]Importing cmdlet 'Enable-AzureRmAlias'.
2024-06-05T16:19:47.9982687Z ##[debug]Importing cmdlet 'Export-AzConfig'.
2024-06-05T16:19:48.0005700Z ##[debug]Importing cmdlet 'Get-AzAccessToken'.
2024-06-05T16:19:48.0028976Z ##[debug]Importing cmdlet 'Get-AzConfig'.
2024-06-05T16:19:48.0052270Z ##[debug]Importing cmdlet 'Get-AzContext'.
2024-06-05T16:19:48.0075661Z ##[debug]Importing cmdlet 'Get-AzContextAutosaveSetting'.
2024-06-05T16:19:48.0098921Z ##[debug]Importing cmdlet 'Get-AzDefault'.
2024-06-05T16:19:48.0122319Z ##[debug]Importing cmdlet 'Get-AzEnvironment'.
2024-06-05T16:19:48.0145238Z ##[debug]Importing cmdlet 'Get-AzSubscription'.
2024-06-05T16:19:48.0168358Z ##[debug]Importing cmdlet 'Get-AzTenant'.
2024-06-05T16:19:48.0191359Z ##[debug]Importing cmdlet 'Import-AzConfig'.
2024-06-05T16:19:48.0214501Z ##[debug]Importing cmdlet 'Import-AzContext'.
2024-06-05T16:19:48.0237668Z ##[debug]Importing cmdlet 'Invoke-AzRestMethod'.
2024-06-05T16:19:48.0260775Z ##[debug]Importing cmdlet 'Open-AzSurveyLink'.
2024-06-05T16:19:48.0283916Z ##[debug]Importing cmdlet 'Register-AzModule'.
2024-06-05T16:19:48.0319013Z ##[debug]Importing cmdlet 'Remove-AzContext'.
2024-06-05T16:19:48.0342739Z ##[debug]Importing cmdlet 'Remove-AzEnvironment'.
2024-06-05T16:19:48.0365815Z ##[debug]Importing cmdlet 'Rename-AzContext'.
2024-06-05T16:19:48.0389088Z ##[debug]Importing cmdlet 'Resolve-AzError'.
2024-06-05T16:19:48.0412512Z ##[debug]Importing cmdlet 'Save-AzContext'.
2024-06-05T16:19:48.0435646Z ##[debug]Importing cmdlet 'Select-AzContext'.
2024-06-05T16:19:48.0458455Z ##[debug]Importing cmdlet 'Send-Feedback'.
2024-06-05T16:19:48.0481787Z ##[debug]Importing cmdlet 'Set-AzContext'.
2024-06-05T16:19:48.0504893Z ##[debug]Importing cmdlet 'Set-AzDefault'.
2024-06-05T16:19:48.0528467Z ##[debug]Importing cmdlet 'Set-AzEnvironment'.
2024-06-05T16:19:48.0551596Z ##[debug]Importing cmdlet 'Uninstall-AzureRm'.
2024-06-05T16:19:48.0575159Z ##[debug]Importing cmdlet 'Update-AzConfig'.
2024-06-05T16:19:48.0598810Z ##[debug]Importing alias 'Add-AzAccount'.
2024-06-05T16:19:48.0622041Z ##[debug]Importing alias 'Get-AzDomain'.
2024-06-05T16:19:48.0645072Z ##[debug]Importing alias 'Invoke-AzRest'.
2024-06-05T16:19:48.0668712Z ##[debug]Importing alias 'Login-AzAccount'.
2024-06-05T16:19:48.0691998Z ##[debug]Importing alias 'Logout-AzAccount'.
2024-06-05T16:19:48.0727538Z ##[debug]Importing alias 'Remove-AzAccount'.
2024-06-05T16:19:48.0751064Z ##[debug]Importing alias 'Resolve-Error'.
2024-06-05T16:19:48.0774600Z ##[debug]Importing alias 'Save-AzProfile'.
2024-06-05T16:19:48.0798565Z ##[debug]Importing alias 'Select-AzSubscription'.
2024-06-05T16:19:48.0839244Z ##[debug]Imported module version: 2.10.4
2024-06-05T16:19:48.0894040Z ##[debug]Leaving Import-AzAccountsModule.
2024-06-05T16:19:48.1261352Z ##[warning]You're using AzureRM which will be retired soon, please schedule an update.
2024-06-05T16:19:48.1276348Z ##[debug]Processed: ##vso[task.logissue type=warning;source=TaskInternal]You're using AzureRM which will be retired soon, please schedule an update.
2024-06-05T16:19:48.1284022Z ##[debug]Initializing Az Subscription.
2024-06-05T16:19:48.1473724Z ##[debug]AZURE_HTTP_USER_AGENT: 'VSTS_41bf5486-7392-4b7a-a7e3-a735c767e3b3_build_149532_0'
2024-06-05T16:19:48.1514665Z ##[debug]Entering Set-UserAgent_Core.
2024-06-05T16:19:48.1572334Z ##[debug] UserAgent: 'VSTS_41bf5486-7392-4b7a-a7e3-a735c767e3b3_build_149532_0'
2024-06-05T16:19:48.1621960Z ##[debug]Leaving Set-UserAgent_Core.
2024-06-05T16:19:48.3431547Z ##[debug]Trying to construct the HTTP client.
2024-06-05T16:19:48.3782697Z ##[debug]SYSTEM_COLLECTIONURI: 'https://[REDACTED].visualstudio.com/'
2024-06-05T16:19:48.3990858Z ##[debug]Entering Get-WebProxy.
2024-06-05T16:19:48.4033515Z ##[debug]AGENT_VERSION: '3.240.1'
2024-06-05T16:19:48.4072217Z ##[debug]AGENT_PROXYURL (empty)
2024-06-05T16:19:48.4109773Z ##[debug]AGENT_PROXYUSERNAME (empty)
2024-06-05T16:19:48.4146558Z ##[debug]AGENT_PROXYPASSWORD (empty)
2024-06-05T16:19:48.4183185Z ##[debug]AGENT_PROXYBYPASSLIST (empty)
2024-06-05T16:19:48.4218211Z ##[debug]Leaving Get-WebProxy.
2024-06-05T16:19:48.4306131Z ##[debug]Entering Get-ClientCertificate.
2024-06-05T16:19:48.4348714Z ##[debug]AGENT_VERSION: '3.240.1'
2024-06-05T16:19:48.4407549Z ##[debug]AGENT_CLIENTCERTARCHIVE (empty)
2024-06-05T16:19:48.4466133Z ##[debug]AGENT_CLIENTCERTPASSWORD (empty)
2024-06-05T16:19:48.4498704Z ##[debug]Leaving Get-ClientCertificate.
2024-06-05T16:19:48.4544865Z ##[debug]Entering Get-VstsVssHttpClient.
2024-06-05T16:19:48.4573031Z ##[debug] OMDirectory: 'D:\agent\_work\_tasks\AzureFileCopy_eb72cb01-a7e5-427b-a8a1-1b31ccac8a43\6.240.8\ps_modules\VstsAzureHelpers_'
2024-06-05T16:19:48.4600736Z ##[debug] TypeName: 'Microsoft.TeamFoundation.DistributedTask.WebApi.TaskHttpClient'
2024-06-05T16:19:48.4667443Z ##[debug] VssCredentials: 'Microsoft.VisualStudio.Services.Common.VssCredentials'
2024-06-05T16:19:48.4695791Z ##[debug] Uri: 'https://[REDACTED].visualstudio.com/'
2024-06-05T16:19:48.4850413Z ##[debug]Entering Get-OMType.
2024-06-05T16:19:48.4878572Z ##[debug] TypeName: 'Microsoft.TeamFoundation.DistributedTask.WebApi.TaskHttpClient'
2024-06-05T16:19:48.4906981Z ##[debug] OMKind: 'WebApi'
2024-06-05T16:19:48.4935554Z ##[debug] OMDirectory: 'D:\agent\_work\_tasks\AzureFileCopy_eb72cb01-a7e5-427b-a8a1-1b31ccac8a43\6.240.8\ps_modules\VstsAzureHelpers_'
2024-06-05T16:19:48.4982833Z ##[debug] Require: 'True'
2024-06-05T16:19:48.5014049Z ##[debug]Testing whether type can be loaded: 'Microsoft.TeamFoundation.DistributedTask.WebApi.TaskHttpClient'
2024-06-05T16:19:48.5311022Z ##[debug]Unable to resolve assembly name 'System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35'
2024-06-05T16:19:48.5364275Z ##[debug]Unable to resolve assembly name 'System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35'
2024-06-05T16:19:48.5524301Z ##[debug]The type was not loaded.
2024-06-05T16:19:48.5616724Z ##[debug]Testing leaf path: 'D:\agent\_work\_tasks\AzureFileCopy_eb72cb01-a7e5-427b-a8a1-1b31ccac8a43\6.240.8\ps_modules\VstsAzureHelpers_\Microsoft.TeamFoundation.DistributedTask.WebApi.WebApi.dll'
2024-06-05T16:19:48.5648464Z ##[debug]Not found.
2024-06-05T16:19:48.5677471Z ##[debug]Testing leaf path: 'D:\agent\_work\_tasks\AzureFileCopy_eb72cb01-a7e5-427b-a8a1-1b31ccac8a43\6.240.8\ps_modules\VstsAzureHelpers_\Microsoft.TeamFoundation.DistributedTask.WebApi.dll'
2024-06-05T16:19:48.5710059Z ##[debug]Loading assembly: D:\agent\_work\_tasks\AzureFileCopy_eb72cb01-a7e5-427b-a8a1-1b31ccac8a43\6.240.8\ps_modules\VstsAzureHelpers_\Microsoft.TeamFoundation.DistributedTask.WebApi.dll
2024-06-05T16:19:48.6453692Z ##[debug]Testing whether type can be loaded: 'Microsoft.TeamFoundation.DistributedTask.WebApi.TaskHttpClient'
2024-06-05T16:19:48.6490693Z ##[debug]The type was loaded successfully.
2024-06-05T16:19:48.6530024Z ##[debug]Leaving Get-OMType.
2024-06-05T16:19:48.6573166Z ##[debug]Entering Get-OMType.
2024-06-05T16:19:48.6596659Z ##[debug] TypeName: 'Microsoft.VisualStudio.Services.Common.VssHttpRequestSettings'
2024-06-05T16:19:48.6619323Z ##[debug] OMKind: 'WebApi'
2024-06-05T16:19:48.6642949Z ##[debug] OMDirectory: 'D:\agent\_work\_tasks\AzureFileCopy_eb72cb01-a7e5-427b-a8a1-1b31ccac8a43\6.240.8\ps_modules\VstsAzureHelpers_'
2024-06-05T16:19:48.6665629Z ##[debug] Require: 'True'
2024-06-05T16:19:48.6690642Z ##[debug]Testing whether type can be loaded: 'Microsoft.VisualStudio.Services.Common.VssHttpRequestSettings'
2024-06-05T16:19:48.6713505Z ##[debug]The type was loaded successfully.
2024-06-05T16:19:48.6740315Z ##[debug]Leaving Get-OMType.
2024-06-05T16:19:48.6768202Z ##[debug]Entering Get-OMType.
2024-06-05T16:19:48.6794104Z ##[debug] TypeName: 'Microsoft.VisualStudio.Services.WebApi.VssClientHttpRequestSettings'
2024-06-05T16:19:48.6817103Z ##[debug] OMKind: 'WebApi'
2024-06-05T16:19:48.6840039Z ##[debug] OMDirectory: 'D:\agent\_work\_tasks\AzureFileCopy_eb72cb01-a7e5-427b-a8a1-1b31ccac8a43\6.240.8\ps_modules\VstsAzureHelpers_'
2024-06-05T16:19:48.6863678Z ##[debug] Require: 'True'
2024-06-05T16:19:48.6889623Z ##[debug]Testing whether type can be loaded: 'Microsoft.VisualStudio.Services.WebApi.VssClientHttpRequestSettings'
2024-06-05T16:19:48.6913932Z ##[debug]The type was loaded successfully.
2024-06-05T16:19:48.6941864Z ##[debug]Leaving Get-OMType.
2024-06-05T16:19:48.7110082Z ##[debug]AGENT_SKIPCERTVALIDATION (empty)
2024-06-05T16:19:48.7135662Z ##[debug] Converted to bool: False
2024-06-05T16:19:48.7163363Z ##[debug]Constructing HTTP client.
2024-06-05T16:19:48.7560592Z ##[debug]Leaving Get-VstsVssHttpClient.
2024-06-05T16:19:48.7592521Z ##[debug]Removing assemlby resolver.
2024-06-05T16:19:48.7637906Z ##[debug]Leaving Initialize-AzModule.
2024-06-05T16:19:48.7697997Z ##[debug]Caught exception from task script.
2024-06-05T16:19:48.7732761Z ##[debug]Error record:
2024-06-05T16:19:48.8621226Z ##[debug]Get-VstsVssHttpClient : Exception calling ".ctor" with "3" argument(s): "Method not found: 'Newtonsoft.Json.JsonSerializerSettings System.Net.Http.Formatting.BaseJsonMediaTypeFormatter.get_SerializerSettings()'."
2024-06-05T16:19:48.8636626Z ##[debug]At D:\agent\_work\_tasks\AzureFileCopy_eb72cb01-a7e5-427b-a8a1-1b31ccac8a43\6.240.8\ps_modules\VstsAzureHelpers_\Utility.ps1:234 char:27
2024-06-05T16:19:48.8651375Z ##[debug]+ ...   $taskHttpClient = Get-VstsVssHttpClient -OMDirectory $OMDirectory `
2024-06-05T16:19:48.8666283Z ##[debug]+                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2024-06-05T16:19:48.8681223Z ##[debug]    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
2024-06-05T16:19:48.8697184Z ##[debug]    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Get-VstsVssHttpClient
2024-06-05T16:19:48.8713653Z ##[debug] 
2024-06-05T16:19:48.8743459Z ##[debug]Script stack trace:
2024-06-05T16:19:48.8783529Z ##[debug]at Get-VssHttpClient, D:\agent\_work\_tasks\AzureFileCopy_eb72cb01-a7e5-427b-a8a1-1b31ccac8a43\6.240.8\ps_modules\VstsTaskSdk\ServerOMFunctions.ps1: line 486
2024-06-05T16:19:48.8799050Z ##[debug]at Get-VstsFederatedToken, D:\agent\_work\_tasks\AzureFileCopy_eb72cb01-a7e5-427b-a8a1-1b31ccac8a43\6.240.8\ps_modules\VstsAzureHelpers_\Utility.ps1: line 234
2024-06-05T16:19:48.8816102Z ##[debug]at Initialize-AzSubscription, D:\agent\_work\_tasks\AzureFileCopy_eb72cb01-a7e5-427b-a8a1-1b31ccac8a43\6.240.8\ps_modules\VstsAzureHelpers_\InitializeAzModuleFunctions.ps1: line 347
2024-06-05T16:19:48.8831648Z ##[debug]at Initialize-AzModule, D:\agent\_work\_tasks\AzureFileCopy_eb72cb01-a7e5-427b-a8a1-1b31ccac8a43\6.240.8\ps_modules\VstsAzureHelpers_\InitializeAzModuleFunctions.ps1: line 76
2024-06-05T16:19:48.8846194Z ##[debug]at , D:\agent\_work\_tasks\AzureFileCopy_eb72cb01-a7e5-427b-a8a1-1b31ccac8a43\6.240.8\AzureFileCopy.ps1: line 66
2024-06-05T16:19:48.8862485Z ##[debug]at , : line 1
2024-06-05T16:19:48.8878579Z ##[debug]at , : line 22
2024-06-05T16:19:48.8894963Z ##[debug]at , : line 18
2024-06-05T16:19:48.8909623Z ##[debug]at , : line 1
2024-06-05T16:19:48.8935720Z ##[debug]Exception:
2024-06-05T16:19:48.8980091Z ##[debug]Microsoft.PowerShell.Commands.WriteErrorException: Exception calling ".ctor" with "3" argument(s): "Method not found: 'Newtonsoft.Json.JsonSerializerSettings System.Net.Http.Formatting.BaseJsonMediaTypeFormatter.get_SerializerSettings()'."
2024-06-05T16:19:48.9041334Z ##[error]Exception calling ".ctor" with "3" argument(s): "Method not found: 'Newtonsoft.Json.JsonSerializerSettings System.Net.Http.Formatting.BaseJsonMediaTypeFormatter.get_SerializerSettings()'."
2024-06-05T16:19:48.9042024Z ##[debug]Processed: ##vso[task.logissue type=error;source=TaskInternal]Exception calling ".ctor" with "3" argument(s): "Method not found: 'Newtonsoft.Json.JsonSerializerSettings System.Net.Http.Formatting.BaseJsonMediaTypeFormatter.get_SerializerSettings()'."
2024-06-05T16:19:48.9053212Z ##[debug]Processed: ##vso[task.complete result=Failed]
2024-06-05T16:19:48.9187131Z ##[debug]Agent environment resources - Disk: D:\ Available 1020126.00 MB out of 1953496.00 MB, Memory: Used 13594.00 MB out of 32673.00 MB, CPU: Usage 3.34%
2024-06-05T16:19:48.9447748Z ##[section]Finishing: Upload package to storage

Repro steps

No response

v-schhabra commented 5 months ago

@jloehr Could you please share us the detail logs of the pipeline by adding variable system.debug to "true".

jloehr commented 5 months ago

I already included the detailed logs of the task in my original post. See Full task logs with system.debug enabled and expand Details. Do you need any additional logs?

v-schhabra commented 5 months ago

@jloehr Sorry, I missed to check that. For now we dont need any other information. Will post it here if we need more details.

v-schhabra commented 5 months ago

@jloehr Could you pls update the version of Az.Accounts module to 3.0.0?

jloehr commented 5 months ago

Updating Az / AzurePS to 3.0.0 did fix the issue. Can you go ahead and fix the requirement for the task in the documentation?

v-schhabra commented 5 months ago

Updating Az / AzurePS to 3.0.0 did fix the issue. Can you go ahead and fix the requirement for the task in the documentation?

Sure, will check and fix.