---
title: "GET /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts/{enrollmentAccountName}/billingRoleDefinitions"
method: GET
path: "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts/{enrollmentAccountName}/billingRoleDefinitions"
tags: ["BillingRoleDefinitions"]
---

# GET /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts/{enrollmentAccountName}/billingRoleDefinitions

`GET /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts/{enrollmentAccountName}/billingRoleDefinitions`

## Request

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

Lists the role definitions for a enrollmentAccount. The operation is supported only for billing accounts with agreement type Enterprise Agreement.

## Path parameters

- `billingAccountName` string, required
- `enrollmentAccountName` string, required

## Query parameters

- `api-version` string, required

## Response `200`

OK. The request has succeeded.

- BillingRoleDefinitionListResult: The list of role definitions.
  - `value` BillingRoleDefinition[]: The role definitions.
    - `id` string: Resource Id.
    - `name` string: Resource name.
    - `type` string: Resource type.
    - `properties` BillingRoleDefinitionProperties: The properties of the a role definition.
      - `description` string: The role description
      - `permissions` BillingPermissionsProperties[]: The billingPermissions the role has
        - `actions` Action[]: The set of actions that the caller is allowed to perform.
        - `notActions` NotAction[]: The set of actions that the caller is not allowed to perform.
      - `roleName` string: The name of the role
  - `nextLink` string: The link (url) to the next page of results.

## Other responses

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

## Changes

- **2020-06-18** (2019-10-01-preview) `8f340ebd768c`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/azure/apis/billingmanagementclient/changes/providers/Microsoft.Billing/billingAccounts/:billingAccountName/enrollmentAccounts/:enrollmentAccountName/billingRoleDefinitions/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)
