Azure DevOps Services | Azure DevOps Server 2022 - Azure DevOps Server 2019
You can get a list of users and groups that have access to your organization in Azure DevOps by exporting users. The downloaded list also indicates access levels.
You can get a list of users and groups that have access to your Azure DevOps Server instance by exporting the audit log. The audit log also indicates access levels.
You can list the users in an organization with the az devops user list command. This action doesn't apply to users added via Microsoft Entra groups, as certain commands or features might not directly apply to users added via Microsoft Entra. When you export the list, you might notice that group users get indicated with an "assignmentSource" of "groupRule." This assignment signifies that their access gets determined by the group membership rules, rather than individual settings. To get started, see Azure DevOps CLI.
az devops user list [--org] [--skip] [--top]
Parameters
org: Azure DevOps organization URL. Configure the default organization using az devops configure -d organization=ORG_URL. Required if not configured as default or picked up using git config. For example, --org https://dev.azure.com/MyOrganizationName/.
skip: Optional. Number of users to skip.
top: Optional. Maximum number of users to return. The maximum value is 10000; the default value is 100.
Example
The following command returns five users in your organization without skipping any and shows the result in table format.
az devops user list --skip 0 --top 5 --output table
ID Display Name Email License Type Access Level Status
------------------------------------ ---------------------- ----------------------------- -------------- -------------- --------
3b5f0c34-4aec-4bf4-8708-1d36f0dbc468 Christie Church [email protected] stakeholder Stakeholder active
8c8c7d32-6b1b-47f4-b2e9-30b477b5ab3d Chuck Reinhart [email protected] stakeholder Stakeholder active
3b5f0c34-4aec-4bf4-8708-1d36f0dbc468 [email protected][email protected] stakeholder Stakeholder active
f14a4f19-9910-6116-9836-cccd6dd1b7b7 [email protected][email protected] express Basic active
74be024c-ebf5-4993-81eb-81ae1551e45f Helena Petersen [email protected] stakeholder Stakeholder active
Azure DevOps CLI commands aren't supported for Azure DevOps Server.