Skip to main content
API · Discovery POST /api/v1/discovery-sources Requires the GV.APIOwner application role, or a higher role (Owner > Contributor > Reader). Operation ID · create_discovery_source

Request example

Authentication and access

  • Required role: GV.APIOwner
  • Data classification: metadata
  • Side effects: configurationWrite
Use an authentication scheme declared below. Ordinary workloads use application tokens; signed-in users use delegated tokens and Organization membership. Activation and invitation acceptance require a person, and execution callbacks require their registered identity.
  • Microsoft Entra delegated user token
  • Microsoft Entra application token

Parameters

Idempotency-Key

header Required Required caller-chosen retry identity. Use 1-128 visible ASCII characters and reuse it only for an exact retry of this request. string minimum length: 1 · maximum length: 128

Request body

Required

application/json

AdfDiscoverySourceCreate | FabricDiscoverySourceCreate Any of Option 1: AdfDiscoverySourceCreate Schema AdfDiscoverySourceCreate object Properties factoryName— Required string minimum length: 3 · maximum length: 63 kind— Required string
  • Constant: "adfFactory"
name— Required string minimum length: 1 · maximum length: 255 resourceGroup— Required string minimum length: 1 · maximum length: 90 subscriptionId— Required string (uuid) Additional properties are not allowed. Schema example
Option 2: FabricDiscoverySourceCreate Schema FabricDiscoverySourceCreate object Properties kind— Required string
  • Constant: "fabricWorkspace"
name— Required string minimum length: 1 · maximum length: 255 workspaceId— Required string (uuid) Additional properties are not allowed. Schema example
Examples Register an Azure Data Factory · adfFactory
Register a Microsoft Fabric workspace · fabricWorkspace

Responses

This guide summarizes response status codes and headers. Retrieve the deployed, authenticated OpenAPI document for the exact response body schemas and examples. The API also provides an authenticated Swagger UI; opening it in a browser does not automatically attach a bearer token. Error responses use application/problem+json. The response’s stable code and type map to the error-code reference.

201

Discovery Source registered.

Headers

  • ETag: string
  • Idempotency-Replayed: boolean
  • Location: string

401

A valid Microsoft Entra bearer token is required.

403

The authenticated principal does not have the required role.

404

The resource does not exist in this tenant.

409

The operation conflicts with current resource or Azure state.

422

The request is syntactically valid but semantically invalid.

429

The bounded application request rate was exceeded.

Headers

  • Retry-After: Seconds to wait before retrying. integerminimum: 1

503

A required dependency is temporarily unavailable.

Headers

  • Retry-After: Seconds to wait before retrying. integerminimum: 1