Forum Discussion

Jing1018's avatar
Jing1018
Icon for Microsoft Employee rankMicrosoft Employee
1 year ago
Solved

Copy Data into a new Kusto table

Hi,   I'm trying to use the “Copy Data” activity in a Fabric pipeline to execute a Kusto query and write the results to a temporary Kusto table created on-the-fly. However, the pipeline fails with ...
  • Jing1018's avatar
    Jing1018
    11 months ago

    I ended up replacing the original KQL activity with the following sequence:

    • A Lookup activity to retrieve the schema of the incoming table
    • A KQL activity to drop the table if it already exists
    • A KQL activity to create an empty table
    • A Copy Data activity to populate the table with content

    While this approach isn't fully compliant—since not all activities are workspace identity (WI) based—it’s still an improvement over the previous setup. At least the activities that interact with external databases, namely Lookup and Copy Data, are WI-based.