Open xuzhang3 opened 1 year ago
When can we expect fix for this .. or any alternative api to disable this.
Tried below code but doesnt seems to be working.
$url = "https://dev.azure.com/$organization/$project/_apis/build/generalsettings?api-version=7.1-preview.1"
$headers = @{ Authorization = "Basic " + [Convert]::ToBase64String([Text.Encoding]::ASCII.GetBytes(":$($pat)")) }
$body = @{ disableClassicBuildPipelineCreation = $true } | ConvertTo-Json
$response = Invoke-RestMethod -Uri $url -Method Patch -Headers $headers -ContentType "application/json" -Body $body
@citrix-pradeep This is API bug and confirmed by service team.
Commenting for solution.
any update on this?
disableClassicPipelineCreation
is replaced by disableClassicReleasePipelineCreation
, disableClassicBuildPipelineCreation
. Hope SDK will fix this issue.
API: https://learn.microsoft.com/en-us/rest/api/azure/devops/build/general-settings/update?view=azure-devops-rest-7.1 Cannot modify
disableClassicPipelineCreation
though APIv7.0
,7.1-preview.1
even with ORG configuration disabled.