You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
##[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)
Hi @Apurva-tech
Could you pls add the variable "system.debug" to "true" and trigger the pipeline again?
v-schhabra
changed the title
[REGRESSION]: AzureFileCopyV6 task failing with "##[error]The term 'New-AzStorageContext' is not recognized as the name of a cmdlet..."
AzureFileCopyV6 task failing with "##[error]The term 'New-AzStorageContext' is not recognized as the name of a cmdlet..."
Apr 4, 2025
New issue checklist
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)
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
Full task logs with system.debug enabled
UNSUCCESSFUL RUN
SUCCESSFUL RUN
Repro steps
The text was updated successfully, but these errors were encountered: