---
title: "GET /subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/agreements"
method: GET
path: "/subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/agreements"
---

# GET /subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/agreements

`GET /subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/agreements`

## Request

- Base URL: `https://management.azure.com`
- URL: `https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/agreements`
- Auth: OAuth 2
  - Implicit: `https://login.microsoftonline.com/common/oauth2/authorize`
  - Scopes: `user_impersonation`

List marketplace agreements in the subscription.

## Path parameters

- `subscriptionId` string, required

## Query parameters

- `api-version` string, required

## Response `200`

Terms returned successfully

- OldAgreementTermsList: Agreement Terms definition list
  - `value` OldAgreementTerms[]
    - `id` string: Resource ID.
    - `name` string: Resource name.
    - `type` string: Resource type.
    - `properties` OldAgreementProperties: Old Agreement Terms definition
      - `id` string: A unique identifier of the agreement.
      - `publisher` string: Publisher identifier string of image being deployed.
      - `offer` string: Offer identifier string of image being deployed.
      - `signDate` string, date-time: Date and time in UTC of when the terms were accepted. This is empty if state is cancelled.
      - `cancelDate` string, date-time: Date and time in UTC of when the terms were cancelled. This is empty if state is active.
      - `state` 'Active' | 'Canceled': Whether the agreement is active or cancelled

## Other responses

- `default`: Microsoft.MarketplaceOrdering error response describing why the operation failed.

## Changes

- **2026-07-13** (2015-06-01) `def27490162c`: 1 info
  - removed the non-success response with the status `415`
- **2021-08-05** (2015-06-01) `50151c452026`: 1 info
  - added the non-success response with the status `415`
- **2019-03-05** (2015-06-01) `9dd0849b4b91`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/azure/apis/marketplaceordering-microsoft-marketplaceordering-marketplac/changes/subscriptions/:subscriptionId/providers/Microsoft.MarketplaceOrdering/agreements/get.md)

---

[API](https://skmtc.dev/azure/apis/marketplaceordering-microsoft-marketplaceordering-marketplac.md) - [All operations](https://skmtc.dev/azure/apis/marketplaceordering-microsoft-marketplaceordering-marketplac/llms.txt) - [OpenAPI document](https://skmtc.dev/azure/apis/marketplaceordering-microsoft-marketplaceordering-marketplac/revisions/def27490162c?raw)
