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

Make recent Azure CLI versions available when using deployment scripts #30724

Open
StevenDevooght opened this issue Jan 27, 2025 · 2 comments
Open
Assignees
Labels
ARM az resource/group/lock/tag/deployment/policy/managementapp/account management-group customer-reported Issues that are reported by GitHub users external to the Azure organization. feature-request Service Attention This issue is responsible by Azure service team.
Milestone

Comments

@StevenDevooght
Copy link

StevenDevooght commented Jan 27, 2025

Related command
We are using a deployment script resources of kind AzureCLI to deploy some resources to Azure.

resource azureActiveDirectoryResourcesDeploymentScript 'Microsoft.Resources/deploymentScripts@2023-08-01' = {
  name: '${applicationId}-${environment}-${instance}-entraid-ds'
  location: location
  tags: tags
  kind: 'AzureCLI'
  identity: {
    type: 'UserAssigned'
    userAssignedIdentities: {
      '${identity.id}': {}
    }
  }
  properties: {
    azCliVersion: '2.66.0'
    retentionInterval: 'PT1H'
    cleanupPreference: 'OnSuccess'
    scriptContent: loadTextContent('./../.scripts/DeployAzureActiveDirectoryResources.sh')
    forceUpdateTag: baseTime
  }
}

Is your feature request related to a problem? Please describe.
We would like to use a newer version of Azure CLI (at least version 2.66.0). However the deployment gives us the following error indicating that 2.66.0 is not available yet.

{
    "code": "DeploymentPreflightValidationFailed",
    "target": "/subscriptions/5035e045-cfb7-477f-b956-8b93f9c3cc56/resourceGroups/nns-dev-ugl-rg/providers/Microsoft.Resources/deploymentScripts/nns-dev-ugl-entraid-ds",
    "message": "The script language version '2.66.0' is not supported. Supported versions: '2.0.77,2.0.78,2.0.79,2.0.80,2.0.81,2.1.0,2.10.0,2.10.1,2.11.0,2.11.1,2.12.0,2.12.1,2.13.0,2.14.0,2.14.1,2.14.2,2.15.0,2.15.1,2.16.0,2.17.0,2.17.1,2.18.0,2.19.0,2.19.1,2.2.0,2.20.0,2.21.0,2.22.0,2.22.1,2.23.0,2.24.0,2.24.1,2.24.2,2.25.0,2.26.0,2.26.1,2.27.0,2.27.1,2.27.2,2.28.0,2.29.0,2.29.1,2.29.2,2.3.0,2.3.1,2.30.0,2.31.0,2.32.0,2.33.0,2.33.1,2.34.0,2.34.1,2.35.0,2.36.0,2.37.0,2.38.0,2.39.0,2.4.0,2.40.0,2.41.0,2.42.0,2.43.0,2.44.0,2.44.1,2.45.0,2.46.0,2.47.0,2.48.0,2.48.1,2.49.0,2.5.0,2.5.1,2.50.0,2.51.0,2.52.0,2.53.0,2.53.1,2.54.0,2.55.0,2.56.0,2.57.0,2.58.0,2.59.0,2.6.0,2.60.0,2.61.0,2.62.0,2.63.0,2.64.0,2.7.0,2.8.0,2.9.0,2.9.1'. Please refer to https://aka.ms/DeploymentScriptsTroubleshoot for more deployment script information."
}

Describe the solution you'd like
According to the documentation new Azure CLI versions should become available after 30 days on the deployment script runtime. However version 2.66.0 was released on 5 November 2024 and is still not available to use on deployment scripts.
When will the newer Azure CLI versions become available on the deployment script runtime?

Describe alternatives you've considered
/

Additional context
/

@yonzhan
Copy link
Collaborator

yonzhan commented Jan 27, 2025

Thank you for opening this issue, we will look into it.

@microsoft-github-policy-service microsoft-github-policy-service bot added the customer-reported Issues that are reported by GitHub users external to the Azure organization. label Jan 27, 2025
@yonzhan yonzhan added Azure CLI Team The command of the issue is owned by Azure CLI team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Jan 28, 2025
@yonzhan yonzhan added this to the Backlog milestone Jan 28, 2025
@yonzhan yonzhan added feature-request and removed question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Jan 28, 2025
@yonzhan yonzhan added Service Attention This issue is responsible by Azure service team. ARM az resource/group/lock/tag/deployment/policy/managementapp/account management-group and removed Azure CLI Team The command of the issue is owned by Azure CLI team labels Feb 5, 2025
Copy link
Contributor

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @josephkwchan, @jennyhunter-msft.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ARM az resource/group/lock/tag/deployment/policy/managementapp/account management-group customer-reported Issues that are reported by GitHub users external to the Azure organization. feature-request Service Attention This issue is responsible by Azure service team.
Projects
None yet
Development

No branches or pull requests

3 participants