---
title: "GET /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/customers"
method: GET
path: "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/customers"
tags: ["Customers"]
---

# GET /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/customers

`GET /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/customers`

## Request

- Base URL: `https://management.azure.com`
- URL: `https://management.azure.com/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/customers`
- Auth: OAuth 2
  - Implicit: `https://login.microsoftonline.com/common/oauth2/authorize`
  - Scopes: `user_impersonation`

Lists the customers that are billed to a billing profile. The operation is supported only for billing accounts with agreement type Microsoft Partner Agreement.

## Path parameters

- `billingAccountName` string, required
- `billingProfileName` string, required

## Query parameters

- `api-version` string, required
- `$filter` string
- `$skiptoken` string

## Response `200`

OK. The request has succeeded.

- CustomerListResult: The list of customers.
  - `value` Customer[]: The list of customers.
    - `id` string: Resource Id.
    - `name` string: Resource name.
    - `type` string: Resource type.
    - `properties` CustomerProperties: The properties of a customer.
      - `displayName` string: The name of the customer.
      - `enabledAzurePlans` AzurePlan[]: Azure plans enabled for the customer.
        - `skuId` string: The sku id.
        - `skuDescription` string: The sku description.
      - `resellers` Reseller[]: The list of resellers for which an Azure plan is enabled for the customer.
        - `resellerId` string: The MPN ID of the reseller.
        - `description` string: The name of the reseller.
  - `nextLink` string: The link (url) to the next page of results.

## Other responses

- `default`: Error response describing why the operation failed.

## Changes

- **2019-08-14** (2019-10-01-preview) `4ff6e8983572`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/azure/apis/billingmanagementclient/changes/providers/Microsoft.Billing/billingAccounts/:billingAccountName/billingProfiles/:billingProfileName/customers/get.md)

---

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