---
title: "GET /providers/Microsoft.ADHybridHealthService/services/{serviceName}/exporterrors/counts"
method: GET
path: "/providers/Microsoft.ADHybridHealthService/services/{serviceName}/exporterrors/counts"
tags: ["Services"]
---

# GET /providers/Microsoft.ADHybridHealthService/services/{serviceName}/exporterrors/counts

`GET /providers/Microsoft.ADHybridHealthService/services/{serviceName}/exporterrors/counts`

## Request

- Base URL: `https://management.azure.com`
- URL: `https://management.azure.com/providers/Microsoft.ADHybridHealthService/services/{serviceName}/exporterrors/counts`
- Auth: OAuth 2
  - Implicit: `https://login.microsoftonline.com/common/oauth2/authorize`
  - Scopes: `user_impersonation`

Gets the count of latest AAD export errors.

## Path parameters

- `serviceName` string, required

## Query parameters

- `api-version` string, required

## Response `200`

The list of export errors.

- ErrorCounts: The list of error counts.
  - `value` ErrorCount[]: The value returned by the operation.
    - `errorBucket` string: The error bucket.
    - `count` integer: The error count.
    - `truncated` boolean: Indicates if the error count is truncated or not.

---

[API](https://skmtc.dev/azure/apis/adhybridhealthservice.md) - [All operations](https://skmtc.dev/azure/apis/adhybridhealthservice/llms.txt) - [OpenAPI document](https://skmtc.dev/azure/apis/adhybridhealthservice/revisions/35cb734a789a?raw)
