-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Description
Description
Image build failure with message(same issue with windows build as well)
##[debug] . '/agent/_work/_temp/azureclitaskscript1744449493277.ps1'
/usr/bin/pwsh -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command . '/agent/_work/_temp/azureclitaskscript1744449493277.ps1'
GenerateResourcesAndImage : A parameter cannot be found that matches parameter name 'Force'.
At /agent/_work/_temp/azureclitaskscript1744449493276_inlinescript.ps1:23 char:27
- GenerateResourcesAndImage @CreateImageParams
-
~~~~~~~~~~~~~~~~~~ - CategoryInfo : InvalidArgument: (:) [GenerateResourcesAndImage], ParentContainsErrorRecordException
- FullyQualifiedErrorId : NamedParameterNotFound,GenerateResourcesAndImage
Platforms affected
- Azure DevOps
- GitHub Actions - Standard Runners
- GitHub Actions - Larger Runners
Runner images affected
- Ubuntu 20.04
- Ubuntu 22.04
- Ubuntu 24.04
- macOS 13
- macOS 13 Arm64
- macOS 14
- macOS 14 Arm64
- macOS 15
- macOS 15 Arm64
- Windows Server 2019
- Windows Server 2022
- Windows Server 2025
Image version and build link
20250406.1.0
Is it regression?
NA
Expected behavior
image build success
Actual behavior
##[debug] . '/agent/_work/_temp/azureclitaskscript1744449493277.ps1'
/usr/bin/pwsh -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command . '/agent/_work/_temp/azureclitaskscript1744449493277.ps1'
GenerateResourcesAndImage : A parameter cannot be found that matches parameter name 'Force'.
At /agent/_work/_temp/azureclitaskscript1744449493276_inlinescript.ps1:23 char:27
- GenerateResourcesAndImage @CreateImageParams
-
~~~~~~~~~~~~~~~~~~ - CategoryInfo : InvalidArgument: (:) [GenerateResourcesAndImage], ParentContainsErrorRecordException
- FullyQualifiedErrorId : NamedParameterNotFound,GenerateResourcesAndImage
Repro steps
Rerun pipeline