Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hard Coded API version in API call not compatible with Azure Stack Hub #361

Open
trx1 opened this issue Aug 7, 2024 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@trx1
Copy link

trx1 commented Aug 7, 2024

The function with the issue:

getSitePublishingCredentialPolicies() in azure-pipelines-tasks-common-packages/common-npm-packages/azurermdeploycommon/azure-arm-rest/azure-arm-app-service.ts

The issue:

This function passes api version '2022-03-01' which is not supported by Azure Stack Hub. This is called by Azure Devop's 'Azure App Service deploy' task (https://github.com/microsoft/azure-pipelines-tasks/tree/c61bf51acafa7f1b51b2b7271d766a0e5bdc6003/Tasks/AzureRmWebAppDeploymentV4) which is used on Azure DevOps Server. The upgrade of Azure DevOps Server installed the newer incompatible version which broke all deployments in our organization using that deployment task.

The fix:

Pass the API version of '2020-12-01' or better yet, check what versions are supported and don't use an unsupported version.

Line of code reference:

Bug introduced in this commit:

885a11f#diff-0a2aa407bd15f8009b4661e830703df84cef0cc4cced168290d308c3feaacb7a

@ismayilov-ismayil
Copy link
Contributor

Hi @trx1, thanks for reporting! We are working on more prioritized issues at the moment, but will get back to this one soon.

@ismayilov-ismayil ismayilov-ismayil added the enhancement New feature or request label Aug 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants