Scripting and Command Line Tools

Azure provides two command line tools – PowerShell and Cross-Platform CLI – for you to manage your Azure subscriptions, accelerate your development and automate tasks via scripting, no matter whether you are on Windows, Mac or Linux.

If you have any feedback on Azure PowerShell or Azure Cross-Platform CLI, we’d love to hear it.

  1. automatically download the latest ip ranges used by MS Azure Datacenters

    I see MS has provide website where you can download the public ip ranges used by MS Azure.

    The question is, is there a way to download the XML file from that site automatically using Python or other scripts? I am trying to schedule a task to grab the new IP range file and process it .

    Thanks,
    Adi

    29 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    2 comments  ·  Xplat-CLI  ·  Flag idea as inappropriate…  ·  Admin →

    Thank you for the feedback. We now have a report that is generated weekly on Mondays: Azure Service Tags JSON (https://www.microsoft.com/en-us/download/details.aspx?id=56519). This file includes all of the Service Tags and data by regions. This is an improvement over previous files as it includes tagging by Service Tag. We recommend you move to using this file and check weekly for updates. The file is broken out by Cloud (I.e. Public) and region (i.e., West US 2). We will take the RSS Feed request under advisement.

  2. azure CLI does not properly give you the error feedback.

    Azure CLI does not properly give you the error feedback. To get the error that is occurring you need to go to the portal and get into the Kudu tool and check it there

    14 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Xplat-CLI  ·  Flag idea as inappropriate…  ·  Admin →
  3. Missing functionality in Azure CLI

    I see Azure PowerShell command to get and set owner for Active Directory applications. Need something similar in Azure CLI.

    https://docs.microsoft.com/en-us/powershell/module/azuread/get-azureadapplicationowner?view=azureadps-2.0

    Can you please keep Azure CLI up to date with functionality that is available in Azure PowerShell

    13 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Xplat-CLI  ·  Flag idea as inappropriate…  ·  Admin →
  4. Write manual (man) pages for Azure CLI 2.0 on macOS/Linux systems

    Version 2.0 of the Azure CLI is supported on non-Windows platforms, such as Linux and macOS. However, the existing version of Azure CLI doesn't provide any manual (man) pages, which is the common/traditional/expected way to provide documentation on said platforms. Providing detailed man pages, including examples of usage, would make the Azure CLI much more approachable for users of non-Windows platforms (and/or new users).

    10 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Xplat-CLI  ·  Flag idea as inappropriate…  ·  Admin →
  5. Please add an azure cli command equivalent to the Add-MsolRoleMember in PowerShell.

    Please see this discussion on StackOverflow https://stackoverflow.com/questions/44122993/azure-cli-equivalent-to-powershells-add-msolrolemember Since azure cli is more cross-platform than PowerShell, it would be great to have the Add-MsolRoleMember equivalent in the azure ad cli.

    7 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Xplat-CLI  ·  Flag idea as inappropriate…  ·  Admin →
  6. AZ mesh is not found

    az: 'mesh' is not in the 'az' command group. See 'az --help'. this is what we get when enter this command on AZ Cli on terminal.

    4 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Xplat-CLI  ·  Flag idea as inappropriate…  ·  Admin →
  7. "az vm create" command has one redundant parameter, "--storage-account", since the storage account will be the same as the one of image.

    "az vm create" command has one redundant parameter, "--storage-account", since the storage account will be the same as the one of image. This has already been specified in the image.

    4 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Xplat-CLI  ·  Flag idea as inappropriate…  ·  Admin →
  8. add application-gateway multi-site http-listener support in azure-cli

    Could you consider adding support for application-gateway multi-site http-listeners in azure-cli (and azure 2.0 preview)?

    4 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Xplat-CLI  ·  Flag idea as inappropriate…  ·  Admin →
  9. *Anything* that is possible to do via the Azure Portal *must* also be possible to do via ARM/Powershell/Azure-cli/terraform

    Hello,

    As I have been working more and more with Azure resources over the years, I keep noticing shortfalls between what's available in the Azure Portal vs. what's available via infrastructure automation tools. IaC allows us to peer-review changes that are otherwise hard to track/bisect if done via the UI. Please keep in mind to offer support for IaC when introducing features into the azure portal and enhance documentation with better examples.

    3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Xplat-CLI  ·  Flag idea as inappropriate…  ·  Admin →
  10. indicate through the cli/portal when a instance is actually reachable.

    The cli json output only indicates when the provisioningState: "Succeeded" however there is no indication in the json or through "az vm list" when the instance is actually reachable (via ssh or RDP).

    This is particularly important when you created an automation workflow dependent on when the instance is reachable. The reach-ability is quite variable dependent on whether it is a GPU instance (NC or NV) or one of the compute (F -series) instances.

    3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Xplat-CLI  ·  Flag idea as inappropriate…  ·  Admin →
  11. Allow Azure Portal to correct display the Diagnostics Settings for VMs when enabled via az cli

    When using az CLI commands to enable diagnostic settings for VMs, the portal still shows it to be off. Please remedy this.

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Xplat-CLI  ·  Flag idea as inappropriate…  ·  Admin →
  12. azure cli available IPs of subnet

    Currently we can retrieve total available IPs of Vnet subnet(s) from Portal UI. But there is no way to get the same from Asure CLI. Suggest to add this function in AZ CLI similar to the following:

    az network vnet subnet show

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Xplat-CLI  ·  Flag idea as inappropriate…  ·  Admin →
  13. block "azure cli"

    Provide functionality or feature may be through Azure CAP to block AZ CLI access for normal users, as a Security best practice.

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Xplat-CLI  ·  Flag idea as inappropriate…  ·  Admin →
  14. 1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Xplat-CLI  ·  Flag idea as inappropriate…  ·  Admin →
  15. CLI error messages refer to flattened json template inputs

    Messages in templates provided to the CLI include the line and column number of the error, which is nice, except the line number is always "1" and the column number is usually in the thousands. Seems like the json template is being parsed into one long string first and then validation errors are being reporting on that.

    It would be useful to get the actual line numbers reflecting the original input template file.

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Xplat-CLI  ·  Flag idea as inappropriate…  ·  Admin →
  16. update management

    Azure Cli does not support Update Management. This is needed in order to automate more than just scheduled updates from the web portal.

    We need the ability to create, edit and delete schedules + retrieve update deployment status for specific schedules + list of onboarded machines.

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Xplat-CLI  ·  Flag idea as inappropriate…  ·  Admin →
  17. Allow a major version to be specified for Set-AzureVMChefExtension

    Since Chef 12 is out, I've noticed the chef client software has been automatically upgraded to Chef 12. It would be useful to specify a Chef 11 or Chef 12 client on the command line to install the software that bests supports the Chef server one is running.

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Xplat-CLI  ·  Flag idea as inappropriate…  ·  Admin →
  • Don't see your idea?

Scripting and Command Line Tools

Categories

Feedback and Knowledge Base