---
title: "Create Azure Data Source"
method: POST
path: "/v1/dataSources/azure"
tags: ["Cloud"]
---

# Create Azure Data Source

`POST /v1/dataSources/azure`

Create a new data source from Azure data. Returns a jobId that can be used to check the status of the operation through the Get "Create Azure Data Source" Job Status endpoint.

## Request body

- CreateAzureDataSourceRequest
  - `name` string, required — The name to give the data source
  - `azureCredentialId` string — Azure credential ID
  - `tenantId` string, uuid, required — The ID of the Azure directory which contains the data from which to create the data source
  - `subscriptionIds` string[], required — The IDs of the subscriptions which contain the data from which to create the data source
  - `resourceSelection` string[], required — The Azure resources to include in the data source. Use the "Get Fully Supported Azure Resources" endpoint to see a list of all supported resources.

## Response `202`

Accepted. Occurs when the creation job has been queued.

- JobReferenceIdResponse
  - `jobId` string, required — Unique identifier for an asynchronous job

## Other responses

- `400` — Bad Request. Occurs when no file is found or the file is invalid.

---

[API](https://skmtc.net/lucid/apis/lucid-rest-api.md) · [All operations](https://skmtc.net/lucid/apis/lucid-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lucid/lucid-rest-api/revisions/6a32cb9e1aa7/schema)
