Уреди

Делите путем


Quickstart: Share data using Azure Data Share in the Azure portal

In this quickstart, you'll learn how to set up a new Azure Data Share to share data from storage account using the Azure portal.

Prerequisites

  • Azure Subscription: If you don't have an Azure subscription, create a free account before you begin.
  • Your recipient's Azure sign in e-mail address (using their e-mail alias won't work).
  • If the source Azure data store is in a different Azure subscription than the one you'll use to create Data Share resource, register the Microsoft.DataShare resource provider in the subscription where the Azure data store is located.

Share from a storage account

  • An Azure Storage account: If you don't already have one, you can create an Azure Storage account
  • Permission to write to the storage account, which is present in Microsoft.Storage/storageAccounts/write. This permission exists in the Contributor role.
  • Permission to add role assignment to the storage account, which is present in Microsoft.Authorization/role assignments/write. This permission exists in the Owner role.

Create a Data Share Account

Create an Azure Data Share resource in an Azure resource group.

  1. Sign in to the Azure portal.

  2. Select the Create a resource button (+) in the upper-left corner of the portal.

  3. Search for Data Share.

  4. Select Data Share and Select Create.

  5. Fill out the basic details of your Azure Data Share resource with the following information.

    Setting Suggested value Field description
    Subscription Your subscription Select the Azure subscription that you want to use for your data share account.
    Resource group test-resource-group Use an existing resource group or create a new resource group.
    Location East US 2 Select a region for your data share account.
    Name datashareaccount Specify a name for your data share account.
  6. Select Review + create, then Create to create your data share account. Creating a new data share account typically takes about 2 minutes or less.

  7. When the deployment is complete, select Go to resource.

Create a Share

  1. Navigate to your Data Share Overview page.

    Share your data

  2. Select Start sharing your data.

  3. Select Create.

  4. Fill out the details for your share. Specify a name, share type, description of share contents, and terms of use (optional).

    EnterShareDetails

  5. Select Continue.

  6. To add Datasets to your share, select Add Datasets.

    Add Datasets to your share

  7. Select the dataset type that you would like to add. You'll see a different list of dataset types depending on the share type (snapshot or in-place) you've selected in the previous step.

    AddDatasets

  8. Navigate to the object you would like to share and select 'Add Datasets'.

    SelectDatasets

  9. In the Recipients tab, enter in the email addresses of your Data Consumer by selecting '+ Add Recipient'.

    AddRecipients

  10. Select Continue.

  11. If you have selected snapshot share type, you can configure snapshot schedule to provide updates of your data to your data consumer.

    EnableSnapshots

  12. Select a start time and recurrence interval.

  13. Select Continue.

  14. In the Review + Create tab, review your Package Contents, Settings, Recipients, and Synchronization Settings. Select Create.

Your Azure Data Share has now been created and the recipient of your Data Share is now ready to accept your invitation.

Clean up resources

When the resource is no longer needed, go to the Data Share Overview page, and select Delete to remove it.

Next steps

In this quickstart, you learned how to create an Azure Data Share. To learn about how a Data Consumer can accept and receive a data share, continue to the accept and receive data tutorial.