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

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

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

## Request

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

Gets a role assignment for the caller on a enrollment Account. The operation is supported only for billing accounts with agreement type Enterprise Agreement.

## Path parameters

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

## Query parameters

- `api-version` string, required

## Response `200`

OK. The request has succeeded.

- BillingRoleAssignment: The role assignment
  - `id` string: Resource Id.
  - `name` string: Resource name.
  - `type` string: Resource type.
  - `properties` BillingRoleAssignmentProperties: The properties of the role assignment.
    - `createdOn` string: The date the role assignment was created.
    - `createdByPrincipalTenantId` string: The tenant Id of the user who created the role assignment.
    - `createdByPrincipalId` string: The principal Id of the user who created the role assignment.
    - `createdByUserEmailAddress` string: The email address of the user who created the role assignment. This is supported only for billing accounts with agreement type Enterprise Agreement.
    - `name` string: The name of the role assignment.
    - `principalId` string: The principal id of the user to whom the role was assigned.
    - `principalTenantId` string: The principal tenant id of the user to whom the role was assigned.
    - `roleDefinitionId` string: The ID of the role definition.
    - `scope` string: The scope at which the role was assigned.
    - `userEmailAddress` string: The email address of the user to whom the role was assigned. This is supported only for billing accounts with agreement type Enterprise Agreement.
    - `userAuthenticationType` string: The authentication type of the user, whether Organization or MSA, of the user to whom the role was assigned. This is supported only for billing accounts with agreement type Enterprise Agreement.

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