Forum Discussion
VishnuGillela
Apr 25, 2021Copper Contributor
Export Azure Devops Users and group assignments into csv using az cli
Below script exports all users and their respective group assignments in an azure devops organization into a csv file. Script needs PATKey and Organization [string]$PATKey = "Paste...
rishabhkanwalirk
Feb 17, 2022Copper Contributor
I was trying to export the users using this powershell script, but it is giving me only users who names start with "A" or Is there any limit on the output. I am getting only 168 users as output . Please help me with this, I want to export all users which are around 800.
VishnuGillela
Feb 17, 2022Copper Contributor
Thanks rishabhkanwalirk for reporting this issue.
az devops user list command is having a 'top' argument and I have now increased that to maximum value(10000). With this change upto 10000 users can be listed during execution.
az devops user list command is having a 'top' argument and I have now increased that to maximum value(10000). With this change upto 10000 users can be listed during execution.