Azure / Azure/azure-rest-api-specs

Identifying GitHub Enterprise License Users via Azure DevOps API

Open
#33,522 10 comments 0 reactions 0 assignees View on GitHub
customer-reported DevOps question Service Attention
Dominant language
TypeSpec
Stars
3.1k
Forks
5.9k
Avg merge
3d 2h
Merged PRs (30d)
424

Description

### API Spec link

https://vsaex.dev.azure.com/{organization}/_apis/userentitlements?top=10000&api-version=4.1-preview.1

### API Spec version

7.1

### Question/Query

We are using the User Entitlements API in Azure DevOps to retrieve user license details. However, we noticed that GitHub Enterprise users are being shown with "Basic + Direct" under accountLicenseType.

https://vsaex.dev.azure.com/{organization}/_apis/userentitlements?top=10000&api-version=4.1-preview.1

Currently, there is no clear way to distinguish GitHub Enterprise license users from regular Azure DevOps users via this API.

Questions:
Is there an existing API or feature that can accurately identify GitHub Enterprise license users within Azure DevOps?

Are there any upcoming updates planned to include this capability in the API?

Any insights or guidance on this would be greatly appreciated!

Thanks!

### Environment

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the Azure DevOps User Entitlements API at the provided userentitlements endpoint with API version 7.1. Determine whether the response documents a reliable distinction for GitHub Enterprise users and whether an existing API or planned update addresses it. Done means documenting a confirmed API capability or a clear limitation and guidance.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, github
Domain
api, cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.