---
title: "GET /{scope}/providers/Microsoft.CustomProviders/associations/{associationName}"
method: GET
path: "/{scope}/providers/Microsoft.CustomProviders/associations/{associationName}"
tags: ["Associations"]
---

# GET /{scope}/providers/Microsoft.CustomProviders/associations/{associationName}

`GET /{scope}/providers/Microsoft.CustomProviders/associations/{associationName}`

Get an association.

## Path parameters

- `scope` string, required
- `associationName` string, required

## Query parameters

- `api-version` string, required

## Response `200`

OK. Returns association.

- Association — The resource definition of this association.
  - `id` string — The association id.
  - `name` string — The association name.
  - `type` string — The association type.
  - `properties` object — The properties of the association.
    - `targetResourceId` string — The REST resource instance of the target resource for this association.
    - `provisioningState` 'Accepted' | 'Deleting' | 'Running' | 'Succeeded' | 'Failed' — The provisioning state of the association.

## Other responses

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

---

[API](https://skmtc.net/azure/apis/customproviders.md) · [All operations](https://skmtc.net/azure/apis/customproviders/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/customproviders/versions/9642048d6ded/schema)
