@Lockyer, Aaron (SGRE COG B MS SYS BSPM)
Welcome to the Microsoft Q&A forum.
It seems like you're dealing with a common challenge in Azure Data Factory (ADF) deployments. When moving from one environment to another (e.g., DEV to PROD), parameterization can indeed be tricky.
PLease check the below steps
- Parameterize Linked Services: Ensure that your linked services are properly parameterized. This allows you to pass dynamic values at runtime, which is crucial for different environments
- ARM Templates: Use Azure Resource Manager (ARM) templates for your deployments. These templates can be parameterized to replace values during deployment. You can define parameters in the ARM template and provide different values for each environment
- Global Parameters: Consider using global parameters in ADF. These parameters can be set at the factory level and can be overridden during deployment. This approach can help reduce manual intervention
- CI/CD Pipelines: In your CI/CD pipeline, you should replace the values in both the linked service and dataset. This can be done by defining the parameters in your ARM template and using the pipeline to pass the appropriate values for each environment
- JSON Files: If you need to make changes directly to the JSON files, ensure that the parameters are correctly defined and referenced. This might involve updating the JSON files to include the correct parameter values for each environment
- please check the helpful resources below:
:Parameterize linked services - Azure Data Factory & Azure Synapse
:CI/CD Azure Data Factory - Parameterization - best practices
:Custom parameters in a Resource Manager template - Azure Data Factoryhope the above steps will resolve the issue, please do let us know if issue persists. Thank you