Microsoft Azure CLI - Azure Command-Line Interface

Overview

Microsoft Azure CLI

Python Build Status Slack

A great cloud needs great tools; we're excited to introduce Azure CLI, our next generation multi-platform command line experience for Azure.

Take a test run now from Azure Cloud Shell!

Installation

Please refer to the install guide for detailed install instructions.

A list of common install issues and their resolutions are available at install troubleshooting.

Developer installation (see below)

Usage

$ az [ group ] [ subgroup ] [ command ] {parameters}

Get Started

Please refer to the "get started" guide for in-depth instructions.

For usage and help content, pass in the -h parameter, for example:

$ az storage -h
$ az vm create -h

Highlights

Here are a few features and concepts that can help you get the most out of the Azure CLI.

Azure CLI Highlight Reel

The following examples are showing using the --output table format, you can change your default using the az configure command.

Tab completion

We support tab-completion for groups, commands, and some parameters

# looking up resource group and name
$ az vm show -g [tab][tab]
AccountingGroup   RGOne  WebPropertiesRG

$ az vm show -g WebPropertiesRG -n [tab][tab]
StoreVM  Bizlogic

$ az vm show -g WebPropertiesRG -n Bizlogic

Query

You can use the --query parameter and the JMESPath query syntax to customize your output.

$ az vm list --query "[?provisioningState=='Succeeded'].{ name: name, os: storageProfile.osDisk.osType }"
Name                    Os
----------------------  -------
storevm                 Linux
bizlogic                Linux
demo32111vm             Windows
dcos-master-39DB807E-0  Linux

Exit codes

For scripting purposes, we output certain exit codes for differing scenarios.

Exit Code Scenario
0 Command ran successfully.
1 Generic error; server returned bad status code, CLI validation failed, etc.
2 Parser error; check input to command line.
3 Missing ARM resource; used for existence check from show commands.

Common scenarios and use Azure CLI effectively

Please check Tips for using Azure CLI effectively. It describes some common scenarios:

More samples and snippets

For more usage examples, take a look at our GitHub samples repo or https://docs.microsoft.com/cli/azure/overview.

Write and run commands in Visual Studio Code

With the Azure CLI Tools Visual Studio Code extension, you can create .azcli files and use these features:

  • IntelliSense for commands and their arguments.
  • Snippets for commands, inserting required arguments automatically.
  • Run the current command in the integrated terminal.
  • Run the current command and show its output in a side-by-side editor.
  • Show documentation on mouse hover.
  • Display current subscription and defaults in status bar.
  • To enable IntelliSense for other file types like .ps1 or .sh, see microsoft/vscode-azurecli#48.

Azure CLI Tools in Action

Data Collection

The software may collect information about you and your use of the software and send it to Microsoft. Microsoft may use this information to provide services and improve our products and services. You may turn off the telemetry as described in the repository. There are also some features in the software that may enable you and Microsoft to collect data from users of your applications. If you use these features, you must comply with applicable law, including providing appropriate notices to users of your applications together with a copy of Microsoft's privacy statement. Our privacy statement is located at https://go.microsoft.com/fwlink/?LinkID=824704. You can learn more about data collection and use in the help documentation and our privacy statement. Your use of the software operates as your consent to these practices.

Telemetry Configuration

Telemetry collection is on by default. To opt out, please run az config set core.collect_telemetry=no to turn it off.

Reporting issues and feedback

If you encounter any bugs with the tool please file an issue in the Issues section of our GitHub repo.

To provide feedback from the command line, try the az feedback command.

Developer installation

Docker

We maintain a Docker image preconfigured with the Azure CLI. See our Docker tags for available versions.

$ docker run -u $(id -u):$(id -g) -v ${HOME}:/home/az -e HOME=/home/az --rm -it mcr.microsoft.com/azure-cli:<version>

Edge builds

If you want to get the latest build from the dev branch, you can use our "edge" builds.

You can download the latest builds by following the links below:

Package Link
MSI https://aka.ms/InstallAzureCliWindowsEdge
Homebrew Formula https://aka.ms/InstallAzureCliHomebrewEdge
Ubuntu Xenial Deb https://aka.ms/InstallAzureCliXenialEdge
Ubuntu Bionic Deb https://aka.ms/InstallAzureCliBionicEdge
RPM https://aka.ms/InstallAzureCliRpmEdge

You can easily install the latest Homebrew edge build with the following command:

brew install $(curl -Ls -o /dev/null -w %{url_effective} https://aka.ms/InstallAzureCliHomebrewEdge)

You can install the edge build on Ubuntu Xenial with the following command:

curl -Ls -o azure-cli_xenial_all.deb https://aka.ms/InstallAzureCliXenialEdge && dpkg -i azure-cli_xenial_all.deb

And install the edge build with rpm package on CentOS/RHEL/Fedora:

rpm -ivh --nodeps $(curl -Ls -o /dev/null -w %{url_effective} https://aka.ms/InstallAzureCliRpmEdge)

Here's an example of installing edge builds with pip3 in a virtual environment. The --upgrade-strategy=eager option will install the edge builds of dependencies as well.

$ python3 -m venv env
$ . env/bin/activate
$ pip3 install --pre azure-cli --extra-index-url https://azurecliprod.blob.core.windows.net/edge --upgrade-strategy=eager

To upgrade your current edge build pass the --upgrade option. The --no-cache-dir option is also recommended since the feed is frequently updated.

$ pip3 install --upgrade --pre azure-cli --extra-index-url https://azurecliprod.blob.core.windows.net/edge --no-cache-dir --upgrade-strategy=eager

The edge build is generated for each PR merged to the dev branch as a part of the Azure DevOps Pipelines.

Get builds of arbitrary commit or PR

If you would like to get builds of arbitrary commit or PR, see:

Try new features before release

Developer setup

If you would like to setup a development environment and contribute to the CLI, see:

Configuring Your Machine

Authoring Command Modules

Contribute code

This project has adopted the Microsoft Open Source Code of Conduct.

For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

If you would like to become an active contributor to this project please follow the instructions provided in Microsoft Open Source Guidelines.

Comments
  • m2a

    m2a

    Saudi Arabian government. I wisd blessing to the government Saudi Arabia and blessing to all the people and I am global partnership business with the government of Saudi Arabia

    thank you (+/+)

    Service Attention customer-reported 
    opened by italukder 256
  • `pip install --upgrade azure-cli` fails on Cygwin due to psutil

    `pip install --upgrade azure-cli` fails on Cygwin due to psutil

    Describe the bug I tried to upgrade azure-cli from 2.0.31 to the latest (2.0.62 as of writing)

    To Reproduce pip install --upgrade azure-cli

    Expected behavior az should upgrade.

    Environment summary Windows 10 Cygwin (latest)

    Additional context

    Collecting psutil>=5.6.1 (from azure-cli-core==2.0.64->azure-cli)
      Using cached https://files.pythonhosted.org/packages/c6/c1/beed5e4eaa1345901b595048fab1c85aee647ea0fc02d9e8bf9aceb81078/psutil-5.6.2.tar.gz
        ERROR: Complete output from command python setup.py egg_info:
        ERROR: platform cygwin is not supported
        ----------------------------------------
    ERROR: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-NwRvbi/psutil/
    
    Feedback Workaround 
    opened by ElvenSpellmaker 70
  • Microsoft Graph API Support

    Microsoft Graph API Support

    According to https://docs.microsoft.com/en-us/graph/migrate-azure-ad-graph-overview:

    Azure Active Directory (Azure AD) Graph is deprecated. To avoid loss of functionality, migrate your applications to Microsoft Graph before June 30, 2022 when Azure AD Graph API endpoints will stop responding to requests.

    We need to switch Azure CLI to use Microsoft Graph API instead.

    Service Attention Graph Microsoft Graph feature-request Feature Candidate 
    opened by jiasli 60
  • az aks create fails to obtain SP credentials

    az aks create fails to obtain SP credentials

    Describe the bug Failed to create aks cluster using command line az aks create -n my-cluster -g test

    Instead the cli fails to pull the service principal credentials

    Operation failed with status: 'Bad Request'. Details: The credentials in ServicePrincipalProfile were invalid. Please see https://aka.ms/aks-sp-help for more details. (Details: adal: Refresh request failed. Status Code = '400'. Response body: {"error":"unauthorized_client","error_description":"AADSTS700016: Application with identifier 'f4b3caa9-defb-4ada-b190-e8422327afbb' was not found in the directory '599a411f-b08b-45fe-8545-623369f42d16'. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant.\r\nTrace ID: bb906908-bf98-46ad-ad5f-6262bd779100\r\nCorrelation ID: b5bb293a-d4be-43be-9a86-180b51515b4b\r\nTimestamp: 2019-06-06 18:45:03Z","error_codes":[700016],"timestamp":"2019-06-06 18:45:03Z","trace_id":"bb906908-bf98-46ad-ad5f-6262bd779100","correlation_id":"b5bb293a-d4be-43be-9a86-180b51515b4b","error_uri":"https://login.microsoftonline.com/error?code=700016"})
    

    To Reproduce Run az aks create -n my-cluster -g test

    Expected behavior A cluster is created

    Environment summary

    Linux-4.9.87-linuxkit-aufs-x86_64-with-debian-buster-sid
    Python 3.6.5
    Shell: bash
    
    azure-cli 2.0.66
    

    Additional context https://docs.microsoft.com/en-us/azure/aks/kubernetes-service-principal#automatically-create-and-use-a-service-principal

    The documentation clearly states that a principal should be created when one is not passed in.

    In this case, a SP is being created, and I can see that after in the App Registrations panel, but yet the command is still failing, leaving me with a SP that appears to be useless

    Service Attention AAD AKS customer-reported needs-author-feedback 
    opened by davis-x 52
  • az aks get-credentials not returning access-profile

    az aks get-credentials not returning access-profile

    I am using Azure-CLI version 2.0.24, however az aks get-credentials is not working.

    I am getting the following error:

    'ManagedCluster' object has no attribute 'properties' Traceback (most recent call last): File "/home/xiou/lib/azure-cli/local/lib/python2.7/site-packages/knack/cli.py", line 193, in invoke cmd_result = self.invocation.execute(args) File "/home/xiou/lib/azure-cli/local/lib/python2.7/site-packages/azure/cli/core/commands/init.py", line 319, in execute six.reraise(*sys.exc_info()) File "/home/xiou/lib/azure-cli/local/lib/python2.7/site-packages/azure/cli/core/commands/init.py", line 292, in execute result = cmd(params) File "/home/xiou/lib/azure-cli/local/lib/python2.7/site-packages/azure/cli/core/commands/init.py", line 169, in call return super(AzCliCommand, self).call(*args, **kwargs) File "/home/xiou/lib/azure-cli/local/lib/python2.7/site-packages/knack/commands.py", line 109, in call return self.handler(*args, **kwargs) File "/home/xiou/lib/azure-cli/local/lib/python2.7/site-packages/azure/cli/core/init.py", line 328, in default_command_handler result = op(**command_args) File "/home/xiou/lib/azure-cli/local/lib/python2.7/site-packages/azure/cli/command_modules/acs/custom.py", line 1329, in aks_get_credentials access_profiles = mc.properties.access_profiles AttributeError: 'ManagedCluster' object has no attribute 'properties'

    ACS 
    opened by xinyi-joffre 52
  • Support active Debian/Ubuntu distributions from Wheezy up

    Support active Debian/Ubuntu distributions from Wheezy up

    We install the azure cli on an Ubuntu 14.04 VM using apt-get in some of our automation scenarios and we started getting a new error yesterday. After running az login, we see this:

    Please ensure you have network connection. Error detail: Can't connect to HTTPS URL because the SSL module is not available.

    For reference this is how we install the cli:

    sudo apt-get update && sudo apt-get install -y libssl-dev libffi-dev python-dev
    echo "deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/azure-cli/ wheezy main" | sudo tee /etc/apt/sources.list.d/azure-cli.list
    sudo apt-key adv --keyserver apt-mo.trafficmanager.net --recv-keys 417A0893
    sudo apt-get install -y apt-transport-https
    sudo apt-get -y update && sudo apt-get install -y azure-cli
    

    Like I said, we do this in automation (aka it's a clean VM every time) and we haven't changed anything about how we install the CLI. I tried interactively installing with the https://aka.ms/InstallAzureCli command and did not reproduce this error.

    Packaging 
    opened by ejizba 50
  • az storage blob {upload|copy blob} doesn't support SAS URLs

    az storage blob {upload|copy blob} doesn't support SAS URLs

    Describe the bug My entire complaints about MD and storage accounts seems to actually be already solved by Azure, but not documented. Further, after some time, I still can't piece together if it's actually possible with the CLI.

    azure disk create ... --for-upload true ... returns a SAS URL that looks like this:

    https://md-impexp-t4nfwj1qcc3j.blob.core.windows.net/pk5qjbl3lnhn/abcd?sv=2017-04-17&sr=b&si=1d2b08af-d097-4d3f-b468-a7d4c91c7d04&sig=%2FjClxzQFf3O1ulyHn3xR1287XPdweHLnJKdYfj3ErZI%3D

    Does the CLI support using that SAS url directly with az storage blob upload or az storage blob copy start? If not, I don't really get how this scenario is complete under the CLI.

    Storage feature-request 
    opened by colemickens 48
  • `az resource list` fails to return images that do in fact exist

    `az resource list` fails to return images that do in fact exist

    The following BUG in your software is breaking our automated testing of resources in Azure. Our automation has not changed for a few months. And our automation worked perfectly before this BUG was introduced in your software in recent weeks.

    Related command
    az resource list --resource-group $imageResourceGroup --resource-type Microsoft.Compute/images []

    Describe the bug

    A resource group contains various resources, including one resource of type Microsoft.Compute/images . This is validated by logging into portal.azure.com and viewing the list of resources in the resource group to clearly see the image among the resources.

    The bug is that nothing is returned when the az resource list --resource-group $imageResourceGroup --resource-type Microsoft.Compute/images command is run, only an empty list is returned, even though the command is run by the subscription owner.

    So the problem is that the CLI fails to report the existence of an image resource which clearly is shown in the UI portal.azure.com.

    Furthermore, when we reduce the command to az resource list --resource-group aibmdi001 , the result is that all of the other resources in the resource group are indeed listed in the results, but yet the image is still not listed even though the portal.azure.com UI again still clearly shows that the image does indeed exist, and can even be used by scale sets as the valid image that it is.

    This is NOT custom programming. This is an Official Microsoft QuickStart which now breaks as a result of a BUG that was introduced into your software in recent weeks.

    To Reproduce

    1. First follow Microsoft's own explicit instructions for creating an image through automation using this official Microsoft QuickStart. Our transcript of the explicit step by step to reproduce this BUG fixes a couple of errors in the official Microsoft QuickStart and is as follows. Note that original-sp-uid-redacted refers to the subscription owner.

           [user@myVMSSx azureuser]$ cd /home/user/imageTest/
           [user@myVMSSx imageTest]$ az login --service-principal -u original-sp-uid-redacted -p original-sp-password-redacted --tenant tenant-id-redacted
           [
             {
               "cloudName": "AzureCloud",
               "homeTenantId": "tenant-id-redacted",
               "id": "subscription-id-redacted",
               "isDefault": true,
               "managedByTenants": [],
               "name": "subscription-name-redacted",
               "state": "Enabled",
               "tenantId": "tenant-id-redacted",
               "user": {
                 "name": "original-sp-uid-redacted",
                 "type": "servicePrincipal"
               }
             }
           ]
           [user@myVMSSx imageTest]$ az account set --subscription subscription-id-redacted
      
           [user@myVMSSx imageTest]$ az feature register --namespace Microsoft.VirtualMachineImages --name VirtualMachineTemplatePreview
           Once the feature 'VirtualMachineTemplatePreview' is registered, invoking 'az provider register -n Microsoft.VirtualMachineImages' is required to get the change propagated
           {
             "id": "/subscriptions/subscription-id-redacted/providers/Microsoft.Features/providers/Microsoft.VirtualMachineImages/features/VirtualMachineTemplatePreview",
             "name": "Microsoft.VirtualMachineImages/VirtualMachineTemplatePreview",
             "properties": {
               "state": "Registered"
             },
             "type": "Microsoft.Features/providers/features"
           }
           [user@myVMSSx imageTest]$ az feature show --namespace Microsoft.VirtualMachineImages --name VirtualMachineTemplatePreview | grep state
               "state": "Registered"
      
           [user@myVMSSx imageTest]$ az feature show --namespace Microsoft.KeyVault --name VirtualMachineTemplatePreview | grep state
           ERROR: (FeatureNotFound) The feature 'VirtualMachineTemplatePreview' could not be found.
           Code: FeatureNotFound
      
           # But we continued because this link said to ignore the message: https://github.com/danielsollondon/azvmimagebuilder/issues/27 
      
           [user@myVMSSx imageTest]$ az provider show -n Microsoft.VirtualMachineImages -o json | grep registrationState
             "registrationState": "Registered",
           [user@myVMSSx imageTest]$ az provider show -n Microsoft.KeyVault -o json | grep registrationState
             "registrationState": "Registered",
           [user@myVMSSx imageTest]$ az provider show -n Microsoft.Compute -o json | grep registrationState
             "registrationState": "Registered",
           [user@myVMSSx imageTest]$ az provider show -n Microsoft.Storage -o json | grep registrationState
             "registrationState": "Registered",
           [user@myVMSSx imageTest]$ az provider show -n Microsoft.Network -o json | grep registrationState
             "registrationState": "Registered",
      
           [user@myVMSSx imageTest]$ imageResourceGroup=aibmdi001
           [user@myVMSSx imageTest]$ location=WestUS2
           [user@myVMSSx imageTest]$ subscriptionID=$(az account show | grep id | tr -d '",' | cut -c7-)
           [user@myVMSSx imageTest]$ imageName=aibCustomLinuxImg01
           [user@myVMSSx imageTest]$ runOutputName=aibCustLinManImg01ro
      
           [user@myVMSSx imageTest]$ az group create -n $imageResourceGroup -l $location
           {
             "id": "/subscriptions/subscription-id-redacted/resourceGroups/aibmdi001",
             "location": "westus2",
             "managedBy": null,
             "name": "aibmdi001",
             "properties": {
               "provisioningState": "Succeeded"
             },
             "tags": null,
             "type": "Microsoft.Resources/resourceGroups"
           }
      
           [user@myVMSSx imageTest]$ identityName=aibBuiUserId$(date +'%s')
           [user@myVMSSx imageTest]$ az identity create -g $imageResourceGroup -n $identityName
           {
             "clientId": "created-client-id-redacted",
             "id": "/subscriptions/subscription-id-redacted/resourcegroups/aibmdi001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/aibBuiUserId1660333972",
             "location": "westus2",
             "name": "aibBuiUserId1660333972",
             "principalId": "created-serviceprincipal-id-redacted",
             "resourceGroup": "aibmdi001",
             "tags": {},
             "tenantId": "tenant-id-redacted",
             "type": "Microsoft.ManagedIdentity/userAssignedIdentities"
           }
      
           [user@myVMSSx imageTest]$ imgBuilderCliId=$(az identity show -g $imageResourceGroup -n $identityName | grep "clientId" | cut -c16- | tr -d '",')
           [user@myVMSSx imageTest]$ imgBuilderId=/subscriptions/$subscriptionID/resourcegroups/$imageResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/$identityName
           [user@myVMSSx imageTest]$ curl https://raw.githubusercontent.com/Azure/azvmimagebuilder/main/solutions/12_Creating_AIB_Security_Roles/aibRoleImageCreation.json -o aibRoleImageCreation.json
             % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                            Dload  Upload   Total   Spent    Left  Speed
           100   714  100   714    0     0   4127      0 --:--:-- --:--:-- --:--:--  4127
           [user@myVMSSx imageTest]$ imageRoleDefName="AzureImageBuilderImageDef"$(date +'%s')
      
           [user@myVMSSx imageTest]$ sed -i -e "s/<subscriptionID>/$subscriptionID/g" aibRoleImageCreation.json
           [user@myVMSSx imageTest]$ sed -i -e "s/<rgName>/$imageResourceGroup/g" aibRoleImageCreation.json
           [user@myVMSSx imageTest]$ sed -i -e "s/Azure Image Builder Service Image Creation Role/$imageRoleDefName/g" aibRoleImageCreation.json
      
           [user@myVMSSx imageTest]$ az role definition create --role-definition ./aibRoleImageCreation.json
           {
             "assignableScopes": [
               "/subscriptions/subscription-id-redacted/resourceGroups/aibmdi001"
             ],
             "description": "Image Builder access to create resources for the image build, you should delete or split out as appropriate",
             "id": "/subscriptions/subscription-id-redacted/providers/Microsoft.Authorization/roleDefinitions/created-roledefinition-id-redacted",
             "name": "created-roledefinition-id-redacted",
             "permissions": [
               {
                 "actions": [
                   "Microsoft.Compute/galleries/read",
                   "Microsoft.Compute/galleries/images/read",
                   "Microsoft.Compute/galleries/images/versions/read",
                   "Microsoft.Compute/galleries/images/versions/write",
                   "Microsoft.Compute/images/write",
                   "Microsoft.Compute/images/read",
                   "Microsoft.Compute/images/delete"
                 ],
                 "dataActions": [],
                 "notActions": [],
                 "notDataActions": []
               }
             ],
             "roleName": "AzureImageBuilderImageDef1660334204",
             "roleType": "CustomRole",
             "type": "Microsoft.Authorization/roleDefinitions"
           }
      
           [user@myVMSSx imageTest]$ az role assignment create --role $imageRoleDefName --scope /subscriptions/$subscriptionID/resourceGroups/$imageResourceGroup --assignee-object-id created-serviceprincipal-id-redacted --assignee-principal-type ServicePrincipal
           {
             "canDelegate": null,
             "condition": null,
             "conditionVersion": null,
             "description": null,
             "id": "/subscriptions/subscription-id-redacted/resourceGroups/aibmdi001/providers/Microsoft.Authorization/roleAssignments/created-roleassignment-id-redacted",
             "name": "created-roleassignment-id-redacted",
             "principalId": "created-serviceprincipal-id-redacted",
             "principalType": "ServicePrincipal",
             "resourceGroup": "aibmdi001",
             "roleDefinitionId": "/subscriptions/subscription-id-redacted/providers/Microsoft.Authorization/roleDefinitions/created-roledefinition-id-redacted",
             "scope": "/subscriptions/subscription-id-redacted/resourceGroups/aibmdi001",
             "type": "Microsoft.Authorization/roleAssignments"
           }
      
           [user@myVMSSx imageTest]$ curl https://raw.githubusercontent.com/Azure/azvmimagebuilder/main/quickquickstarts/0_Creating_a_Custom_Linux_Managed_Image/helloImageTemplateLinux.json -o helloImageTemplateLinux.json
             % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                            Dload  Upload   Total   Spent    Left  Speed
           100  2885  100  2885    0     0  10158      0 --:--:-- --:--:-- --:--:-- 10158
      
           [user@myVMSSx imageTest]$ curl https://raw.githubusercontent.com/danielsollondon/azvmimagebuilder/master/quickquickstarts/0_Creating_a_Custom_Linux_Managed_Image/helloImageTemplateLinux.json -o helloImageTemplateLinux.json
             % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                            Dload  Upload   Total   Spent    Left  Speed
           100  2893  100  2893    0     0  16162      0 --:--:-- --:--:-- --:--:-- 16162
      
           [user@myVMSSx imageTest]$ sed -i -e "s/<subscriptionID>/$subscriptionID/g" helloImageTemplateLinux.json
           [user@myVMSSx imageTest]$ sed -i -e "s/<rgName>/$imageResourceGroup/g" helloImageTemplateLinux.json
           [user@myVMSSx imageTest]$ sed -i -e "s/<region>/$location/g" helloImageTemplateLinux.json
           [user@myVMSSx imageTest]$ sed -i -e "s/<imageName>/$imageName/g" helloImageTemplateLinux.json
           [user@myVMSSx imageTest]$ sed -i -e "s/<runOutputName>/$runOutputName/g" helloImageTemplateLinux.json
           [user@myVMSSx imageTest]$ sed -i -e "s%<imgBuilderId>%$imgBuilderId%g" helloImageTemplateLinux.json
      
           [user@myVMSSx imageTest]$ az resource create --resource-group $imageResourceGroup --properties @helloImageTemplateLinux.json --is-full-object --resource-type Microsoft.VirtualMachineImages/imageTemplates -n helloImageTemplateLinux01
           {
             "extendedLocation": null,
             "id": "/subscriptions/subscription-id-redacted/resourcegroups/aibmdi001/providers/Microsoft.VirtualMachineImages/imageTemplates/helloImageTemplateLinux01",
             "identity": {
               "principalId": null,
               "tenantId": null,
               "type": "UserAssigned",
               "userAssignedIdentities": {
                 "/subscriptions/subscription-id-redacted/resourcegroups/aibmdi001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/aibBuiUserId1660333972": {
                   "clientId": "created-client-id-redacted",
                   "principalId": "created-serviceprincipal-id-redacted"
                 }
               }
             },
             "kind": null,
             "location": "westus2",
             "managedBy": null,
             "name": "helloImageTemplateLinux01",
             "plan": null,
             "properties": {
               "buildTimeoutInMinutes": 80,
               "customize": [
                 {
                   "name": "RunScriptFromSource",
                   "scriptUri": "https://raw.githubusercontent.com/danielsollondon/azvmimagebuilder/master/quickquickstarts/customizeScript.sh",
                   "sha256Checksum": "checksum-redacted",
                   "type": "Shell"
                 },
                 {
                   "name": "CheckSumCompareShellScript",
                   "scriptUri": "https://raw.githubusercontent.com/danielsollondon/azvmimagebuilder/master/quickquickstarts/customizeScript2.sh",
                   "sha256Checksum": "checksum-redacted",
                   "type": "Shell"
                 },
                 {
                   "destination": "/tmp/index.html",
                   "name": "downloadBuildArtifacts",
                   "sha256Checksum": "checksum-redacted",
                   "sourceUri": "https://raw.githubusercontent.com/danielsollondon/azvmimagebuilder/master/quickquickstarts/exampleArtifacts/buildArtifacts/index.html",
                   "type": "File"
                 },
                 {
                   "inline": [
                     "sudo mkdir /buildArtifacts",
                     "sudo cp /tmp/index.html /buildArtifacts/index.html"
                   ],
                   "name": "setupBuildPath",
                   "type": "Shell"
                 },
                 {
                   "inline": [
                     "sudo apt install unattended-upgrades"
                   ],
                   "name": "InstallUpgrades",
                   "type": "Shell"
                 }
               ],
               "distribute": [
                 {
                   "artifactTags": {
                     "baseosimg": "ubuntu1804",
                     "source": "azVmImageBuilder"
                   },
                   "imageId": "/subscriptions/subscription-id-redacted/resourceGroups/aibmdi001/providers/Microsoft.Compute/images/aibCustomLinuxImg01",
                   "location": "WestUS2",
                   "runOutputName": "aibCustLinManImg01ro",
                   "type": "ManagedImage"
                 }
               ],
               "exactStagingResourceGroup": "/subscriptions/subscription-id-redacted/resourceGroups/IT_aibmdi001_helloImageTemplateLinux01_created-resourcegroup-id-redacted",
               "provisioningState": "Succeeded",
               "source": {
                 "exactVersion": "18.04.202208100",
                 "offer": "UbuntuServer",
                 "publisher": "Canonical",
                 "sku": "18.04-LTS",
                 "type": "PlatformImage",
                 "version": "latest"
               },
               "stagingResourceGroup": "",
               "vmProfile": {
                 "osDiskSizeGB": 30,
                 "vmSize": "Standard_D1_v2"
               }
             },
             "resourceGroup": "aibmdi001",
             "sku": null,
             "tags": {
               "imagebuilderTemplate": "ubuntu1804",
               "userIdentity": "enabled"
             },
             "type": "Microsoft.VirtualMachineImages/imageTemplates"
           }
      
           [user@myVMSSx imageTest]$ az resource invoke-action --resource-group $imageResourceGroup --resource-type  Microsoft.VirtualMachineImages/imageTemplates -n helloImageTemplateLinux01 --action Run
           {
             "endTime": "2022-08-12T22:28:08.6302341Z",
             "name": "created-image-id-redacted",
             "startTime": "2022-08-12T22:17:31.1284365Z",
             "status": "Succeeded"
           }
      
           [user@myVMSSx imageTest]$ az resource list --resource-group $imageResourceGroup --resource-type Microsoft.Compute/images
           []
      
    2. Then confirm that the image was indeed successfully added into the resource group by examining the portal.azure.com UI. ... See that the image is available in the portal, but cannot be seen by the az resource list --resource-group $imageResourceGroup --resource-type Microsoft.Compute/images CLI command.

    Expected behavior

    The correct expected result would be for the az resource list --resource-group $imageResourceGroup --resource-type Microsoft.Compute/images cli command to return a data representation of the image which was created.

    Environment summary

    This problem occurs in both RHEL8 machines and in Windows 10 machines.

    In RHEL8, we have:

    $ az --version
    azure-cli                         2.39.0
    
    core                              2.39.0
    telemetry                          1.0.6 *
    
    Extensions:
    account                            0.2.3
    azure-devops                      0.25.0
    
    Dependencies:
    msal                            1.18.0b1
    azure-mgmt-resource             21.1.0b1
    
    Python location '/bin/python3.9'
    Extensions directory '/home/packer/.azure/cliextensions'
    
    Python (Linux) 3.9.7 (default, Sep 13 2021, 08:18:39)
    [GCC 8.5.0 20210514 (Red Hat 8.5.0-3)]
    

    And in Windows 10, we have:

    C:\Users\user>az --version
    azure-cli                         2.33.1 *
    
    core                              2.33.1 *
    telemetry                          1.0.6 *
    
    Extensions:
    account                            0.2.3
    azure-devops                      0.25.0
    
    Dependencies:
    msal                              1.16.0
    azure-mgmt-resource               20.0.0
    
    Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe'
    Extensions directory 'C:\Users\user\.azure\cliextensions'
    
    Python (Windows) 3.8.9 (tags/v3.8.9:a743f81, Apr  6 2021, 13:22:56) [MSC v.1928 32 bit (Intel)]  
    

    Again in Windows 10, after upgrading the Azure CLI version, we re-ran the same commands above to recreate the same exact BUG in your software with the following results from az --version :

    C:\path\to\dir>az --version
    azure-cli                         2.39.0
    
    core                              2.39.0
    telemetry                          1.0.6 *
    
    Extensions:
    account                            0.2.3
    azure-devops                      0.25.0
    
    Dependencies:
    msal                            1.18.0b1
    azure-mgmt-resource             21.1.0b1
    
    Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe'
    Extensions directory 'C:\Users\user8\.azure\cliextensions'
    
    Python (Windows) 3.10.5 (tags/v3.10.5:f377153, Jun  6 2022, 15:58:59) [MSC v.1929 32 bit (Intel)]
    

    Additional context

    We encounter this in the "eastus" Azure region, but we have not tried this in other regions, so we cannot comment on whether or not this bug manifests in other regions also.

    The debug trace on a Windows 10 laptop is as follows:

    C:\path\to\dir>az resource list --resource-group $imageResourceGroup --resource-type Microsoft.Compute/images --debug
    cli.knack.cli: Command arguments: ['resource', 'list', '--resource-group', 'aibmdi001', '--resource-type', 'Microsoft.Compute/images', '--debug']
    cli.knack.cli: __init__ debug log:
    Enable color in terminal.
    Init colorama.
    cli.knack.cli: Event: Cli.PreExecute []
    cli.knack.cli: Event: CommandParser.OnGlobalArgumentsCreate [<function CLILogging.on_global_arguments at 0x01DE40B8>, <function OutputProducer.on_global_arguments at 0x01E50F10>, <function CLIQuery.on_global_arguments at 0x01F78AD8>]
    cli.knack.cli: Event: CommandInvoker.OnPreCommandTableCreate []
    cli.azure.cli.core: Modules found from index for 'resource': ['azure.cli.command_modules.resource']
    cli.azure.cli.core: Loading command modules:
    cli.azure.cli.core: Name                  Load Time    Groups  Commands
    cli.azure.cli.core: resource                  0.012        40       187
    cli.azure.cli.core: Total (1)                 0.012        40       187
    cli.azure.cli.core: These extensions are not installed and will be skipped: ['azext_ai_examples', 'azext_next']
    cli.azure.cli.core: Loading extensions:
    cli.azure.cli.core: Name                  Load Time    Groups  Commands  Directory
    cli.azure.cli.core: Total (0)                 0.000         0         0
    cli.azure.cli.core: Loaded 40 groups, 187 commands.
    cli.azure.cli.core: Found a match in the command table.
    cli.azure.cli.core: Raw command  : resource list
    cli.azure.cli.core: Command table: resource list
    cli.knack.cli: Event: CommandInvoker.OnPreCommandTableTruncate [<function AzCliLogging.init_command_file_logging at 0x039C77C0>]
    cli.azure.cli.core.azlogging: metadata file logging enabled - writing logs to 'C:\Users\user\.azure\commands\2022-08-11.12-02-31.resource_list.28996.log'.
    az_command_data_logger: command args: resource list --resource-group {} --resource-type {} --debug
    cli.knack.cli: Event: CommandInvoker.OnPreArgumentLoad [<function register_global_subscription_argument.<locals>.add_subscription_parameter at 0x03A182B0>]
    cli.knack.cli: Event: CommandInvoker.OnPostArgumentLoad []
    cli.knack.cli: Event: CommandInvoker.OnPostCommandTableCreate [<function register_ids_argument.<locals>.add_ids_arguments at 0x03A71418>, <function register_cache_arguments.<locals>.add_cache_arguments at 0x03A714A8>]
    cli.knack.cli: Event: CommandInvoker.OnCommandTableLoaded []
    cli.knack.cli: Event: CommandInvoker.OnPreParseArgs []
    cli.knack.cli: Event: CommandInvoker.OnPostParseArgs [<function OutputProducer.handle_output_argument at 0x01E50F58>, <function CLIQuery.handle_query_parameter at 0x01F78B20>, <function register_ids_argument.<locals>.parse_ids_arguments at 0x03A71460>]
    cli.azure.cli.core.commands.client_factory: Getting management service client client_type=ResourceManagementClient
    cli.azure.cli.core.auth.persistence: build_persistence: location='C:\\Users\\user\\.azure\\service_principal_entries.bin', encrypt=True
    cli.azure.cli.core.auth.persistence: build_persistence: location='C:\\Users\\user\\.azure\\msal_token_cache.bin', encrypt=True
    cli.azure.cli.core.auth.identity: _load_msal_http_cache: C:\Users\user\.azure\msal_http_cache.bin
    cli.azure.cli.core.auth.identity: __load_msal_http_cache: C:\Users\user\.azure\msal_http_cache.bin
    urllib3.util.retry: Converted retries value: 1 -> Retry(total=1, connect=None, read=None, redirect=None, status=None)
    msal.authority: openid_config = {'token_endpoint': 'https://login.microsoftonline.com/active-directory-id-alpha-numeric/oauth2/v2.0/token', 'token_endpoint_auth_methods_supported': ['client_secret_post', 'private_key_jwt', 'client_secret_basic'], 'jwks_uri': 'https://login.microsoftonline.com/active-directory-id-alpha-numeric/discovery/v2.0/keys', 'response_modes_supported': ['query', 'fragment', 'form_post'], 'subject_types_supported': ['pairwise'], 'id_token_signing_alg_values_supported': ['RS256'], 'response_types_supported': ['code', 'id_token', 'code id_token', 'id_token token'], 'scopes_supported': ['openid', 'profile', 'email', 'offline_access'], 'issuer': 'https://login.microsoftonline.com/active-directory-id-alpha-numeric/v2.0', 'request_uri_parameter_supported': False, 'userinfo_endpoint': 'https://graph.microsoft.com/oidc/userinfo', 'authorization_endpoint': 'https://login.microsoftonline.com/active-directory-id-alpha-numeric/oauth2/v2.0/authorize', 'device_authorization_endpoint': 'https://login.microsoftonline.com/active-directory-id-alpha-numeric/oauth2/v2.0/devicecode', 'http_logout_supported': True, 'frontchannel_logout_supported': True, 'end_session_endpoint': 'https://login.microsoftonline.com/active-directory-id-alpha-numeric/oauth2/v2.0/logout', 'claims_supported': ['sub', 'iss', 'cloud_instance_name', 'cloud_instance_host_name', 'cloud_graph_host_name', 'msgraph_host', 'aud', 'exp', 'iat', 'auth_time', 'acr', 'nonce', 'preferred_username', 'name', 'tid', 'ver', 'at_hash', 'c_hash', 'email'], 'kerberos_endpoint': 'https://login.microsoftonline.com/active-directory-id-alpha-numeric/kerberos', 'tenant_region_scope': 'NA', 'cloud_instance_name': 'microsoftonline.com', 'cloud_graph_host_name': 'graph.windows.net', 'msgraph_host': 'graph.microsoft.com', 'rbac_url': 'https://pas.windows.net'}  
    msal.application: Region to be used: None
    cli.azure.cli.core.auth.credential_adaptor: CredentialAdaptor.get_token: scopes=('https://management.core.windows.net//.default',), kwargs={}
    cli.azure.cli.core.auth.msal_authentication: ServicePrincipalCredential.get_token: scopes=('https://management.core.windows.net//.default',), kwargs={}
    msal.application: Cache hit an AT
    msal.telemetry: Generate or reuse correlation_id: 0ee6e5db-6fd2-48b9-aef1-5ba6e7fc1ad3
    cli.azure.cli.core.sdk.policies: Request URL: 'https://management.azure.com/subscriptions/subscription-id-alpha-numeric/resourcegroups/aibmdi001?api-version=2021-04-01'
    cli.azure.cli.core.sdk.policies: Request method: 'GET'
    cli.azure.cli.core.sdk.policies: Request headers:
    cli.azure.cli.core.sdk.policies:     'Accept': 'application/json'
    cli.azure.cli.core.sdk.policies:     'x-ms-client-request-id': '26e5111d-19a8-11ed-b46e-2811a8790715'
    cli.azure.cli.core.sdk.policies:     'CommandName': 'resource list'
    cli.azure.cli.core.sdk.policies:     'ParameterSetName': '--resource-group --resource-type --debug'
    cli.azure.cli.core.sdk.policies:     'User-Agent': 'AZURECLI/2.33.1 (MSI) azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.9 (Windows-10-10.0.22000-SP0)'
    cli.azure.cli.core.sdk.policies:     'Authorization': '*****'
    cli.azure.cli.core.sdk.policies: Request body:
    cli.azure.cli.core.sdk.policies: This request has no body
    urllib3.connectionpool: Starting new HTTPS connection (1): management.azure.com:443
    urllib3.connectionpool: https://management.azure.com:443 "GET /subscriptions/subscription-id-alpha-numeric/resourcegroups/aibmdi001?api-version=2021-04-01 HTTP/1.1" 200 280
    cli.azure.cli.core.sdk.policies: Response status: 200
    cli.azure.cli.core.sdk.policies: Response headers:
    cli.azure.cli.core.sdk.policies:     'Cache-Control': 'no-cache'
    cli.azure.cli.core.sdk.policies:     'Pragma': 'no-cache'
    cli.azure.cli.core.sdk.policies:     'Content-Type': 'application/json; charset=utf-8'
    cli.azure.cli.core.sdk.policies:     'Content-Encoding': 'gzip'
    cli.azure.cli.core.sdk.policies:     'Expires': '-1'
    cli.azure.cli.core.sdk.policies:     'Vary': 'Accept-Encoding'
    cli.azure.cli.core.sdk.policies:     'x-ms-ratelimit-remaining-subscription-reads': '11999'
    cli.azure.cli.core.sdk.policies:     'x-ms-request-id': 'fb4ff374-420f-45c4-925f-d0050c1a0444'
    cli.azure.cli.core.sdk.policies:     'x-ms-correlation-request-id': 'fb4ff374-420f-45c4-925f-d0050c1a0444'
    cli.azure.cli.core.sdk.policies:     'x-ms-routing-request-id': 'WESTUS:20220811T190229Z:fb4ff374-420f-45c4-925f-d0050c1a0444'
    cli.azure.cli.core.sdk.policies:     'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
    cli.azure.cli.core.sdk.policies:     'X-Content-Type-Options': 'nosniff'
    cli.azure.cli.core.sdk.policies:     'Date': 'Thu, 11 Aug 2022 19:02:29 GMT'
    cli.azure.cli.core.sdk.policies:     'Content-Length': '280'
    cli.azure.cli.core.sdk.policies: Response content:
    cli.azure.cli.core.sdk.policies: {"id":"/subscriptions/subscription-id-alpha-numeric/resourceGroups/aibmdi001","name":"aibmdi001","type":"Microsoft.Resources/resourceGroups","location":"eastus","properties":{"provisioningState":"Succeeded"}}
    cli.azure.cli.core.sdk.policies: Request URL: 'https://management.azure.com/subscriptions/subscription-id-alpha-numeric/resources?$filter=resourceGroup%20eq%20%27aibmdi001%27%20and%20resourceType%20eq%20%27Microsoft.Compute%2Fimages%27&$expand=createdTime%2CchangedTime%2CprovisioningState&api-version=2021-04-01'
    cli.azure.cli.core.sdk.policies: Request method: 'GET'
    cli.azure.cli.core.sdk.policies: Request headers:
    cli.azure.cli.core.sdk.policies:     'Accept': 'application/json'
    cli.azure.cli.core.sdk.policies:     'x-ms-client-request-id': '26e5111d-19a8-11ed-b46e-2811a8790715'
    cli.azure.cli.core.sdk.policies:     'CommandName': 'resource list'
    cli.azure.cli.core.sdk.policies:     'ParameterSetName': '--resource-group --resource-type --debug'
    cli.azure.cli.core.sdk.policies:     'User-Agent': 'AZURECLI/2.33.1 (MSI) azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.9 (Windows-10-10.0.22000-SP0)'
    cli.azure.cli.core.sdk.policies:     'Authorization': '*****'
    cli.azure.cli.core.sdk.policies: Request body:
    cli.azure.cli.core.sdk.policies: This request has no body
    urllib3.connectionpool: https://management.azure.com:443 "GET /subscriptions/subscription-id-alpha-numeric/resources?$filter=resourceGroup%20eq%20%27aibmdi001%27%20and%20resourceType%20eq%20%27Microsoft.Compute%2Fimages%27&$expand=createdTime%2CchangedTime%2CprovisioningState&api-version=2021-04-01 HTTP/1.1" 200 133
    cli.azure.cli.core.sdk.policies: Response status: 200
    cli.azure.cli.core.sdk.policies: Response headers:
    cli.azure.cli.core.sdk.policies:     'Cache-Control': 'no-cache'
    cli.azure.cli.core.sdk.policies:     'Pragma': 'no-cache'
    cli.azure.cli.core.sdk.policies:     'Content-Type': 'application/json; charset=utf-8'
    cli.azure.cli.core.sdk.policies:     'Content-Encoding': 'gzip'
    cli.azure.cli.core.sdk.policies:     'Expires': '-1'
    cli.azure.cli.core.sdk.policies:     'Vary': 'Accept-Encoding'
    cli.azure.cli.core.sdk.policies:     'x-ms-ratelimit-remaining-subscription-reads': '11998'
    cli.azure.cli.core.sdk.policies:     'x-ms-request-id': 'dd2eca11-8fa5-4add-a7e2-a3994c896fcb'
    cli.azure.cli.core.sdk.policies:     'x-ms-correlation-request-id': 'dd2eca11-8fa5-4add-a7e2-a3994c896fcb'
    cli.azure.cli.core.sdk.policies:     'x-ms-routing-request-id': 'WESTUS:20220811T190229Z:dd2eca11-8fa5-4add-a7e2-a3994c896fcb'
    cli.azure.cli.core.sdk.policies:     'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
    cli.azure.cli.core.sdk.policies:     'X-Content-Type-Options': 'nosniff'
    cli.azure.cli.core.sdk.policies:     'Date': 'Thu, 11 Aug 2022 19:02:29 GMT'
    cli.azure.cli.core.sdk.policies:     'Content-Length': '133'
    cli.azure.cli.core.sdk.policies: Response content:
    cli.azure.cli.core.sdk.policies: {"value":[]}
    cli.knack.cli: Event: CommandInvoker.OnTransformResult [<function _resource_group_transform at 0x03A10808>, <function _x509_from_base64_to_hex_transform at 0x03A10850>]
    cli.knack.cli: Event: CommandInvoker.OnFilterResult []
    []
    cli.knack.cli: Event: Cli.SuccessfulExecute []
    cli.knack.cli: Event: Cli.PostExecute [<function AzCliLogging.deinit_cmd_metadata_logging at 0x039C78E0>]
    az_command_data_logger: exit code: 0
    cli.__main__: Command ran in 1.161 seconds (init: 0.148, invoke: 1.013)
    telemetry.save: Save telemetry record of length 2946 in cache
    telemetry.check: Negative: The C:\Users\user\.azure\telemetry.txt was modified at 2022-08-11 12:01:35.855347, which in less than 600.000000 s
    cli.azure.cli.core.auth.identity: _dump_msal_http_cache: C:\Users\user\.azure\msal_http_cache.bin
    
    bug ARM customer-reported CXP Attention Auto-Assign Azure CLI Team issue-addressed 
    opened by jtravell 46
  • WSL: Why Azure CLI is too slow at each command execution?

    WSL: Why Azure CLI is too slow at each command execution?

    Describe the bug It's not exactly a bug but every command at PowerShell or Bash in WSL is too slow, I know that every command is making a web-api request call but is really sad this api call is causing too much delay.

    I don't know if I am at Brazil and the all api calls is from US and those internet latence is the cause but is really bad.

    To Reproduce Stay at Brazil and call a single command like az acr list.

    Expected behavior I don't know, but some loading indicator or proxy all api request call near Brazil...

    Environment summary Windows 10 with PowerShell and WSL

    λ  az --version
    azure-cli (2.0.46)
    
    acr (2.1.5)
    acs (2.3.4)
    advisor (0.6.0)
    ams (0.2.3)
    appservice (0.2.4)
    backup (1.2.1)
    batch (3.4.0)
    batchai (0.4.3)
    billing (0.2.0)
    botservice (0.1.1)
    cdn (0.1.1)
    cloud (2.1.0)
    cognitiveservices (0.2.3)
    command-modules-nspkg (2.0.2)
    configure (2.0.18)
    consumption (0.4.0)
    container (0.3.4)
    core (2.0.46)
    cosmosdb (0.2.1)
    dla (0.2.3)
    dls (0.1.3)
    dms (0.1.1)
    eventgrid (0.2.0)
    eventhubs (0.2.4)
    extension (0.2.1)
    feedback (2.1.4)
    find (0.2.12)
    interactive (0.3.30)
    iot (0.3.2)
    iotcentral (0.1.2)
    keyvault (2.2.3)
    lab (0.1.1)
    maps (0.3.2)
    monitor (0.2.3)
    network (2.2.5)
    nspkg (3.0.3)
    policyinsights (0.1.0)
    profile (2.1.1)
    rdbms (0.3.2)
    redis (0.3.2)
    relay (0.1.2)
    reservations (0.4.0)
    resource (2.1.4)
    role (2.1.5)
    search (0.1.1)
    servicebus (0.2.3)
    servicefabric (0.1.3)
    signalr (1.0.0)
    sql (2.1.4)
    storage (2.2.2)
    telemetry (1.0.0)
    vm (2.2.3)
    
    Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe'
    Extensions directory 'C:\Users\alexs\.azure\cliextensions'
    
    Python (Windows) 3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 16:07:46) [MSC v.1900 32 bit (Intel)]
    
    Legal docs and information: aka.ms/AzureCliLegal
    

    Additional context Every was slow here at Brazil, I don't know if it is slow in another region, I'm posting it right now because I'm starting use Azure CLI constantly and I wish a better user experience.

    Thank's!

    Service Attention Performance customer-reported DevOps feature-request 
    opened by alexsandro-xpt 46
  • Issue pushing to azure git with cli created user

    Issue pushing to azure git with cli created user

    Hi, I create a deployment user using: az webapp deployment user set --user-name --password

    Then I try to push to the deployment git using: git push azure master and receive the 403 error that I am forbidden from pushing to that. If I use an incorrect password I receive a 401 error.

    When I check the front end, I see that deployment credentials are empty. When I try to add the same username as I created using the above user set command, the platform tells me its a taken user name. Running: az webapp deployment user show

    returns

    { "id": null, "kind": null, "name": "web", "publishingPassword": null, "publishingPasswordHash": null, "publishingPasswordHashSalt": null, "publishingUserName": "testUser1234441212", "type": "Microsoft.Web/publishingUsers/web", "userName": null }

    When I change the settings manually in the front end "Deployment credentials" under "App Services" and try pushing to git, it all works.

    To conclude, the credentials I create using az webapp deployment user set --user-name --password do not work when pushing to deployment-local-git. Creating a user manually on the front end under "App Services" > "Deployment credentials" and trying that user and password works fine.


    Environment summary

    Install Method (e.g. pip, interactive script, apt-get, Docker, MSI, edge build) / CLI version (az --version) / OS version / Shell Type (e.g. bash, cmd.exe, Bash on Windows)

    Web Apps 
    opened by kristaps5 38
  • [RDBMS] Added tests for flexible server team pipeline

    [RDBMS] Added tests for flexible server team pipeline

    Description No customer facing changes. Added tests for Flexible Server stability check testing pipeline.

    Testing Guide

    History Notes

    [Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change. [Component Name 2] az command b: Add some customer-facing feature.


    This checklist is used to make sure that common guidelines for a pull request are followed.

    opened by DaeunYim 37
  • Private AKS is not able to find the path of my local files to do a deployment through Helm

    Private AKS is not able to find the path of my local files to do a deployment through Helm

    Helm Version: 3 Kubernetes Version: 1.23.12

    I'm currently trying to deploy my helm charts through my private aks cluster. However, I'm unable to do anything since it can't find the path of my local directory.

    This is the command that I'm running:

    az aks command invoke \
    --resource-group aharo-aks-appgateway01 \
    --name aharo-aks02 \
    --command "helm install haro ./haro_files_helm_chart" 
    

    This is the error message that I'm getting

    command started at 2023-01-06 22:49:46+00:00, finished at 2023-01-06 22:49:46+00:00 with exitcode=1
    Error: INSTALLATION FAILED: path "./haro_files_helm_chart" not found
    

    Also, I will be getting the same issue if I use a file flag

    
    az aks command invoke \
    --resource-group aharo-aks-appgateway01 \
    --name aharo-aks02 \
    --command "helm install haro ./haro_files_helm_chart" 
    --file deployment.yaml
    
    

    To prove that this type of command can work, I tried one from Microsoft Documentation. By running this command, I don't have any issues but I don't understand why my local files are not visible in the private AKS.

    az aks command invoke \   
    --resource-group aharo-aks-appgateway01 \
    --name aharo-aks02 \  
    --command "helm repo add bitnami https://charts.bitnami.com/bitnami && helm repo update && helm install my-release bitnami/nginx"
    

    What else can I do to find the path of my directory? Do you know if I could be missing any configuration on my cluster?

    AKS customer-reported Installation CXP Attention Auto-Assign 
    opened by hvaandres 1
  • az login failure using ubuntu 22.04 terminal

    az login failure using ubuntu 22.04 terminal

    This is autogenerated. Please review and update as needed.

    Describe the bug

    Command Name az login

    Errors:

    The command failed with an unexpected error. Here is the traceback:
    SubscriptionClient.__init__() got an unexpected keyword argument 'user_agent'
    Traceback (most recent call last):
      File "/home/uppaluru/.local/lib/python3.10/site-packages/knack/cli.py", line 233, in invoke
        cmd_result = self.invocation.execute(args)
      File "/home/uppaluru/.local/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 663, in execute
        raise ex
      File "/home/uppaluru/.local/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 726, in _run_jobs_serially
        results.append(self._run_job(expanded_arg, cmd_copy))
      File "/home/uppaluru/.local/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 697, in _run_job
        result = cmd_copy(params)
      File "/home/uppaluru/.local/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 333, in __call__
        return self.handler(*args, **kwargs)
      File "/home/uppaluru/.local/lib/python3.10/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
        return op(**command_args)
      File "/home/uppaluru/.local/lib/python3.10/site-packages/azure/cli/command_modules/profile/custom.py", line 139, in login
        subscriptions = profile.login(
      File "/home/uppaluru/.local/lib/python3.10/site-packages/azure/cli/core/_profile.py", line 176, in login
        subscriptions = subscription_finder.find_using_common_tenant(username, credential)
      File "/home/uppaluru/.local/lib/python3.10/site-packages/azure/cli/core/_profile.py", line 737, in find_using_common_tenant
        client = self._create_subscription_client(credential)
      File "/home/uppaluru/.local/lib/python3.10/site-packages/azure/cli/core/_profile.py", line 828, in _create_subscription_client
        client = client_type(credential, api_version=api_version,
    TypeError: SubscriptionClient.__init__() got an unexpected keyword argument 'user_agent'
    
    

    To Reproduce:

    Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

    • Put any pre-requisite steps here...
    • az login

    Expected Behavior

    Environment Summary

    Linux-5.15.0-56-generic-x86_64-with-glibc2.35, Ubuntu 22.04.1 LTS
    Python 3.10.6
    Installer: PIP
    
    azure-cli 2.43.0
    

    Additional Context

    Account question customer-reported Auto-Assign Azure CLI Team 
    opened by subuppaluru 1
  • 2.43.0 azcli - no file copy via rdp?

    2.43.0 azcli - no file copy via rdp?

    It seems like when I went from 2.42.0->2.43.0, my rdp file copy capability seems to have disappeared. Has anyone else observed this?

    F:>az --version azure-cli 2.43.0

    core 2.43.0 telemetry 1.0.8

    Dependencies: msal 1.20.0 azure-mgmt-resource 21.1.0b1

    Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe' Extensions directory 'C:\Users\kgould.azure\cliextensions'

    Python (Windows) 3.10.8 (tags/v3.10.8:aaaf517, Oct 11 2022, 16:37:59) [MSC v.1933 32 bit (Intel)]

    Packaging question customer-reported Azure CLI Team 
    opened by kgouldsk 1
  • `azure ad signed-in-user show` is hanging while contacting graph.microsoft.com

    `azure ad signed-in-user show` is hanging while contacting graph.microsoft.com

    Can you give any pointers on how to debug the graph API not working? Is there any simpler command than azure ad signed-in-user show or more basic tests?

    Note that curl https://graph.microsoft.com succeeds (empty response), but azure client hangs making its HTTP request to that same domain.

    I usually kill the command after 5 minutes because it isn't making progress.

    Describe the bug

    Command Name az ad signed-in-user show hangs

    Errors:

    $ az ad signed-in-user show --debug
    az ad signed-in-user show --debug
    cli.knack.cli: Command arguments: ['ad', 'signed-in-user', 'show', '--debug']
    cli.knack.cli: __init__ debug log:
    Enable color in terminal.
    cli.knack.cli: Event: Cli.PreExecute []
    cli.knack.cli: Event: CommandParser.OnGlobalArgumentsCreate [<function CLILogging.on_global_arguments at 0x7f8010a2c0d0>, <function OutputProducer.on_global_arguments at 0x7f801095cf70>, <function CLIQuery.on_global_arguments at 0x7f8010982290>]
    cli.knack.cli: Event: CommandInvoker.OnPreCommandTableCreate []
    cli.azure.cli.core: Modules found from index for 'ad': ['azure.cli.command_modules.role']
    cli.azure.cli.core: Loading command modules:
    cli.azure.cli.core: Name                  Load Time    Groups  Commands
    cli.azure.cli.core: role                      0.010        17        61
    cli.azure.cli.core: Total (1)                 0.010        17        61
    cli.azure.cli.core: These extensions are not installed and will be skipped: ['azext_ai_examples', 'azext_next']
    cli.azure.cli.core: Loading extensions:
    cli.azure.cli.core: Name                  Load Time    Groups  Commands  Directory
    cli.azure.cli.core: Total (0)                 0.000         0         0  
    cli.azure.cli.core: Loaded 17 groups, 61 commands.
    cli.azure.cli.core: Found a match in the command table.
    cli.azure.cli.core: Raw command  : ad signed-in-user show
    cli.azure.cli.core: Command table: ad signed-in-user show
    cli.knack.cli: Event: CommandInvoker.OnPreCommandTableTruncate [<function AzCliLogging.init_command_file_logging at 0x7f800eedd090>]
    cli.azure.cli.core.azlogging: metadata file logging enabled - writing logs to '/home/sam/.azure/commands/2023-01-06.09-45-38.ad_signed-in-user_show.320213.log'.
    az_command_data_logger: command args: ad signed-in-user show --debug
    cli.knack.cli: Event: CommandInvoker.OnPreArgumentLoad [<function register_global_subscription_argument.<locals>.add_subscription_parameter at 0x7f800eef5bd0>]
    cli.knack.cli: Event: CommandInvoker.OnPostArgumentLoad []
    cli.knack.cli: Event: CommandInvoker.OnPostCommandTableCreate [<function register_ids_argument.<locals>.add_ids_arguments at 0x7f800ef1d990>, <function register_cache_arguments.<locals>.add_cache_arguments at 0x7f800ef1dab0>]
    cli.knack.cli: Event: CommandInvoker.OnCommandTableLoaded []
    cli.knack.cli: Event: CommandInvoker.OnPreParseArgs []
    cli.knack.cli: Event: CommandInvoker.OnPostParseArgs [<function OutputProducer.handle_output_argument at 0x7f801095d000>, <function CLIQuery.handle_query_parameter at 0x7f8010982320>, <function register_ids_argument.<locals>.parse_ids_arguments at 0x7f800ef1da20>]
    cli.azure.cli.core.util: Retrieving token for resource https://graph.microsoft.com/
    cli.azure.cli.core.auth.persistence: build_persistence: location='/home/sam/.azure/msal_token_cache.json', encrypt=False
    cli.azure.cli.core.auth.binary_cache: load: /home/sam/.azure/msal_http_cache.bin
    urllib3.util.retry: Converted retries value: 1 -> Retry(total=1, connect=None, read=None, redirect=None, status=None)
    msal.authority: openid_config = {'token_endpoint': 'https://login.microsoftonline.com/44467e6f-462c-4ea2-823f-7800de5434e3/oauth2/v2.0/token', 'token_endpoint_auth_methods_supported': ['client_secret_post', 'private_key_jwt', 'client_secret_basic'], 'jwks_uri': 'https://login.microsoftonline.com/44467e6f-462c-4ea2-823f-7800de5434e3/discovery/v2.0/keys', 'response_modes_supported': ['query', 'fragment', 'form_post'], 'subject_types_supported': ['pairwise'], 'id_token_signing_alg_values_supported': ['RS256'], 'response_types_supported': ['code', 'id_token', 'code id_token', 'id_token token'], 'scopes_supported': ['openid', 'profile', 'email', 'offline_access'], 'issuer': 'https://login.microsoftonline.com/44467e6f-462c-4ea2-823f-7800de5434e3/v2.0', 'request_uri_parameter_supported': False, 'userinfo_endpoint': 'https://graph.microsoft.com/oidc/userinfo', 'authorization_endpoint': 'https://login.microsoftonline.com/44467e6f-462c-4ea2-823f-7800de5434e3/oauth2/v2.0/authorize', 'device_authorization_endpoint': 'https://login.microsoftonline.com/44467e6f-462c-4ea2-823f-7800de5434e3/oauth2/v2.0/devicecode', 'http_logout_supported': True, 'frontchannel_logout_supported': True, 'end_session_endpoint': 'https://login.microsoftonline.com/44467e6f-462c-4ea2-823f-7800de5434e3/oauth2/v2.0/logout', 'claims_supported': ['sub', 'iss', 'cloud_instance_name', 'cloud_instance_host_name', 'cloud_graph_host_name', 'msgraph_host', 'aud', 'exp', 'iat', 'auth_time', 'acr', 'nonce', 'preferred_username', 'name', 'tid', 'ver', 'at_hash', 'c_hash', 'email'], 'kerberos_endpoint': 'https://login.microsoftonline.com/44467e6f-462c-4ea2-823f-7800de5434e3/kerberos', 'tenant_region_scope': 'NA', 'cloud_instance_name': 'microsoftonline.com', 'cloud_graph_host_name': 'graph.windows.net', 'msgraph_host': 'graph.microsoft.com', 'rbac_url': 'https://pas.windows.net'}
    msal.application: Broker enabled? False
    cli.azure.cli.core.auth.msal_authentication: UserCredential.get_token: scopes=('https://graph.microsoft.com//.default',), claims=None, kwargs={}
    msal.application: Cache hit an AT
    msal.telemetry: Generate or reuse correlation_id: 43b35093-3c50-4478-8ba4-1646d38646d7
    cli.azure.cli.core.util: Request URL: 'https://graph.microsoft.com/v1.0/me'
    cli.azure.cli.core.util: Request method: 'GET'
    cli.azure.cli.core.util: Request headers:
    cli.azure.cli.core.util:     'User-Agent': 'python/3.10.6 (Linux-5.15.0-57-generic-x86_64-with-glibc2.35) AZURECLI/2.43.0 (PIP)'
    cli.azure.cli.core.util:     'Accept-Encoding': 'gzip, deflate, br'
    cli.azure.cli.core.util:     'Accept': '*/*'
    cli.azure.cli.core.util:     'Connection': 'keep-alive'
    cli.azure.cli.core.util:     'x-ms-client-request-id': 'e3a8ec59-d1cd-4108-97d3-5a4088d86ad7'
    cli.azure.cli.core.util:     'CommandName': 'ad signed-in-user show'
    cli.azure.cli.core.util:     'ParameterSetName': '--debug'
    cli.azure.cli.core.util:     'Authorization': 'Bearer eyJ0eXAiOiJKV...'
    cli.azure.cli.core.util: Request body:
    cli.azure.cli.core.util: None
    urllib3.connectionpool: Starting new HTTPS connection (1): graph.microsoft.com:443
    ...hanging... ^C
    cli.knack.cli: Event: Cli.PostExecute [<function AzCliLogging.deinit_cmd_metadata_logging at 0x7f800eedd2d0>]
    az_command_data_logger: exit code: 1
    cli.__main__: Command ran in 135.427 seconds (init: 0.471, invoke: 134.955)
    telemetry.main: Begin splitting cli events and extra events, total events: 1
    telemetry.client: Accumulated 0 events. Flush the clients.
    telemetry.main: Finish splitting cli events and extra events, cli events: 1
    telemetry.save: Save telemetry record of length 3304 in cache
    telemetry.check: Negative: The /home/sam/.azure/telemetry.txt was modified at 2023-01-06 09:39:07.546815, which in less than 600.000000 s
    

    To Reproduce:

    • az ad signed-in-user show --debug

    Environment Summary

    Linux-5.15.0-57-generic-x86_64-with-glibc2.35, Ubuntu 22.04.1 LTS
    Python 3.10.6
    Installer: PIP
    
    azure-cli 2.43.0
    
    Extensions:
    storage-blob-preview 0.6.2
    
    Dependencies:
    msal 1.20.0
    azure-mgmt-resource 21.1.0b1
    
    question Graph customer-reported Auto-Assign Azure CLI Team 
    opened by charmoniumQ 2
  • "No module named 'unicodedata'" error on installing rdbms-connect extension

    I get a "No module named 'unicodedata'" error while trying to install rdbms-connect extension on Azure CLI 2.43.0 with Windows operating system. I will add full stack trace at the end.

    The command I use is this:

    az extension add --name rdbms-connect --debug
    

    To Reproduce

    1. Have a Windows PC.
    2. Install latest Azure CLI. (2.43.0 as I open this issue.)
    3. Open a command prompt or PowerShell Core
    4. Try to install rdbms-connect extension. The installation will fail.

    Expected behavior The installation should finish successfully without any error.

    Environment summary AZ CLI 2.43.0 (installed via MSI package) Windows 10/Windows Server 2022 (fails on both) Cmd.exe/PowerShell Core (fails on both)

    Additional context I can confirm that this issue does not occur when using an Ubuntu 22.04 or Ubuntu 22.04 on WSL (I mean, via Bash terminal).

    Another issue #24622 was opened for the same error and closed afterwards. It seems that there was no problem with 2.37.0 version.

    Full Stack Trace

    ERROR: Exception:
    Traceback (most recent call last):
      File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\pip\_internal\cli\base_command.py", line 160, in exc_logging_wrapper
        status = run_func(*args)
      File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\pip\_internal\cli\req_command.py", line 247, in wrapper
        return func(self, options, args)
      File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\pip\_internal\commands\install.py", line 400, in run
        requirement_set = resolver.resolve(
      File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\pip\_internal\resolution\resolvelib\resolver.py", line 92, in resolve
        result = self._result = resolver.resolve(
      File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 481, in resolve
        state = resolution.resolve(requirements, max_rounds=max_rounds)
      File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 373, in resolve
        failure_causes = self._attempt_to_pin_criterion(name)
      File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 213, in _attempt_to_pin_criterion
        criteria = self._get_updated_criteria(candidate)
      File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 204, in _get_updated_criteria
        self._add_to_criteria(criteria, requirement, parent=candidate)
      File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 172, in _add_to_criteria
        if not criterion.candidates:
      File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\pip\_vendor\resolvelib\structs.py", line 151, in __bool__
        return bool(self._sequence)
      File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\pip\_internal\resolution\resolvelib\found_candidates.py", line 155, in __bool__
        return any(self)
      File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\pip\_internal\resolution\resolvelib\found_candidates.py", line 143, in <genexpr>
        return (c for c in iterator if id(c) not in self._incompatible_ids)
      File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\pip\_internal\resolution\resolvelib\found_candidates.py", line 47, in _iter_built
        candidate = func()
      File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\pip\_internal\resolution\resolvelib\factory.py", line 206, in _make_candidate_from_link
        self._link_candidate_cache[link] = LinkCandidate(
      File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\pip\_internal\resolution\resolvelib\candidates.py", line 297, in __init__
        super().__init__(
      File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\pip\_internal\resolution\resolvelib\candidates.py", line 162, in __init__
        self.dist = self._prepare()
      File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\pip\_internal\resolution\resolvelib\candidates.py", line 231, in _prepare
        dist = self._prepare_distribution()
      File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\pip\_internal\resolution\resolvelib\candidates.py", line 308, in _prepare_distribution
        return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True)
      File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\pip\_internal\operations\prepare.py", line 491, in prepare_linked_requirement
        return self._prepare_linked_requirement(req, parallel_builds)
      File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\pip\_internal\operations\prepare.py", line 577, in _prepare_linked_requirement
        dist = _get_prepared_distribution(
      File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\pip\_internal\operations\prepare.py", line 69, in _get_prepared_distribution
        abstract_dist.prepare_distribution_metadata(
      File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\pip\_internal\distributions\sdist.py", line 48, in prepare_distribution_metadata
        self._install_build_reqs(finder)
      File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\pip\_internal\distributions\sdist.py", line 118, in _install_build_reqs
        build_reqs = self._get_build_requires_wheel()
      File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\pip\_internal\distributions\sdist.py", line 95, in _get_build_requires_wheel
        return backend.get_requires_for_build_wheel()
      File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\pip\_internal\utils\misc.py", line 685, in get_requires_for_build_wheel
        return super().get_requires_for_build_wheel(config_settings=cs)
      File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\pip\_vendor\pep517\wrappers.py", line 173, in get_requires_for_build_wheel
        return self._call_hook('get_requires_for_build_wheel', {
      File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\pip\_vendor\pep517\wrappers.py", line 319, in _call_hook
        raise BackendUnavailable(data.get('traceback', ''))
    pip._vendor.pep517.wrappers.BackendUnavailable: Traceback (most recent call last):
      File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 77, in _build_backend
        obj = import_module(mod_path)
      File "importlib\__init__.py", line 126, in import_module
      File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
      File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
      File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
      File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
      File "<frozen importlib._bootstrap_external>", line 883, in exec_module
      File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
      File "C:\Users\beawolf\AppData\Local\Temp\pip-build-env-q8wqmk8r\overlay\Lib\site-packages\poetry\core\masonry\api.py", line 11, in <module>
        from poetry.core.factory import Factory
      File "C:\Users\beawolf\AppData\Local\Temp\pip-build-env-q8wqmk8r\overlay\Lib\site-packages\poetry\core\factory.py", line 16, in <module>
        from poetry.core.utils.helpers import combine_unicode
      File "C:\Users\beawolf\AppData\Local\Temp\pip-build-env-q8wqmk8r\overlay\Lib\site-packages\poetry\core\utils\helpers.py", line 7, in <module>
        import unicodedata
    ModuleNotFoundError: No module named 'unicodedata'
    
    SQL customer-reported Installation CXP Attention Auto-Assign 
    opened by mustafacagataytulun 2
Releases(azure-cli-2.43.0)
Owner
Microsoft Azure
APIs, SDKs and open source projects from Microsoft Azure
Microsoft Azure
A command-line based, minimal torrent streaming client made using Python and Webtorrent-cli. Stream your favorite shows straight from the command line.

A command-line based, minimal torrent streaming client made using Python and Webtorrent-cli. Installation pip install -r requirements.txt It use

Jonardon Hazarika 17 Dec 11, 2022
AML Command Transfer. A lightweight tool to transfer any command line to Azure Machine Learning Services

AML Command Transfer (ACT) ACT is a lightweight tool to transfer any command from the local machine to AML or ITP, both of which are Azure Machine Lea

Microsoft 11 Aug 10, 2022
A supercharged AWS command line interface (CLI).

SAWS Motivation AWS CLI Although the AWS CLI is a great resource to manage your AWS-powered services, it's tough to remember usage of: 70+ top-level c

Donne Martin 5.1k Jan 5, 2023
moviepy-cli: Command line interface for MoviePy.

Moviepy-cli is designed to apply several video editing in a single command with Moviepy as an alternative to Video-cli.

Kentaro Wada 23 Jun 29, 2022
Quo is a Python based toolkit for writing Command-Line Interface(CLI) applications.

Quo is a Python based toolkit for writing Command-Line Interface(CLI) applications. Quo is making headway towards composing speedy and orderly CLI applications while forestalling any disappointments brought about by the failure to execute a CLI API. Simple to code, easy to learn, and does not come with needless baggage.

Secretum Inc. 16 Oct 15, 2022
Program Command Line Interface (CLI) Sederhana: Pemesanan Nasi Goreng Hekel

Program ini merupakan aplikasi yang berjalan di dalam command line (terminal). Program ini menggunakan built-in library python yaitu argparse yang dapat menerima parameter saat program ini dijalankan melalui terminal atau CLI.

Habib Abdurrasyid 5 Nov 19, 2021
RSS reader client for CLI (Command Line Interface),

rReader is RSS reader client for CLI(Command Line Interface)

Lee JunHaeng 10 Dec 24, 2022
The Prisma Cloud CLI is a command line interface for Prisma Cloud by Palo Alto Networks.

Prisma Cloud CLI The Prisma Cloud CLI is a command line interface for Prisma Cloud by Palo Alto Networks. Support This project has been developed by P

Palo Alto Networks 13 Oct 14, 2022
A Python command-line utility for validating that the outputs of a given Declarative Form Azure Portal UI JSON template map to the input parameters of a given ARM Deployment Template JSON template

A Python command-line utility for validating that the outputs of a given Declarative Form Azure Portal UI JSON template map to the input parameters of a given ARM Deployment Template JSON template

Glenn Musa 1 Feb 3, 2022
A simple CLI based any Download Tool, that find files and let you stream or download thorugh WebTorrent CLI or Aria or any command tool

Privateer A simple CLI based any Download Tool, that find files and let you stream or download thorugh WebTorrent CLI or Aria or any command tool How

Shreyash Chavan 2 Apr 4, 2022
A command-line based, minimal torrent streaming client made using Python and Webtorrent-cli.

ABOUT A command-line based, minimal torrent streaming client made using Python and Webtorrent-cli. Installation pip install -r requirements.txt It use

Janardon Hazarika 17 Dec 11, 2022
Command Line (CLI) Application to automate creation of tasks in Redmine, issues on Github and the sync process of them.

Task Manager Automation Tool (TMAT) CLI Command Line (CLI) Application to automate creation of tasks in Redmine, issues on Github and the sync process

Tiamat 5 Apr 12, 2022
Unofficial Open Corporates CLI: OpenCorporates is a website that shares data on corporations under the copyleft Open Database License. This is an unofficial open corporates python command line tool.

Unofficial Open Corporates CLI OpenCorporates is a website that shares data on corporations under the copyleft Open Database License. This is an unoff

Richard Mwewa 30 Sep 8, 2022
This is a CLI utility that allows you to view RedFlagDeals.com on the command line.

RFD Description Motivation Installation Usage View Hot Deals View and Sort Hot Deals Search Advanced View Posts Shell Completion bash zsh Description

Dave G 8 Nov 29, 2022
tox-server is a command line tool which runs tox in a loop and calls it with commands from a remote CLI.

Tox Server tox-server is a command line tool which runs tox in a loop and calls it with commands from a remote CLI. It responds to commands via ZeroMQ

Alexander Rudy 3 Jan 10, 2022
Notion-cli-list-manager - A simple command-line tool for managing Notion databases

A simple command-line tool for managing Notion List databases. ✨

Giacomo Salici 75 Dec 4, 2022
Wordle-cli - Command-line clone of Josh Wardle's WORDLE

Command-line clone of Josh Wardle's WORDLE, inspired by Paul Battley's Ruby vers

Klipspringer 32 Jan 3, 2023
Python Command Line Application (CLI) using Typer, SQLModel, Async-PostgrSQL, and FastAPI

pyflycli is a command-line interface application built with Typer that allows you to view flights above your location.

Kevin Zehnder 14 Oct 1, 2022