---
title: "GET /accounts/{accountId}"
method: GET
path: "/accounts/{accountId}"
---

# GET /accounts/{accountId}

`GET /accounts/{accountId}`

Get details of the Azure resource mapped to an account for the given account id. Authorization required is Bearer JWT Access token provided by EntraID.

## Path parameters

- `accountId` string, required

## Query parameters

- `api-version` string, required

## Headers

- `x-ms-client-request-id` string, uuid

## Response `200`

The request has succeeded.

- MicrosoftPlaywrightTestingSharedAccount — An account is a parent resource for most of the other service resources. It's directly mapped to an Azure resource.
  - `id` string, required — The account id.
  - `resourceId` string, required — The fully-qualified Azure resource id for the account.
  - `name` string, required — The account name.
  - `state` 'Active' | 'Inactive', required — The account state.
  - `subscriptionId` string, uuid, required — Universally Unique Identifier
  - `subscriptionState` 'Registered' | 'Warned' | 'Suspended' | 'Deleted' | 'Unregistered', required — The Azure subscription state.
  - `tenantId` string, uuid, required — Universally Unique Identifier
  - `location` string, required — The account resource location in Azure, for eg. eastus, southeastasia.
  - `regionalAffinity` 'Enabled' | 'Disabled' — This property sets the connection region for Playwright client workers to cloud-hosted browsers. If enabled, workers connect to browsers in the closest Azure region, ensuring lower latency. If disabled, workers connect to browsers in the Azure region in which the workspace was initially created.
  - `scalableExecution` 'Enabled' | 'Disabled' — When enabled, Playwright client workers can connect to cloud-hosted browsers. This can increase the number of parallel workers for a test run, significantly minimizing test completion durations.
  - `reporting` 'Enabled' | 'Disabled' — When enabled, this feature allows the workspace to upload and display test results, including artifacts like traces and screenshots, in the Playwright portal. This enables faster and more efficient troubleshooting.
  - `localAuth` 'Enabled' | 'Disabled' — When enabled, this feature allows the workspace to use local auth (through service access token) for executing operations.

## Other responses

- `default` — An unexpected error response.

## Changes

- **2026-07-13** (2023-10-01-preview) `8d0776959d03` — 1 info
  - api operation id `Accounts_GetAccount` removed and replaced with `Accounts_Get`
- **2023-08-30** (2023-10-01-preview) `79448ffd9815` — 1 info
  - api operation id `Accounts_Get` removed and replaced with `Accounts_GetAccount`

[Change history](https://skmtc.dev/azure/apis/playwrighttesting-microsoft-playwrighttesting-authmanager/changes/accounts/:accountId/get.md)

---

[API](https://skmtc.dev/azure/apis/playwrighttesting-microsoft-playwrighttesting-authmanager.md) · [All operations](https://skmtc.dev/azure/apis/playwrighttesting-microsoft-playwrighttesting-authmanager/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/playwrighttesting-microsoft-playwrighttesting-authmanager/revisions/8d0776959d03/schema)
