az devops user
Note
This reference is part of the azure-devops extension for the Azure CLI (version 2.30.0 or higher). The extension will automatically install the first time you run an az devops user command. Learn more about extensions.
Manage users.
Commands
Name | Description | Type | Status |
---|---|---|---|
az devops user add |
Add user. |
Extension | GA |
az devops user list |
List users in an organization [except for users which are added via AAD groups]. |
Extension | GA |
az devops user remove |
Remove user from an organization. |
Extension | GA |
az devops user show |
Show user details. |
Extension | GA |
az devops user update |
Update license type for a user. |
Extension | GA |
az devops user add
Add user.
az devops user add --email-id
--license-type {advanced, earlyAdopter, express, professional, stakeholder}
[--detect {false, true}]
[--org]
[--send-email-invite {false, true}]
Required Parameters
Email ID of the user.
License type for the user.
Optional Parameters
Automatically detect organization.
Azure DevOps organization URL. You can configure the default organization using az devops configure -d organization=ORG_URL. Required if not configured as default or picked up via git config. Example: https://dev.azure.com/MyOrganizationName/.
Whether to send email invite for new user or not.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az devops user list
List users in an organization [except for users which are added via AAD groups].
az devops user list [--detect {false, true}]
[--org]
[--skip]
[--top]
Optional Parameters
Automatically detect organization.
Azure DevOps organization URL. You can configure the default organization using az devops configure -d organization=ORG_URL. Required if not configured as default or picked up via git config. Example: https://dev.azure.com/MyOrganizationName/.
Offset: Number of records to skip.
Maximum number of users to return. Max value is 10000.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az devops user remove
Remove user from an organization.
az devops user remove --user
[--detect {false, true}]
[--org]
[--yes]
Required Parameters
Email ID or ID of the user.
Optional Parameters
Automatically detect organization.
Azure DevOps organization URL. You can configure the default organization using az devops configure -d organization=ORG_URL. Required if not configured as default or picked up via git config. Example: https://dev.azure.com/MyOrganizationName/.
Do not prompt for confirmation.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az devops user show
Show user details.
az devops user show --user
[--detect {false, true}]
[--org]
Required Parameters
Email ID or ID of the user.
Optional Parameters
Automatically detect organization.
Azure DevOps organization URL. You can configure the default organization using az devops configure -d organization=ORG_URL. Required if not configured as default or picked up via git config. Example: https://dev.azure.com/MyOrganizationName/.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az devops user update
Update license type for a user.
az devops user update --license-type {advanced, earlyAdopter, express, professional, stakeholder}
--user
[--detect {false, true}]
[--org]
Required Parameters
License type for the user.
Email ID or ID of the user.
Optional Parameters
Automatically detect organization.
Azure DevOps organization URL. You can configure the default organization using az devops configure -d organization=ORG_URL. Required if not configured as default or picked up via git config. Example: https://dev.azure.com/MyOrganizationName/.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.