Share via


User Entitlement Summary - Get

Get summary of Licenses, Extension, Projects, Groups and their assignments in the collection.

GET https://vsaex.dev.azure.com/{organization}/_apis/userentitlementsummary?api-version=7.1
GET https://vsaex.dev.azure.com/{organization}/_apis/userentitlementsummary?select={select}&api-version=7.1

URI Parameters

Name In Required Type Description
organization
path True

string

The name of the Azure DevOps organization.

api-version
query True

string

Version of the API to use. This should be set to '7.1' to use this version of the api.

select
query

string

Comma (",") separated list of properties to select. Supported property names are {AccessLevels, Licenses, Projects, Groups}.

Responses

Name Type Description
200 OK

UsersSummary

successful operation

Security

oauth2

Type: oauth2
Flow: accessCode
Authorization URL: https://app.vssps.visualstudio.com/oauth2/authorize&response_type=Assertion
Token URL: https://app.vssps.visualstudio.com/oauth2/token?client_assertion_type=urn:ietf:params:oauth:client-assertion-type:jwt-bearer&grant_type=urn:ietf:params:oauth:grant-type:jwt-bearer

Scopes

Name Description
vso.memberentitlementmanagement Grants the ability to read users, their licenses as well as projects and extensions they can access

Definitions

Name Description
AccessLevel

License assigned to a user

AccountLicenseType

Type of Account License (e.g. Express, Stakeholder etc.). To use the AccountLicenseType, LicensingSource should be defined as 'account' in the request body.

AccountUserStatus

User status in the account

AssignmentSource

Assignment Source of the License (e.g. Group, Unknown etc.

Group

Project Group (e.g. Contributor, Reader etc.)

GroupOption

Group option to add a user to

GroupType

Group Type

LicenseSummaryData

Summary of Licenses in the organization.

LicensingSource

Licensing Source (e.g. Account. MSDN etc.)

MsdnLicenseType

Type of MSDN License (e.g. Visual Studio Professional, Visual Studio Enterprise etc.). To use the MsdnLicenseType, LicensingSource should be defined as 'msdn' in the request body.

ProjectRef

A reference to a project

UsersSummary

Summary of licenses and extensions assigned to users in the organization

AccessLevel

License assigned to a user

Name Type Description
accountLicenseType

AccountLicenseType

Type of Account License (e.g. Express, Stakeholder etc.). To use the AccountLicenseType, LicensingSource should be defined as 'account' in the request body.

assignmentSource

AssignmentSource

Assignment Source of the License (e.g. Group, Unknown etc.

licenseDisplayName

string

Display name of the License

licensingSource

LicensingSource

Licensing Source (e.g. Account. MSDN etc.)

msdnLicenseType

MsdnLicenseType

Type of MSDN License (e.g. Visual Studio Professional, Visual Studio Enterprise etc.). To use the MsdnLicenseType, LicensingSource should be defined as 'msdn' in the request body.

status

AccountUserStatus

User status in the account

statusMessage

string

Status message.

AccountLicenseType

Type of Account License (e.g. Express, Stakeholder etc.). To use the AccountLicenseType, LicensingSource should be defined as 'account' in the request body.

Value Description
advanced
earlyAdopter
express
none
professional
stakeholder

AccountUserStatus

User status in the account

Value Description
active

User has signed in at least once to the VSTS account

deleted

User is removed from the VSTS account by the VSTS account admin

disabled

User cannot sign in; primarily used by admin to temporarily remove a user due to absence or license reallocation

expired

User can sign in; primarily used when license is in expired state and we give a grace period

none
pending

User is invited to join the VSTS account by the VSTS account admin, but has not signed up/signed in yet

pendingDisabled

User is disabled; if reenabled, they will still be in the Pending state

AssignmentSource

Assignment Source of the License (e.g. Group, Unknown etc.

Value Description
groupRule
none
unknown

Group

Project Group (e.g. Contributor, Reader etc.)

Name Type Description
displayName

string

Display Name of the Group

groupType

GroupType

Group Type

GroupOption

Group option to add a user to

Name Type Description
accessLevel

AccessLevel

Access Level

group

Group

Group

GroupType

Group Type

Value Description
custom
projectAdministrator
projectContributor
projectReader
projectStakeholder

LicenseSummaryData

Summary of Licenses in the organization.

Name Type Description
accountLicenseType

AccountLicenseType

Type of Account License. To use the AccountLicenseType, LicensingSource should be defined as 'account' in the request body.

assigned

integer (int32)

Count of Licenses already assigned.

available

integer (int32)

Available Count.

disabled

integer (int32)

Count of Disabled Licenses.

includedQuantity

integer (int32)

Quantity

isPurchasable

boolean

Designates if this license quantity can be changed through purchase

licenseName

string

Name of the License.

msdnLicenseType

MsdnLicenseType

Type of MSDN License. To use the MsdnLicenseType, LicensingSource should be defined as 'msdn' in the request body.

nextBillingDate

string (date-time)

Specifies the date when billing will charge for paid licenses

source

LicensingSource

Source of the License.

total

integer (int32)

Total Count.

totalAfterNextBillingDate

integer (int32)

Total license count after next billing cycle

LicensingSource

Licensing Source (e.g. Account. MSDN etc.)

Value Description
account
auto
msdn
none
profile
trial

MsdnLicenseType

Type of MSDN License (e.g. Visual Studio Professional, Visual Studio Enterprise etc.). To use the MsdnLicenseType, LicensingSource should be defined as 'msdn' in the request body.

Value Description
eligible
enterprise
none
platforms
premium
professional
testProfessional
ultimate

ProjectRef

A reference to a project

Name Type Description
id

string (uuid)

Project ID.

name

string

Project Name.

UsersSummary

Summary of licenses and extensions assigned to users in the organization

Name Type Description
availableAccessLevels

AccessLevel[]

Available Access Levels

defaultAccessLevel

AccessLevel

Default Access Level

groupOptions

GroupOption[]

Group Options

licenses

LicenseSummaryData[]

Summary of Licenses in the organization

projectRefs

ProjectRef[]

Summary of Projects in the organization