Hi Kunal Kishore,
Thanks for reaching out to Microsoft Q&A.
Synapse and ADF now support a feature that allows you to deactivate activities directly within the pipeline. You can set the activity state to "Inactive," which will exclude it from execution during pipeline runs. This can be done either through the activity's properties or by right-clicking on the activity to deactivate multiple at once.
https://learn.microsoft.com/en-us/azure/data-factory/deactivate-activity
https://microsoft-bitools.blogspot.com/2023/06/synapse-and-adf-pipeline-snack-disable.html
Control Table with If Condition:
While you mentioned that using an If condition with a control table seems complex, this can still be effective. By checking a control table's status, you can dynamically decide whether to execute or skip certain activities within your pipeline based on external conditions.
PowerShell Command:
Use azure PowerShell commands to manage pipeline activities. This allows you to programmatically enable or disable activities based on specific conditions or during deployments. The relevant commands would involve using the adf module to update the activity state in your pipeline.
apart from all the above, you can also consider using deployment scripts that can automatically adjust the activity states as part of your deployment process. This can integrate with CI/CD pipelines to ensure that activities are appropriately enabled or disabled during deployments.
Please 'Upvote'(Thumbs-up) and 'Accept' as an answer if the reply was helpful. This will benefit other community members who face the same issue.