---
title: "POST /providers/Microsoft.AppComplianceAutomation/listInUseStorageAccounts"
method: POST
path: "/providers/Microsoft.AppComplianceAutomation/listInUseStorageAccounts"
tags: ["AppComplianceAutomation"]
---

# POST /providers/Microsoft.AppComplianceAutomation/listInUseStorageAccounts

`POST /providers/Microsoft.AppComplianceAutomation/listInUseStorageAccounts`

List the storage accounts which are in use by related reports

## Parameters

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

## Request body

- ListInUseStorageAccountsRequest — Parameters for listing in use storage accounts operation. If subscription list is null, it will check the user's all subscriptions.
  - `subscriptionIds` string[] — List of subscription ids to be query. If the list is null or empty, the API will query all the subscriptions of the user.

## Response `200`

Azure operation completed successfully.

- ListInUseStorageAccountsResponse — Parameters for listing in use storage accounts operation. If subscription list is null, it will check the user's all subscriptions.
  - `storageAccountList` StorageInfo[] — The storage account list which in use in related reports.
    - `subscriptionId` string — The subscription id which 'bring your own storage' account belongs to
    - `resourceGroup` string — The resourceGroup which 'bring your own storage' account belongs to
    - `accountName` string — 'bring your own storage' account name
    - `location` string — The region of 'bring your own storage' account

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.net/azure/apis/appcomplianceautomation-microsoft-appcomplianceautomation.md) · [All operations](https://skmtc.net/azure/apis/appcomplianceautomation-microsoft-appcomplianceautomation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/appcomplianceautomation-microsoft-appcomplianceautomation/revisions/c05a04032cee/schema)
