This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Introduction
COPY INTO statement for Fabric Data Warehouse enables high-throughput data ingestion from various external sources like ADLS Gen 2 and Blob storage accounts protected by firewall. Additionally, it supports flexible configuration options, such as specifying source file formats, handling rejected rows, and skipping header rows, which enhances data management and ensures smooth, secure operations even with firewall-protected storage.
One of the challenges is that COPY INTO requires users to have “write” permissions in the control plane (minimum Contributor role at the workspace level), thereby requiring to grant broader permissions than needed.
The Solution: COPY INTO support for users with “read” permissions
To align with the principle of least privilege, we are excited to announce that now a user with minimum ‘read’ permissions on the control plane but with INSERT permissions on the target table on the data plane (SQL side) can execute the COPY INTO statement.
How it works
Step 1: Provide the user with “read” permissions in the control plane. This can be achieved by sharing a warehouse with a user (with no additional permissions). Alternatively, add the user as a viewer in the workspace (viewer gets “readData” permissions by default which will provide SELECT permissions on all tables and views within the Warehouse)
COPY_INTO_support_for_secure_storage_with_granular_permissions
Step 2: Provide granular write permissions in SQL in the data plane.
COPY_INTO_support_for_secure_storage_with_granular_permissions
Step 3: Execute COPY INTO now that the necessary permissions now in place, you're ready to begin importing your data. The user assigned can start ingesting data from ADLS Gen 2 account or Azure Blob storage account (public account or behind a firewall)
COPY_INTO_support_for_secure_storage_with_granular_permissions
For detailed information on the prerequisites and considerations for using COPY INTO, please refer to our documentation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.