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

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

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

## Request

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

Gets the definition for a role on an enrollment account. The operation is supported only for billing accounts with agreement type Enterprise Agreement.

## Path parameters

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

## Query parameters

- `api-version` string, required

## Response `200`

OK. The request has succeeded.

- BillingRoleDefinition: The properties of a role definition.
  - `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

## 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/:billingRoleDefinitionName/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)
