Output as table not working in Azure cli

Phani 1 Reputation point
2021-11-23T05:10:11.483+00:00

I have tried to get the output in table format, but not working in Azure cli

151655-screenshot-2021-11-23-at-102729-am.png

151681-screenshot-2021-11-23-at-103016-am.jpeg

.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
337 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,537 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Limitless Technology 39,651 Reputation points
    2021-11-25T16:28:18.73+00:00

    Hi there,

    Microsoft has released a preview of its KB5005611 update for Windows 10. The patch includes numerous fixes, such as addressing Outlook crashes and the unwanted appearance of "News and interests".

    Available for Windows 10 versions 2004, 20H2 and 21H1, this is a non-security update but it includes various quality improvements .

    I suppose this "The login attempt failed" has been resolved in the update as it seems their is no information regarding this .


    --If the reply is helpful, please Upvote and Accept it as an answer--

    1 person found this answer helpful.
    0 comments No comments

  2. Bruce (SqlWork.com) 65,576 Reputation points
    2021-11-23T18:59:53.953+00:00

    there must be a space between parameters and args:

    az group list --output table --query "[].name"
    az group list --output table --query "[].[name,location]"

    both work fine

    0 comments No comments

  3. Limitless Technology 39,651 Reputation points
    2021-11-25T16:27:00.743+00:00

    Hello,

    are you following these guides to get the output you need?

    Output formats for Azure CLI commands
    https://learn.microsoft.com/en-us/cli/azure/format-output-azure-cli

    How to use Azure CLI effectively
    https://learn.microsoft.com/en-us/cli/azure/use-cli-effectively

    How to query Azure CLI command output using a JMESPath query
    https://learn.microsoft.com/en-us/cli/azure/query-azure-cli

    Hope this helps with your query!

    ----------------------------------------------------------------------------------------------------------------------------------------------------

    --If the reply is helpful, please Upvote and Accept as answer--

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.