Reputation: 11
I had some redundant databases in my Azure subscription that also had redundant pipelines in my Dev Data Factory. I deleted these databases, deleted the linked services and the activities that were referencing them in my factory, however I am unable to publish these changes or revert them. I get the below error when trying to publish.
Pending changes
Publish branch
✓ Pipelines
DBI_Update_Definition_Cha... (Edited)
adf_publish
BI_Update_Definition_Change_Tracki...
Linked services
AzureSynapseArtifactst
(Deleted)
AzureSynapseArtifacts1
DW staging
(Deleted)
DW_staging
PROD_ETL
(Deleted)
PROD_ETL
Detailed publish errors
X
Errors
(X)
Invalid references or dependencies found. This is likely due to publishing outside of Git mode or editing and deleting linked services in other branches. To recover from this state, please refer to the errors below and our Git troubleshooting guide
BI - Update Definition Change Tracking
Unable to delete 'PROD_ETL' because it is being referenced by 'BI - Update Definition Change Tracking'. Please ensure 'BI - Update Definition Change Tracking' is not referencing 'PROD_ETL' in Git and data factory mode.
My factory is connected to a DevOps repo, but there are currently no branches set up apart from master branch, so I really don't understand what the issue is.
Could you please help?
Thanks
Diana
I went back to the pipeline that was referencing the 2 redundant linked services and checked that I had indeed removed the dependency.
I went against the normal process of deploying to prod and removed these linked services and the pipeline activities directly from prod and it allowed me to publish in prod.
Upvotes: 1
Views: 62