In Azure Data Factory (ADF), there is no built-in function specifically designed to generate a new GUID for every run of the pipeline. However, you can achieve this requirement by using an expression within ADF.
Here's an example of how you can generate a new free GUID using an expression in ADF:
- Open your ADF pipeline in the Azure portal.
- Select the activity where you want to generate the GUID, such as a copy activity.
- In the properties pane on the right, find the field where you want to assign the new GUID.
- Click on the field to open the expression builder.
- Use the expression
@guid()
to generate a new GUID.
For example, if you want to generate a new GUID for a pipeline parameter named "runId", you can set the default value using the expression guid