azure-devopstfs-reportsazure-devops-analytics

Server-level OData feed in AzDevOps Server?


I recall reading that AzDevOps had an OData feed on collection, project, and server level. When I hit the latter on my AzDevOps 2019.1 box at http://tfs.example.com:8080/tfs/_odata/v1.0/, I get the following error:

{
  "innerException": null,
  "message": "VS403514: The Analytics feature is not enabled. Details on enabling this feature are available here: https://go.microsoft.com/fwlink/?linkid=2093060.",
  "typeName": "Microsoft.VisualStudio.Services.Analytics.AnalyticsNotEnabledException, Microsoft.VisualStudio.Services.Analytics.Server",
  "typeKey": "AnalyticsNotEnabledException",
  "errorCode": 0,
  "eventId": 3000
}

Analytics is enabled for every collection on the server. All collection level OData feeds work. If there's a server-level "Enable Analytics" setting, I couldn't find it - neither in the Web UI, nor in the admin console. What am I missing?


Solution

  • Sorry but as I know there's no server-level Analytics.

    Azure Devops Service and Azure Devops Server use organization (In Azure Devops Server it's called team collection) and project to manage the work. The server you mentions above represents all the organizations in one Azure Devops Server while all the Rest APIs and Odata tasks are for Org-level or Project-level.