---
title: "GET /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/agreements/{agreementName}"
method: GET
path: "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/agreements/{agreementName}"
tags: ["Agreements"]
---

# GET /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/agreements/{agreementName}

`GET /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/agreements/{agreementName}`

## Request

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

Gets an agreement by ID.

## Path parameters

- `billingAccountName` string, required
- `agreementName` string, required

## Query parameters

- `api-version` string, required
- `$expand` string

## Response `200`

OK. The request has succeeded.

- Agreement: An agreement.
  - `id` string: Resource Id.
  - `name` string: Resource name.
  - `type` string: Resource type.
  - `properties` AgreementProperties: The properties of an agreement.
    - `agreementLink` string: The URL to download the agreement.
    - `category` 'MicrosoftCustomerAgreement' | 'AffiliatePurchaseTerms' | 'Other': The category of the agreement signed by a customer.
    - `acceptanceMode` 'ClickToAccept' | 'ESignEmbedded' | 'ESignOffline': The mode of acceptance for an agreement.
    - `effectiveDate` string, date-time: The date from which the agreement is effective.
    - `expirationDate` string, date-time: The date when the agreement expires.
    - `participants` Participants[]: The list of participants that participates in acceptance of an agreement.
      - `status` string: The acceptance status of the participant.
      - `statusDate` string, date-time: The date when the status got changed.
      - `email` string: The email address of the participant.
    - `status` string: The current status of the agreement.

## Other responses

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

---

[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)
