question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

az devops security group membership list - Returns dictionary instead of JSON array

See original GitHub issue

When running following command

az devops security group membership list --id < vssgp ID or descriptor > \
                                        --detect false \
                                        --org < org. URL>

result is returned like

{
  "aad.YjU...": {
    "descriptor": "aad.YjU...",
    "directoryAlias": "...",
    "displayName": "...",
    "domain": "...",
    "legacyDescriptor": null,
    "mailAddress": "...",
    "metaType": "member",
    "origin": "aad",
    "originId": "...",
    "principalName": "...",
    "subjectKind": "user",
    "url": "..."
  },
  "aad.ZWM...": {
    "descriptor": "aad.ZWM...",
    ...
  }
}

Am I wrongly expecting result to be JSON array? Thanks.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:16

github_iconTop GitHub Comments

2reactions
v-anvashistcommented, Jun 9, 2022

@VNoveski We have checked in our system and found the code related to this command so my team member v-sbestala is working on the same.

Thanks, Anjali

1reaction
v-soujanyacommented, Sep 16, 2022

@FokkoVeegens, we are receiving the same response from API, and we already reported this request to the API team. Once they have the sufficient bandwidth they will work on this request. if we have any updates from API team we will share with you. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

JMESPath query command results with Azure CLI
CLI results are either a JSON array or dictionary. Arrays are sequences of objects that can be indexed, and dictionaries are unordered ...
Read more >
JMESPath --query filter for an unusual array (dictionary ...
C:\Windows\system32> az devops security group membership list --id $var1 --org https://dev.azure.com/$OrgName/ enter code here { "aad.
Read more >
JMESPATH queries - Azure Citadel
Here is some example JSON output from an az resource list --resource-group <resourceGroup> --output json command. The example resource group ...
Read more >
How to: List all users and group permissions on Azure ...
[--relationship {memberof, members}]$activeUserGroups = az devops security group membership list --id $au.user.principalName --org $Organization ...
Read more >
AWS Systems Manager Parameter Store
Use a secure, scalable, hosted secrets management service with no servers to manage. Improve your security posture by separating your data from your...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found