Edit

.NET SDKs for Microsoft Discovery

Microsoft Discovery provides .NET SDKs for data-plane and control-plane operations. Both packages are publicly available from NuGet and can be integrated into .NET applications.

SDK Package Use
Data plane Azure.AI.Discovery Interact with Microsoft Discovery resources and perform runtime operations, such as working with workspaces, investigations, tasks, tools, bookshelves, and knowledge bases.
Control plane Azure.ResourceManager.Discovery Provision, configure, and manage Microsoft Discovery resources through Azure Resource Manager (ARM).

Prerequisites

Before you use the SDKs, you need:

  • A .NET project.
  • An Azure subscription.
  • A Microsoft Entra identity with permissions for the operations that you want to perform.
  • For data-plane operations, an existing Microsoft Discovery workspace or bookshelf.
  • For control-plane operations, the Azure subscription ID that contains or will contain your Microsoft Discovery resources.

Install the SDKs

Install the data-plane SDK:

dotnet add package Azure.AI.Discovery --version 1.0.0-beta.1

Install the control-plane SDK:

dotnet add package Azure.ResourceManager.Discovery --version 1.0.0-beta.1

To authenticate with Microsoft Entra ID, install the Azure Identity client library:

dotnet add package Azure.Identity