---
title: "POST /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/fetchAllSubscriptionsInTenant"
method: POST
path: "/providers/Microsoft.Marketplace/privateStores/{privateStoreId}/fetchAllSubscriptionsInTenant"
tags: ["PrivateStores"]
---

# POST /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/fetchAllSubscriptionsInTenant

`POST /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/fetchAllSubscriptionsInTenant`

## Request

- Base URL: `https://management.azure.com`
- URL: `https://management.azure.com/providers/Microsoft.Marketplace/privateStores/{privateStoreId}/fetchAllSubscriptionsInTenant`
- Auth: none declared

Fetch all subscriptions in tenant, only for marketplace admin

## Path parameters

- `privateStoreId` string, required

## Query parameters

- `api-version` string, required

## Headers

- `next-page-token` string

## Response `200`

OK. The request has succeeded.

- SubscriptionsResponse: Subscription list operation response.
  - `value` Subscription[]: An array of subscriptions.
    - `id` string: The fully qualified ID for the subscription. For example, /subscriptions/00000000-0000-0000-0000-000000000000.
    - `subscriptionId` string: The subscription ID.
    - `displayName` string: The subscription display name.
    - `state` 'Enabled' | 'Warned' | 'PastDue' | 'Disabled' | 'Deleted': The subscription state. Possible values are Enabled, Warned, PastDue, Disabled, and Deleted.
  - `skipToken` string: The skip token to retrieve the next page.
  - `count` integer: Number of subscriptions on the page

## Other responses

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

## Changes

- **2026-07-13** (2020-01-01) `664e71f176b6`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/azure/apis/marketplace-microsoft-marketplace-marketplace/changes/providers/Microsoft.Marketplace/privateStores/:privateStoreId/fetchAllSubscriptionsInTenant/post.md)

---

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