Skip to content

Dataset Source - Microsoft Azure Blob Storage

Attach Blob Storage Container

You can easily attach a Microsoft Azure Blob Storage container to your project -

  1. Add the Azure Tenant ID.
  2. Add the Azure Storage Account Name.
  3. Add the Azure Blob Storage container name.
  4. Add a folder prefix (optional).
  5. Add permissions in your Azure Container Bucket as outlined, Add Permission for Azure MD.ai Application section introduces how to add permission in detail.
  6. Confirm Container permissions once added.
  7. Press Connect.

dataset-azure-create.gif

Add Permission for Azure MD.ai Application

MD.ai service uses Azure MD.ai application [Application ID: db45952b-287b-443a-8509-9402266814db] to load data from Azure Blob Storage container, it is required to add proper role assignment for it. You can also click Role Assignment Update Guide button to check how to add permission when edit dataset.

There are two steps to add permission:

dataset-azure-role-assignment-guide.gif

Click link in Role Assignment Update Guide panel and consent Azure MD.ai application to the tenant.

Note

You need proper Tenant role to consent application.

dataset-azure-consent-application.gif

After consent, Azure MD.ai Application would in the tenant's Enterprise Applications list.

dataset-azure-after-consent-application.png

Step 2: Add Role for Application

Add Storage Blob Data Reader role for Azure MD.ai application which consent in Step 1. The Role Assignment Update Guide panel provides an Azure CLI template, replace some mock IDs (MDAI_APPLICATION_OBJECT_ID_IN_YOUR_TENANT, YOUR_SUBSCRIPTION_ID, YOUR_RESOURCE_GROUP_NAME) with your own ones, and execute the command to add required role assignment.

dataset-azure-sample-az-cli.gif

For required MD.ai application Object ID (MDAI_APPLICATION_OBJECT_ID_IN_YOUR_TENANT), you can find it in the tenant's Enterprise Applications list.

dataset-azure-mdai-application-id.gif

Once role assignment is added, Azure MD.ai application would show up in associated Blob Storage container's Access Control (IAM) role assignments list.

dataset-azure-role-assignment-added.png