-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
Description
New issue checklist
- I searched for existing GitHub issues
- I read pipeline troubleshooting guide
- I checked how to collect logs
Task name
AzureFileCopyV6
Breaking task version
V6
Last working task version
No response
Regression Description
A regression happened!
The following pipeline: https://microsoft.visualstudio.com/Universal%20Store/_build/results?buildId=119681486&view=logs&j=15dfcb1a-0989-5cf6-3160-3e181e44de87&t=7f38a826-dcdc-5dce-32e2-bd5be705b052 fails with this error message:
##[error]The term 'New-AzStorageContext' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
Environment type (Please select at least one enviroment where you face this issue)
- Self-Hosted
- Microsoft Hosted
- VMSS Pool
- Container
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
Windows 11
Relevant log output
Environments : {[AzureChinaCloud, AzureChinaCloud], [AzureCloud, AzureCloud],
[AzureUSGovernment, AzureUSGovernment]}
Context : Microsoft.Azure.Commands.Profile.Models.Core.PSAzureContext
Set-AzContext
Name Value
---- -----
SubscriptionId 48bf4472-5414-439f-aa23-70f9662bb415
Name : DPSRPE_SCID6740877_PartnerCompetency_PPE
***
Subscription :
Account : ***
Environment : AzureCloud
Tenant :
TokenCache :
VersionProfile :
ExtendedProperties : {}
##[error]The term 'New-AzStorageContext' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
Finishing: AzureBlob File Copy - dist (windows_build_container)Full task logs with system.debug enabled
UNSUCCESSFUL RUN
https://microsoft.visualstudio.com/Universal%20Store/_build/results?buildId=119681486&view=logs&j=15dfcb1a-0989-5cf6-3160-3e181e44de87&t=7f38a826-dcdc-5dce-32e2-bd5be705b052
SUCCESSFUL RUN
https://microsoft.visualstudio.com/Universal%20Store/_build/results?buildId=119520287&view=results
Repro steps
# Trigger: https://microsoft.visualstudio.com/Universal%20Store/_build?definitionId=114697&_a=summary from ExpertMspUI_AppService_master branch
# The Azure File Copy V6 task fails with above mentioned error