How to export/import with private endpoints via AzDF ?

OGINTZ Marina 175 Reputation points
2025-04-08T17:26:30.6333333+00:00

Hi,

I'm trying to create a pipeline that I could trigger it and export a bacpac.

I don't want anything manual.

Any activity can work via DF : Rest api, azure function app.

Anything that could work via private endpoint without manual work.

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,437 questions
{count} votes

Accepted answer
  1. Chandra Boorla 11,670 Reputation points Microsoft External Staff
    2025-04-08T17:47:20.92+00:00

    @OGINTZ Marina

    To achieve a fully automated .bacpac export via Azure Data Factory (ADF) without any manual steps, and ensure it works entirely over private endpoints, here's a recommended approach:

    Since ADF doesn't have a built-in activity to export .bacpac files, we can leverage either of the following:

    Azure Function Activity

    Create an Azure Function that calls the Azure SQL Export REST API to export the .bacpac to Azure Blob Storage.

    Integrate the Function App with your VNet to route via private endpoint.

    Trigger this function using an Azure Function Activity in ADF.

    Web Activity (Direct REST API Call)

    Use ADF’s Web activity to call the Azure SQL Export REST API directly.

    This requires configuring proper authentication (e.g., managed identity).

    Ensure the ADF Integration Runtime is running inside a Managed VNet or a Self-hosted IR with access to your private endpoints.

    Private Endpoint Compatibility

    Both methods above can work via private endpoints if:

    Your SQL Server, Blob Storage, and (if used) Function App are configured with private endpoints.

    Your ADF Integration Runtime is within the same VNet or peered network.

    No Manual Work

    Once the setup is done:

    • The ADF pipeline can be triggered manually, on schedule, or by event.
    • The .bacpac will automatically be exported and saved to blob storage — no manual intervention needed.

    For additional information, please refer the following thread:

    I hope this information helps. Please do let us know if you have any further queries.

    Kindly consider upvoting the comment if the information provided is helpful. This can assist other community members in resolving similar issues.

    Thank you.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.