---
title: "Get Elastic Organization To Azure Subscription Mapping details for the logged-in user."
method: POST
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Elastic/getElasticOrganizationToAzureSubscriptionMapping"
tags: ["UserOrganization"]
---

# Get Elastic Organization To Azure Subscription Mapping details for the logged-in user.

`POST /subscriptions/{subscriptionId}/providers/Microsoft.Elastic/getElasticOrganizationToAzureSubscriptionMapping`

Get Elastic Organization To Azure Subscription Mapping details for the logged-in user.

## Parameters

- `../../../../../../common-types/resource-management/v5/types.json#/components/parameters/ApiVersionParameter` — unresolved $ref
- `../../../../../../common-types/resource-management/v5/types.json#/components/parameters/SubscriptionIdParameter` — unresolved $ref

## Response `200`

Success

- ElasticOrganizationToAzureSubscriptionMappingResponse — The Azure Subscription ID to which the Organization of the logged in user belongs and gets billed into.
  - `properties` ElasticOrganizationToAzureSubscriptionMappingResponseProperties — The properties of Azure Subscription ID to which the Organization of the logged in user belongs and gets billed into.
    - `billedAzureSubscriptionId` string — The Azure Subscription ID to which the Organization belongs and gets billed into. This is empty for a new user OR a user without an Elastic Organization.
    - `marketplaceSaasInfo` MarketplaceSaaSInfo — Marketplace SAAS Info of the resource.
      - `marketplaceSubscription` object — Marketplace Subscription
        - `id` string — Marketplace Subscription Id. This is a GUID-formatted string.
      - `marketplaceName` string — Marketplace Subscription Details: SAAS Name
      - `marketplaceResourceId` string — Marketplace Subscription Details: Resource URI
      - `marketplaceStatus` string — Marketplace Subscription Details: SaaS Subscription Status
      - `billedAzureSubscriptionId` string — The Azure Subscription ID to which the Marketplace Subscription belongs and gets billed into.
      - `subscribed` boolean — Flag specifying if the Marketplace status is subscribed or not.
    - `elasticOrganizationId` string — The Elastic Organization Id.
    - `elasticOrganizationName` string — The Elastic Organization Name.

## Other responses

- `default` — Default error response.

## Changes

- **2026-07-13** (2020-07-01) `f26ebd7a2a28` — 2 warning
  - deleted the `path` request parameter `subscriptionId`
  - deleted the `query` request parameter `api-version`

[Change history](https://skmtc.dev/azure/apis/elastic-microsoft-elastic-elastic/changes/subscriptions/:subscriptionId/providers/Microsoft.Elastic/getElasticOrganizationToAzureSubscriptionMapping/post.md)

---

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