---
title: "Validate Credentials for Azure"
method: POST
path: "/azure/setup/credentials/validation"
tags: ["Accounts"]
---

# Validate Credentials for Azure

`POST /azure/setup/credentials/validation`

Validate the credentials for connecting a Spot account to an Azure Cloud account. The validation will test the credentials without actually set it. Please notice to run the set credentials request to perform the set Azure account credentials (https://docs.flexera.com/spot/connect-your-cloud-provider/azure-account) .

## Parameters

- `#/paths/~1azure~1costs/get/parameters/0` — unresolved $ref

## Request body

- object
  - `clientId` string — Set the application ID
  - `clientSecret` string — Set the key secret
  - `tenantId` string — Set the directory ID
  - `subscriptionId` string — Set the subscription ID

## Response `200`

Validate Cloud Credentials for Azure Response

- object
  - `request` object — Original request properties
    - `id` string — Unique ID associated with this request
    - `url` string — The URL that was used for the request
    - `method` string — The HTTP **METHOD** used for the request
    - `timestamp` string — When the request was received by Spot
  - `response` object — Response package that includes, status, type and any relevant data.
    - `status` object
      - `code` integer — HTTP status code assigned to this response
      - `message` string — HTTP status message for the respective status code

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/spot/apis/spot-by-flexera-api.md) · [All operations](https://skmtc.net/spot/apis/spot-by-flexera-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/spot/spot-by-flexera-api/revisions/72813baf8d47/schema)
