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.

How can we improve the Azure command line tools and scripting experience?

You've used all your votes and won't be able to post a new idea, but you can still search and comment on existing ideas.

There are two ways to get more votes:

  • When an admin closes an idea you've voted on, you'll get your votes back from that idea.
  • You can remove your votes from an open idea you support.
  • To see ideas you have already voted on, select the "My feedback" filter and select "My open ideas".
(thinking…)

Enter your idea and we'll search to see if someone has already suggested it.

If a similar idea already exists, you can support and comment on it.

If it doesn't exist, you can post your idea so others can support it.

Enter your idea and we'll search to see if someone has already suggested it.

  1. Tags property behavior should be the same for ResourceGroup and Resource

    I noticed a difference between the Tags property of a Resource Group and the Tags property of a single Resource.

    When a new Resource Group (without tags) is created and you get a reference to it using Get-AzureRmResourceGroup and inspect it's "Tags" property, it will return $null.

    When you do the same for a new Resource (without tags), using Get-AzureRmResource and querying the "Tags" property will throw a PropertyNotFound exception.

    I suggest a change where the behavior of both Tags properties is the same. When a Resource Group or a Resource has no tags set, either let their Tags property…

    3 votes
    Vote
    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      You have left! (?) (thinking…)
      0 comments  ·  Powershell  ·  Flag idea as inappropriate…  ·  Admin →
    • 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).

      7 votes
      Vote
      Sign in
      Check!
      (thinking…)
      Reset
      or sign in with
      • facebook
      • google
        Password icon
        I agree to the terms of service
        Signed in as (Sign out)
        You have left! (?) (thinking…)
        0 comments  ·  Xplat-CLI  ·  Flag idea as inappropriate…  ·  Admin →
      • Find a way to silently install Azure point-to-site exe files for clients so an automated install can be done. boss wants NO user input

        Find a way to silently install Azure point-to-site exe files for clients so an automated install can be done. boss wants NO user input, even if it just involves clicking YES. i for one have no mercy for spoonfeeding intelligent people who disregard emails or can mess up a double-click, but sadly this is the real world.

        1 vote
        Vote
        Sign in
        Check!
        (thinking…)
        Reset
        or sign in with
        • facebook
        • google
          Password icon
          I agree to the terms of service
          Signed in as (Sign out)
          You have left! (?) (thinking…)
          0 comments  ·  Flag idea as inappropriate…  ·  Admin →
        • RBAC

          Hi Team,Regarding the RBAC Roles. Unable to revoke a user role it is simply showing Failed to remove the user@123 as a owner for abcsd01.It will be great if the reason is mentioned for the failure.we are able to remove the role using Powershell . So it will be great if error is shown with proper explanation.

          1 vote
          Vote
          Sign in
          Check!
          (thinking…)
          Reset
          or sign in with
          • facebook
          • google
            Password icon
            I agree to the terms of service
            Signed in as (Sign out)
            You have left! (?) (thinking…)
            0 comments  ·  Powershell  ·  Flag idea as inappropriate…  ·  Admin →
          • 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
            Check!
            (thinking…)
            Reset
            or sign in with
            • facebook
            • google
              Password icon
              I agree to the terms of service
              Signed in as (Sign out)
              You have left! (?) (thinking…)
              0 comments  ·  Xplat-CLI  ·  Flag idea as inappropriate…  ·  Admin →
            • PowerShell Script required to fetch Azure VM Size Pricng for the particular region

              Like Get-AzureRmVmSize -Location "East US" to fetch the list of Azure VM Size in the location we need PowerShell Script to fetch Azure VM Size Pricing for the particular region

              3 votes
              Vote
              Sign in
              Check!
              (thinking…)
              Reset
              or sign in with
              • facebook
              • google
                Password icon
                I agree to the terms of service
                Signed in as (Sign out)
                You have left! (?) (thinking…)
                0 comments  ·  Powershell  ·  Flag idea as inappropriate…  ·  Admin →
              • 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
                Check!
                (thinking…)
                Reset
                or sign in with
                • facebook
                • google
                  Password icon
                  I agree to the terms of service
                  Signed in as (Sign out)
                  You have left! (?) (thinking…)
                  0 comments  ·  Xplat-CLI  ·  Flag idea as inappropriate…  ·  Admin →
                • "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
                  Check!
                  (thinking…)
                  Reset
                  or sign in with
                  • facebook
                  • google
                    Password icon
                    I agree to the terms of service
                    Signed in as (Sign out)
                    You have left! (?) (thinking…)
                    0 comments  ·  Xplat-CLI  ·  Flag idea as inappropriate…  ·  Admin →
                  • Change ressource group of protected items with powershell (ARM)

                    Some actions in Azure Site Recovery vaults can only be made via the azure portal.
                    It would be easier and more productive to be able to modify the ressource group associated to a protected item (a VM, in our case) via powershell, instead of clicking again and again for each of our replicated VMs.

                    1 vote
                    Vote
                    Sign in
                    Check!
                    (thinking…)
                    Reset
                    or sign in with
                    • facebook
                    • google
                      Password icon
                      I agree to the terms of service
                      Signed in as (Sign out)
                      You have left! (?) (thinking…)
                      0 comments  ·  Powershell  ·  Flag idea as inappropriate…  ·  Admin →
                    • add the ability to use self-signed certificates for URL in CustomScriptExtension

                      I’m using the VM CustomScriptExtension with a URL that points back to our web server to collect the powershell script and command that we use to download and install our own custom software. Tthe extension is failing because of the self-signed certificate on the web server. The CustomScriptForLinux does not have the same issue; I’m able to install our software just fine on Linux.

                      1 vote
                      Vote
                      Sign in
                      Check!
                      (thinking…)
                      Reset
                      or sign in with
                      • facebook
                      • google
                        Password icon
                        I agree to the terms of service
                        Signed in as (Sign out)
                        You have left! (?) (thinking…)
                        0 comments  ·  Powershell  ·  Flag idea as inappropriate…  ·  Admin →
                      • 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.

                        1 vote
                        Vote
                        Sign in
                        Check!
                        (thinking…)
                        Reset
                        or sign in with
                        • facebook
                        • google
                          Password icon
                          I agree to the terms of service
                          Signed in as (Sign out)
                          You have left! (?) (thinking…)
                          0 comments  ·  Xplat-CLI  ·  Flag idea as inappropriate…  ·  Admin →
                        • Script to login to Azure Subscription using ARM runbooks

                          Since Azure ARM has a different way of interfacing the system using the Powershell ARM runbooks might be a good idea to write a script syntax how to connect to the subscription.

                          1 vote
                          Vote
                          Sign in
                          Check!
                          (thinking…)
                          Reset
                          or sign in with
                          • facebook
                          • google
                            Password icon
                            I agree to the terms of service
                            Signed in as (Sign out)
                            You have left! (?) (thinking…)
                            1 comment  ·  Powershell  ·  Flag idea as inappropriate…  ·  Admin →
                          • It is really bad idea to depricate Select-AzureRmProfile

                            It is really bad idea to deprecate Select-AzureRmProfile
                            A lot of community scripts/runbooks, internal scripts, etc,. are using that alias

                            3 votes
                            Vote
                            Sign in
                            Check!
                            (thinking…)
                            Reset
                            or sign in with
                            • facebook
                            • google
                              Password icon
                              I agree to the terms of service
                              Signed in as (Sign out)
                              You have left! (?) (thinking…)
                              0 comments  ·  Powershell  ·  Flag idea as inappropriate…  ·  Admin →
                            • Restoration of Databases from .bacpac file

                              There should such a runbook in azure which should be capable to restore a database from .bacpac file daily.
                              Suppose someone has automated the backup(.bacpac) of a certain production database and he/she wants to restore the Production database on UAT database daily at a certain time.
                              Runbook should also be capable to delete the UAT database and then restore with the same name.For example, database name is abc.UAT and it should be restored from abc.PROD database's .bacpac.
                              Since, the URL of .bacpac will change daily so this runbook should be capable to accomodate the daily chaning URL of .bacpac file.

                              1 vote
                              Vote
                              Sign in
                              Check!
                              (thinking…)
                              Reset
                              or sign in with
                              • facebook
                              • google
                                Password icon
                                I agree to the terms of service
                                Signed in as (Sign out)
                                You have left! (?) (thinking…)
                                0 comments  ·  Powershell  ·  Flag idea as inappropriate…  ·  Admin →
                              • Script to deplay fortigate firewall in Azure

                                Fortigate (Fortinet) firewall in Azure I cant actually find a script.

                                1 vote
                                Vote
                                Sign in
                                Check!
                                (thinking…)
                                Reset
                                or sign in with
                                • facebook
                                • google
                                  Password icon
                                  I agree to the terms of service
                                  Signed in as (Sign out)
                                  You have left! (?) (thinking…)
                                  0 comments  ·  Powershell  ·  Flag idea as inappropriate…  ·  Admin →
                                • 1 vote
                                  Vote
                                  Sign in
                                  Check!
                                  (thinking…)
                                  Reset
                                  or sign in with
                                  • facebook
                                  • google
                                    Password icon
                                    I agree to the terms of service
                                    Signed in as (Sign out)
                                    You have left! (?) (thinking…)
                                    0 comments  ·  Xplat-CLI  ·  Flag idea as inappropriate…  ·  Admin →
                                  • 1 vote
                                    Vote
                                    Sign in
                                    Check!
                                    (thinking…)
                                    Reset
                                    or sign in with
                                    • facebook
                                    • google
                                      Password icon
                                      I agree to the terms of service
                                      Signed in as (Sign out)
                                      You have left! (?) (thinking…)
                                      2 comments  ·  Powershell  ·  Flag idea as inappropriate…  ·  Admin →
                                    • 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
                                      Check!
                                      (thinking…)
                                      Reset
                                      or sign in with
                                      • facebook
                                      • google
                                        Password icon
                                        I agree to the terms of service
                                        Signed in as (Sign out)
                                        You have left! (?) (thinking…)
                                        1 comment  ·  Xplat-CLI  ·  Flag idea as inappropriate…  ·  Admin →
                                      • List owners of devices with "Get-AzureADDevice" command

                                        When using "Get-AzureADDevice" commands there is currently no way to retrieve information about the device owner. Adding this would add more flexibility when generating device reports from Azure AD through PowerShell.

                                        9 votes
                                        Vote
                                        Sign in
                                        Check!
                                        (thinking…)
                                        Reset
                                        or sign in with
                                        • facebook
                                        • google
                                          Password icon
                                          I agree to the terms of service
                                          Signed in as (Sign out)
                                          You have left! (?) (thinking…)
                                          1 comment  ·  Powershell  ·  Flag idea as inappropriate…  ·  Admin →
                                        • Get-AzureRmSubscription should return Offer ID

                                          as need it when working with Rate Card API so want to automate set up of Application / Security Principal

                                          8 votes
                                          Vote
                                          Sign in
                                          Check!
                                          (thinking…)
                                          Reset
                                          or sign in with
                                          • facebook
                                          • google
                                            Password icon
                                            I agree to the terms of service
                                            Signed in as (Sign out)
                                            You have left! (?) (thinking…)
                                            0 comments  ·  Powershell  ·  Flag idea as inappropriate…  ·  Admin →
                                          ← Previous 1 3 4 5
                                          • Don't see your idea?

                                          Scripting and Command Line Tools

                                          Feedback and Knowledge Base